Skip to content

Commit 324cede

Browse files
Bump version to 0.2.0 and update changelog
1 parent 73796ae commit 324cede

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@ All notable changes to this project will be documented in this file.
66
## [Unreleased]
77

88

9+
## [0.2.0] - 2022-10-21
10+
### Added
11+
- Add support for **array default values**, e.g. `#[config(default = [1, 2, 3])`
12+
- Add support for **map default values**, e.g. `#[config(default = { "cat": 3, "dog": 5 })`
13+
- **Add JSON5 support**
14+
- Show environment variable key in config template
15+
- Impl `PartialEq` for all `meta` items
16+
- Impl `Serialize` for `meta::Expr`
17+
18+
### Changed
19+
- **Breaking**: rename `{toml,yaml}::format` to `template`
20+
- **Breaking**: make `FormatOptions` and some `meta` types `#[non_exhaustive]`
21+
- Move to Rust 2021 (bumps MSRV to 1.56)
22+
- Improved docs
23+
24+
### Fixed
25+
- Fix type inference for float default values
26+
- Fix name clash with generated helper functions
27+
- Fix incorrect newlines for string default values in YAML config template
28+
29+
### Internal
30+
- Rewrite large parts of the crate, mostly to deduplicate logic
31+
- Add lots of tests
32+
933
## [0.1.4] - 2022-10-14
1034
### Fixed
1135
- 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.
3963
- Everything.
4064

4165

42-
[Unreleased]: https://github.com/LukasKalbertodt/confique/compare/v0.1.4...HEAD
66+
[Unreleased]: https://github.com/LukasKalbertodt/confique/compare/v0.2.0...HEAD
67+
[0.2.0]: https://github.com/LukasKalbertodt/confique/compare/v0.1.4...v0.2.0
4368
[0.1.4]: https://github.com/LukasKalbertodt/confique/compare/v0.1.3...v0.1.4
4469
[0.1.3]: https://github.com/LukasKalbertodt/confique/compare/v0.1.2...v0.1.3
4570
[0.1.2]: https://github.com/LukasKalbertodt/confique/compare/v0.1.1...v0.1.2

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "confique"
3-
version = "0.1.4"
3+
version = "0.2.0"
44
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
55
edition = "2021"
66

@@ -26,7 +26,7 @@ yaml = ["serde_yaml"]
2626

2727

2828
[dependencies]
29-
confique-macro = { version = "=0.0.4", path = "macro" }
29+
confique-macro = { version = "=0.0.5", path = "macro" }
3030
json5 = { version = "0.4.1", optional = true }
3131
serde = { version = "1", features = ["derive"] }
3232
serde_yaml = { version = "0.8", optional = true }

macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "confique-macro"
3-
version = "0.0.4"
3+
version = "0.0.5"
44
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
55
edition = "2021"
66

0 commit comments

Comments
 (0)