summaryrefslogtreecommitdiff
path: root/CHANGES.md
blob: 29e5de4ed3a14a8a39528c5bed44f55a7b845502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# What's new?

### Release 1.4.0 - ????-??-??

 - JRE 8 support is deprecated, JRE 11 or later is recommended

## Release 1.3.0 - 2021-09-01

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

   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.

 - Support to provide extra environment variables to CGIs:

```
// in virtual host
environment = { "VARIABLE": "VALUE" }
```
   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.

## Release 1.2.0 - 2021-07-20

 - Classic CGI support:

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

```

## Release 1.1.2 - 2021-03-02

 - Disable debug logging that was left on by mistake

## 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.

   If you have deployed SpaceBeans already, add these two entries to your cipher list:

```
    "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

## Release 1.1.0 - 2021-02-28

 - User directories support:

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

Won't check for the user on the system, it only translates requests based on the user specific root path.

For example:

```
gemini://host/~myuser/
```

Will use as root:

```
/home/myuser/public_gemini/
```

 - Support for directory listing per directory via `directories`:

```
// 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

## Release 1.0.1 - 2021-02-26

 - Support for JRE 8

## Release 1.0.0 - 2021-02-25

 - First public release