2020-11-14 01:19:13 +00:00
|
|
|
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
|
|
## [Unreleased]
|
2020-11-15 20:46:10 +00:00
|
|
|
### Added
|
|
|
|
- `document` API for creating Gemini documents
|
2020-11-19 17:37:41 +00:00
|
|
|
- preliminary timeout API, incl a special case for complex MIMEs by [@Alch-Emi](https://github.com/Alch-Emi)
|
2020-11-18 20:16:14 +00:00
|
|
|
- `Response::success_with_body` by [@Alch-Emi](https://github.com/Alch-Emi)
|
2020-11-18 20:29:21 +00:00
|
|
|
- `redirect_temporary_lossy` for `Response` and `ResponseHeader`
|
|
|
|
- `bad_request_lossy` for `Response` and `ResponseHeader`
|
2020-11-18 22:18:50 +00:00
|
|
|
- support for a lot more mime-types in `guess_mime_from_path`, backed by the `mime_guess` crate
|
2020-11-19 17:18:29 +00:00
|
|
|
- customizable TLS cert & key paths by [@Alch-Emi](https://github.com/Alch-Emi)
|
2020-11-19 17:35:06 +00:00
|
|
|
- `server_dir` default feature for serve_dir utils [@Alch-Emi](https://github.com/Alch-Emi)
|
|
|
|
### Improved
|
|
|
|
- build time and size by [@Alch-Emi](https://github.com/Alch-Emi)
|
2020-11-20 03:37:31 +00:00
|
|
|
### Changed
|
|
|
|
- Added route API [@Alch-Emi](https://github.com/Alch-Emi)
|
2020-11-20 04:52:34 +00:00
|
|
|
- API for adding handlers now accepts async handlers [@Alch-Emi](https://github.com/Alch-Emi)
|
2020-11-14 03:50:36 +00:00
|
|
|
|
|
|
|
## [0.3.0] - 2020-11-14
|
2020-11-14 01:19:13 +00:00
|
|
|
### Added
|
|
|
|
- `GEMINI_MIME_STR`, the `&str` representation of the Gemini MIME
|
2020-11-14 03:45:15 +00:00
|
|
|
- `Meta::new_lossy`, constructor that never fails
|
2020-11-14 01:54:34 +00:00
|
|
|
- `Meta::MAX_LEN`, which is `1024`
|
2020-11-14 01:19:13 +00:00
|
|
|
- "lossy" constructors for `Response` and `Status` (see `Meta::new_lossy`)
|
|
|
|
|
|
|
|
### Changed
|
2020-11-14 03:46:26 +00:00
|
|
|
- `Meta::new` now rejects strings exceeding `Meta::MAX_LEN` (`1024`)
|
2020-11-14 01:19:13 +00:00
|
|
|
- Some `Response` and `Status` constructors are now infallible
|
2020-11-14 02:56:50 +00:00
|
|
|
- Improve error messages
|
2020-11-14 01:19:13 +00:00
|
|
|
|
|
|
|
### Deprecated
|
|
|
|
- Instead of `gemini_mime()` use `GEMINI_MIME`
|
|
|
|
|
|
|
|
## [0.2.0] - 2020-11-14
|
|
|
|
### Added
|
2020-11-18 20:16:14 +00:00
|
|
|
- Access to client certificates by [@Alch-Emi](https://github.com/Alch-Emi)
|