kochab/CHANGELOG.md

35 lines
1.3 KiB
Markdown
Raw Normal View History

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-18 22:18:50 +00:00
- preliminary timeout API 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-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
- `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)