Bump version to 0.2.0 and update changelog

This commit is contained in:
Lukas Kalbertodt
2022-10-21 19:03:49 +02:00
parent 73796ae676
commit 324cedee47
3 changed files with 29 additions and 4 deletions

View File

@@ -6,6 +6,30 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
## [0.2.0] - 2022-10-21
### Added
- Add support for **array default values**, e.g. `#[config(default = [1, 2, 3])`
- Add support for **map default values**, e.g. `#[config(default = { "cat": 3, "dog": 5 })`
- **Add JSON5 support**
- Show environment variable key in config template
- Impl `PartialEq` for all `meta` items
- Impl `Serialize` for `meta::Expr`
### Changed
- **Breaking**: rename `{toml,yaml}::format` to `template`
- **Breaking**: make `FormatOptions` and some `meta` types `#[non_exhaustive]`
- Move to Rust 2021 (bumps MSRV to 1.56)
- Improved docs
### Fixed
- Fix type inference for float default values
- Fix name clash with generated helper functions
- Fix incorrect newlines for string default values in YAML config template
### Internal
- Rewrite large parts of the crate, mostly to deduplicate logic
- Add lots of tests
## [0.1.4] - 2022-10-14
### Fixed
- Derive attribute `env` can now be used together with `deserialize_with` (#2)
@@ -39,7 +63,8 @@ All notable changes to this project will be documented in this file.
- Everything.
[Unreleased]: https://github.com/LukasKalbertodt/confique/compare/v0.1.4...HEAD
[Unreleased]: https://github.com/LukasKalbertodt/confique/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/LukasKalbertodt/confique/compare/v0.1.4...v0.2.0
[0.1.4]: https://github.com/LukasKalbertodt/confique/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/LukasKalbertodt/confique/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/LukasKalbertodt/confique/compare/v0.1.1...v0.1.2

View File

@@ -1,6 +1,6 @@
[package]
name = "confique"
version = "0.1.4"
version = "0.2.0"
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
edition = "2021"
@@ -26,7 +26,7 @@ yaml = ["serde_yaml"]
[dependencies]
confique-macro = { version = "=0.0.4", path = "macro" }
confique-macro = { version = "=0.0.5", path = "macro" }
json5 = { version = "0.4.1", optional = true }
serde = { version = "1", features = ["derive"] }
serde_yaml = { version = "0.8", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "confique-macro"
version = "0.0.4"
version = "0.0.5"
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
edition = "2021"