shepmaster/snafu (snafu)
### [`v0.7.4`](https://togithub.com/shepmaster/snafu/blob/HEAD/CHANGELOG.md#074---2022-12-19)
[Compare Source](https://togithub.com/shepmaster/snafu/compare/0.7.3...0.7.4)
##### Changed
- `Report` and the `[report]` macro now remove redundant parts from
the messages that many errors duplicate from their underlying
sources.
[0.7.4]: https://togithub.com/shepmaster/snafu/releases/tag/0.7.4
### [`v0.7.3`](https://togithub.com/shepmaster/snafu/blob/HEAD/CHANGELOG.md#073---2022-10-20)
[Compare Source](https://togithub.com/shepmaster/snafu/compare/0.7.2...0.7.3)
##### Fixed
- The macro no longer generates invalid code when implicitly-generated
types (such as backtraces) were used in conjunction with
`#[snafu(source(from))]` and the type before transformation does not
implement `std::error::Error`.
[0.7.3]: https://togithub.com/shepmaster/snafu/releases/tag/0.7.3
### [`v0.7.2`](https://togithub.com/shepmaster/snafu/blob/HEAD/CHANGELOG.md#072---2022-10-09)
[Compare Source](https://togithub.com/shepmaster/snafu/compare/0.7.1...0.7.2)
##### Added
- `Report` can be returned from `main` or test functions to provide a
user-friendly display of errors.
- A cheat sheet for the most common `#[snafu(...)]` attribute usages
has been added to the `Snafu` macro's documentation.
- Optional support for using the standard library's
`std::backtrace::Backtrace` type via the `backtraces-impl-std`
feature flag.
- Optional support for implementing the Provider API using the
`std::error::Error::provide` method via the `unstable-provider-api`
feature flag.
- Optional support for implementing the `core::error::Error` trait
instead of `std::error::Error` via the `unstable-core-error` feature
flag.
- `GenerateImplicitData` has a new method `generate_with_source`.
##### Changed
- `ErrorCompat::iter_chain` and `ChainCompat` are now available in
no_std environments.
- `ChainCompat` now implements `Clone`.
- The `Debug` implementation for `Location` no longer shows some
irrelevant internal details.
[0.7.2]: https://togithub.com/shepmaster/snafu/releases/tag/0.7.2
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.7.1
->0.7.4
Release Notes
shepmaster/snafu (snafu)
### [`v0.7.4`](https://togithub.com/shepmaster/snafu/blob/HEAD/CHANGELOG.md#074---2022-12-19) [Compare Source](https://togithub.com/shepmaster/snafu/compare/0.7.3...0.7.4) ##### Changed - `Report` and the `[report]` macro now remove redundant parts from the messages that many errors duplicate from their underlying sources. [0.7.4]: https://togithub.com/shepmaster/snafu/releases/tag/0.7.4 ### [`v0.7.3`](https://togithub.com/shepmaster/snafu/blob/HEAD/CHANGELOG.md#073---2022-10-20) [Compare Source](https://togithub.com/shepmaster/snafu/compare/0.7.2...0.7.3) ##### Fixed - The macro no longer generates invalid code when implicitly-generated types (such as backtraces) were used in conjunction with `#[snafu(source(from))]` and the type before transformation does not implement `std::error::Error`. [0.7.3]: https://togithub.com/shepmaster/snafu/releases/tag/0.7.3 ### [`v0.7.2`](https://togithub.com/shepmaster/snafu/blob/HEAD/CHANGELOG.md#072---2022-10-09) [Compare Source](https://togithub.com/shepmaster/snafu/compare/0.7.1...0.7.2) ##### Added - `Report` can be returned from `main` or test functions to provide a user-friendly display of errors. - A cheat sheet for the most common `#[snafu(...)]` attribute usages has been added to the `Snafu` macro's documentation. - Optional support for using the standard library's `std::backtrace::Backtrace` type via the `backtraces-impl-std` feature flag. - Optional support for implementing the Provider API using the `std::error::Error::provide` method via the `unstable-provider-api` feature flag. - Optional support for implementing the `core::error::Error` trait instead of `std::error::Error` via the `unstable-core-error` feature flag. - `GenerateImplicitData` has a new method `generate_with_source`. ##### Changed - `ErrorCompat::iter_chain` and `ChainCompat` are now available in no_std environments. - `ChainCompat` now implements `Clone`. - The `Debug` implementation for `Location` no longer shows some irrelevant internal details. [0.7.2]: https://togithub.com/shepmaster/snafu/releases/tag/0.7.2Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.