aboutsummaryrefslogtreecommitdiff
path: root/CHANGES.md
blob: 1476a632a93c6a6031d0ea6daaae6f126900db15 (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# What's new?

## Release 1.4.2 - 2024-10-??

 - Updated mill (development).

## Release 1.4.1 - 2024-08-09

 - Updated dependencies.

## Release 1.4.0 - 2024-04-20

 - Updated dependencies.
 - Removed auto-generated certificates functionality.

## Release 1.3.8 - 2024-01-29

 - Updated dependencies.

## Release 1.3.7 - 2023-10-14

 - Updates Scala version to 2.13.12.
 - Updated dependencies.
 - Updated mill (development).

## Release 1.3.6 - 2023-08-08

 - Updated dependencies.
 - Moved to Pekko (a fork of Akka) after Lightbend decided to change their licence model and abandon open source for new releases.

 - Updated mill (development) and scalafmt.

## Release 1.3.5 - 2022-12-01

 - Use 42 status code for CGI errors.
 - Updated dependencies.
 - Updated mill (development).

## Release 1.3.4 - 2022-04-16

 - Updated dependencies.
 - Internal refactoring preparing the service to support other protocols.

## Release 1.3.3 - 2022-01-14

 - Updated dependencies, this includes a fix for CVE-2021-42550 in logback-classic.

## Release 1.3.2 - 2022-01-02

 - Fix: CGI directories are now resolved from more to less specific, independently of their order in the configuration file. This covers cases where for example 'dir' and 'dir/sub' are both CGI enabled.

## Release 1.3.1 - 2021-11-24

 - JRE 8 support is deprecated, JRE 11 or later is recommended
 - 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.

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