Skip to content

Commit

Permalink
Update the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Mar 11, 2024
1 parent e9cef85 commit fe1a5ea
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ modifying code to account for new releases.

[upgrading guide]: https://docs.rs/snafu/*/snafu/guide/upgrading/index.html

## [0.8.2] - 2023-03-11

### Fixed

- Adding a custom Whatever variant to a generic error enum is now
supported.

- The `#[report]` macro works better on functions that require more
complicated type inference for their return types.

[0.8.2]: https://github.com/shepmaster/snafu/releases/tag/0.8.2

## [0.8.1] - 2023-02-26

### Added
Expand Down Expand Up @@ -86,7 +98,7 @@ modifying code to account for new releases.

### Changed

- `Report` and the `[report]` macro now remove redundant parts from
- `Report` and the `#[report]` macro now remove redundant parts from
the messages that many errors duplicate from their underlying
sources.

Expand Down Expand Up @@ -178,15 +190,15 @@ with the [snafu-upgrade-assistant][].
- Formatting shorthand syntax for error type data fields is now supported:
`#[snafu(display("Hello {name}"))]`.

- `[snafu(module)]` can be specified on an error type. This will
- `#[snafu(module)]` can be specified on an error type. This will
create a module for the error type and all associated context
selectors will be placed in that module.

- `snafu::Location` can be added to an error type to provide
lightweight tracking of the source location where the error was
created.

- `[snafu(implicit)]` can be specified on context selector data fields
- `#[snafu(implicit)]` can be specified on context selector data fields
to automatically generate it via `snafu::GenerateImplicitData` when
the error is created.

Expand Down

0 comments on commit fe1a5ea

Please sign in to comment.