CHANGES.md 2.33 KB
Newer Older
Juan J. Martínez's avatar
Juan J. Martínez committed
1
2
# What's new?

Juan J. Martínez's avatar
Juan J. Martínez committed
3
## Release 1.3.1 - 2021-11-24
Juan J. Martínez's avatar
Juan J. Martínez committed
4
5

 - JRE 8 support is deprecated, JRE 11 or later is recommended
6
 - Fix: according to RFC 3986, the host subcomponent is case-insensitive. Be aware that this also affects CGIs, and SERVER_NAME will use the value in the configuration.
Juan J. Martínez's avatar
Juan J. Martínez committed
7

Juan J. Martínez's avatar
Juan J. Martínez committed
8
## Release 1.3.0 - 2021-09-01
9

10
11
 - Fix: CGIs used as index file are now executed.

12
   For example, if the index file is `index.gmi` and CGI is enabled in the directory `dir`, a CGI with name `index.gmi` will be executed when accesing `gemini://host/dir/`. Before the fix, the file was served instead.
13

14
15
16
17
18
19
 - Support to provide extra environment variables to CGIs:

```
// in virtual host
environment = { "VARIABLE": "VALUE" }
```
20
   When executing a CGI, SapaceBeans provides a clean environment (other than the CGI variables). Any required environment variable must be specified using this configuration token.
21

Juan J. Martínez's avatar
Juan J. Martínez committed
22
23
24
25
26
27
28
29
30
31
32
33
## Release 1.2.0 - 2021-07-20

 - Classic CGI support:

```
// CGI enabled in ROOT/cgi-bin/
directories = [
    { path = "cgi-bin/", allow-cgi = true }
]

```

Juan J. Martínez's avatar
Juan J. Martínez committed
34
35
36
37
## Release 1.1.2 - 2021-03-02

 - Disable debug logging that was left on by mistake

Juan J. Martínez's avatar
Juan J. Martínez committed
38
39
40
41
42
43
## Release 1.1.1 - 2021-03-02

 - Fix: reviewed example configuration file to include TLS 1.3 ciphers

   This was preventing TLS 1.3 from being negotiated.

Juan J. Martínez's avatar
typo    
Juan J. Martínez committed
44
   If you have deployed SpaceBeans already, add these two entries to your cipher list:
Juan J. Martínez's avatar
Juan J. Martínez committed
45

Juan J. Martínez's avatar
Juan J. Martínez committed
46
47
48
49
50
51
52
53
54
55
56
```
    "TLS_AES_128_GCM_SHA256",
    "TLS_AES_256_GCM_SHA384"
```

   Remember to restart your service.

   See: https://wiki.mozilla.org/Security/Server_Side_TLS

 - Fix: avoid reverse lookups when logging

Juan J. Martínez's avatar
Juan J. Martínez committed
57
58
59
60
61
62
63
64
65
66
## Release 1.1.0 - 2021-02-28

 - User directories support:

```
// in virtual host
user-directories = true
user-directory-path = "/home/{user}/public_gemini/"
```

Juan J. Martínez's avatar
Juan J. Martínez committed
67
Won't check for the user on the system, it only translates requests based on the user specific root path.
Juan J. Martínez's avatar
Juan J. Martínez committed
68
69

For example:
Juan J. Martínez's avatar
Juan J. Martínez committed
70

Juan J. Martínez's avatar
Juan J. Martínez committed
71
72
73
74
75
```
gemini://host/~myuser/
```

Will use as root:
Juan J. Martínez's avatar
Juan J. Martínez committed
76

Juan J. Martínez's avatar
Juan J. Martínez committed
77
78
79
80
```
/home/myuser/public_gemini/
```

Juan J. Martínez's avatar
Juan J. Martínez committed
81
 - Support for directory listing per directory via `directories`:
Juan J. Martínez's avatar
Juan J. Martínez committed
82
83
84
85
86
87
88
89
90
91
92
93
94

```
// directory listing disabled for the virtual host
directory-listing = false

// but it is enabled for ROOT/directory/
directories = [
    { path = "directory/", directory-listing = true }
]
```

 - Removed some weight from the distribution bundle

Juan J. Martínez's avatar
Juan J. Martínez committed
95
96
97
98
## Release 1.0.1 - 2021-02-26

 - Support for JRE 8

Juan J. Martínez's avatar
Juan J. Martínez committed
99
## Release 1.0.0 - 2021-02-25
Juan J. Martínez's avatar
Juan J. Martínez committed
100

Juan J. Martínez's avatar
Juan J. Martínez committed
101
 - First public release
Juan J. Martínez's avatar
Juan J. Martínez committed
102