Skip to content

Commit ba86a18

Browse files
elboulangerojbkempf
authored andcommitted
Update CHANGELOG
1 parent 0435651 commit ba86a18

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

CHANGELOG.md

+33-5
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,51 @@
22

33
### FEATURES
44

5-
- Make per-mirror logs available on the CLI: `mirrorbits logs <mirrorname>` (#5)
6-
- New option (see FixTimezoneOffsets) to detect and automatically fix timezone shifts on mirrors (mostly for those using FTP).
5+
- New command `mirrorbits logs <mirrorname>` to make per-mirror logs available on the CLI (#5)
6+
- New command `mirrorbits geoupdate <mirrorname>` to update the geolocation of a mirror (#96)
7+
- New option `FixTimezoneOffsets` to detect and automatically fix timezone shifts on mirrors (mostly for those using FTP) (2d9d467)
8+
- New option `SameDownloadInterval` to avoid counting very close range downloads from a same source (#128)
9+
- New option `AllowHTTPToHTTPSRedirects` to allow (default) or disallow redirections of HTTP requests to HTTPS mirrors (d108400)
10+
- New option `AllowOutdatedFiles` to allow redirections to outdated files on the mirrors, under certain conditions (#85, #188)
11+
- Add support for `If-Modified-Since` aka. RFC-7232 (#169)
12+
- Support for HTTP+HTTPS mirrors:
13+
- so far, a mirror was defined as either HTTP or HTTPS, via the `HttpURL` field
14+
- now, it's possible to set a URL without a scheme (eg. `HttpURL: mirror.example.org/some/path/`), in that case mirrorbits performs two health checks (HTTP and HTTPS), and can redirect to either HTTP or HTTPS depending on the context
15+
- this "scheme-less" URL also works for the fallback mirrors defined in `mirrorbits.conf`
16+
- see Changes below for more changes related to this feature
717

818
### ENHANCEMENTS
919

1020
- Enforce checks on modtime based on FTP and rsync capabilities
11-
- Use `type=notify` in the systemd service file to indicate readiness of the http server
21+
- Use `type=notify` in the systemd service file to indicate readiness of the http server (#90)
1222
- Make unauthorized redirect errors more visible
23+
- Require HTTPS based on `X-Forwarded-Proto` header (this can still be overridden by the `?https` parameter) (#97)
24+
- Do not list disabled mirrors as down (#132)
25+
- Add Bash completion
1326

1427
### BUGFIXES
1528

16-
- Fixed a race condition in automatic mirror scan
29+
- Fix a race condition in automatic mirror scan
1730
- Restore case-insensitive mirror name matching on the CLI
31+
- Fix outdated entries in the LRU cache under certain conditions (#114)
1832

19-
### Changes
33+
### Changes to support HTTP+HTTPS mirrors
34+
35+
- This new version includes a **DATABASE UPGRADE**. You won't be able to roll back to a previous mirrorbits version after upgrading. The db upgrade should be fast.
36+
- Daemon logs: the protocol used for the health-check is now logged:
37+
- before: `<datetime> mirror.example.org Up! (509ms)`
38+
- after : `<datetime> mirror.example.org HTTPS Up! (509ms)`
39+
- Command `mirrorbits list`: for the STATE column, new values are possible for HTTP+HTTPS mirrors:
40+
- `up/down` if HTTP health-check succeeded but HTTPS health-check failed
41+
- `down/up` for the other way round
42+
- HTML templates have been updated to support HTTP+HTTPS mirrors. Make sure to use the latest templates `mirrorlist.html` and `mirrorstats.html`.
43+
44+
### Other Changes
2045

2146
- Use Go modules (Go 1.11+)
47+
- Downloads logs: the method of the request is now logged just before the path:
48+
- before: `<datetime> REDIRECT 302 "/README" [...]`
49+
- after : `<datetime> REDIRECT 302 GET "/README" [...]`
2250

2351
## v0.5.1
2452

0 commit comments

Comments
 (0)