Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ All notable changes to this project will be documented in this file.
### Added
- _Nothing yet._

## [0.6.0] - 2025-10-06

### Added
- Enabled the derive and template parser to understand the new formatter
specifier, keeping runtime rendering and compile-time diagnostics aligned with
`thiserror` while exposing the helper through `TemplateFormatterKind`.

### Tests
- Expanded the runtime formatter assertions and `trybuild` fixtures to cover the
new formatter branch, guarding both successful usage and descriptive error
messages.

### Documentation
- Documented the formatter addition across README variants and crate docs,
including updates to the formatter reference table and usage guidance.

## [0.5.13] - 2025-10-05

### Documentation
Expand Down Expand Up @@ -283,6 +299,7 @@ All notable changes to this project will be documented in this file.
- **MSRV:** 1.89
- **No unsafe:** the crate forbids `unsafe`.

[0.6.0]: https://github.com/RAprogramm/masterror/releases/tag/v0.6.0
[0.5.2]: https://github.com/RAprogramm/masterror/releases/tag/v0.5.2
[0.5.1]: https://github.com/RAprogramm/masterror/releases/tag/v0.5.1
[0.5.0]: https://github.com/RAprogramm/masterror/releases/tag/v0.5.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "masterror"
version = "0.5.13"
version = "0.6.0"
rust-version = "1.90"
edition = "2024"
license = "MIT OR Apache-2.0"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Stable categories, conservative HTTP mapping, no `unsafe`.

~~~toml
[dependencies]
masterror = { version = "0.5.13", default-features = false }
masterror = { version = "0.6.0", default-features = false }
# or with features:
# masterror = { version = "0.5.13", features = [
# masterror = { version = "0.6.0", features = [
# "axum", "actix", "openapi", "serde_json",
# "sqlx", "sqlx-migrate", "reqwest", "redis",
# "validator", "config", "tokio", "multipart",
Expand Down Expand Up @@ -66,10 +66,10 @@ masterror = { version = "0.5.13", default-features = false }
~~~toml
[dependencies]
# lean core
masterror = { version = "0.5.13", default-features = false }
masterror = { version = "0.6.0", default-features = false }

# with Axum/Actix + JSON + integrations
# masterror = { version = "0.5.13", features = [
# masterror = { version = "0.6.0", features = [
# "axum", "actix", "openapi", "serde_json",
# "sqlx", "sqlx-migrate", "reqwest", "redis",
# "validator", "config", "tokio", "multipart",
Expand Down Expand Up @@ -383,13 +383,13 @@ assert_eq!(resp.status, 401);
Minimal core:

~~~toml
masterror = { version = "0.5.13", default-features = false }
masterror = { version = "0.6.0", default-features = false }
~~~

API (Axum + JSON + deps):

~~~toml
masterror = { version = "0.5.13", features = [
masterror = { version = "0.6.0", features = [
"axum", "serde_json", "openapi",
"sqlx", "reqwest", "redis", "validator", "config", "tokio"
] }
Expand All @@ -398,7 +398,7 @@ masterror = { version = "0.5.13", features = [
API (Actix + JSON + deps):

~~~toml
masterror = { version = "0.5.13", features = [
masterror = { version = "0.6.0", features = [
"actix", "serde_json", "openapi",
"sqlx", "reqwest", "redis", "validator", "config", "tokio"
] }
Expand Down
4 changes: 2 additions & 2 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

~~~toml
[dependencies]
masterror = { version = "0.5.13", default-features = false }
masterror = { version = "0.6.0", default-features = false }
# или с нужными интеграциями
# masterror = { version = "0.5.13", features = [
# masterror = { version = "0.6.0", features = [
# "axum", "actix", "openapi", "serde_json",
# "sqlx", "sqlx-migrate", "reqwest", "redis",
# "validator", "config", "tokio", "multipart",
Expand Down
Loading