|
2 | 2 |
|
3 | 3 | ### FEATURES
|
4 | 4 |
|
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 |
7 | 17 |
|
8 | 18 | ### ENHANCEMENTS
|
9 | 19 |
|
10 | 20 | - 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) |
12 | 22 | - 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 |
13 | 26 |
|
14 | 27 | ### BUGFIXES
|
15 | 28 |
|
16 |
| -- Fixed a race condition in automatic mirror scan |
| 29 | +- Fix a race condition in automatic mirror scan |
17 | 30 | - Restore case-insensitive mirror name matching on the CLI
|
| 31 | +- Fix outdated entries in the LRU cache under certain conditions (#114) |
18 | 32 |
|
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 |
20 | 45 |
|
21 | 46 | - 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" [...]` |
22 | 50 |
|
23 | 51 | ## v0.5.1
|
24 | 52 |
|
|
0 commit comments