Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update snafu requirement from 0.7 to 0.8 #5

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2024

Updates the requirements on snafu to permit the latest version.

Changelog

Sourced from snafu's changelog.

0.8.0 - 2023-12-28

Added

  • snafu(transparent) allows creating compound error types that act as if they were not present, delegating thier Display and Error implementations to the source error. This is useful when aggregating smaller errors that already completely explain the failure.

  • ResultExt::boxed and ResultExt::boxed_local are available to convert an error value into an owned trait object. This is useful when an error type is a generic controlled by the caller.

Changed

  • Rust 1.56 is now the minimum supported Rust version. This is a breaking change.

  • Rust 1.65 is now the default supported Rust version. This is a breaking change.

  • The item type of the ChainCompat iterator is now &'a (dyn Error + 'b) to allow downcasting the error trait object to a concrete type. This is a breaking change.

  • Error fields marked location are no longer automatically implicitly created. This is a breaking change.

  • Adding #[snafu] attributes to the field of a tuple struct are now errors. This is a breaking change.

  • The SNAFU copy of the Error trait now marks the description and cause methods as deprecated, following the standard library's example. This trait is only active when using SNAFU in a no_std environment and no functional difference is intended.

Removed

  • The default Display implementation no longer includes the error text of the source error. This is a breaking change.

  • The backtraces and unstable-backtraces-impl-std feature flags have been removed. This is a breaking change. The Backtrace type is now the standard library's Backtrace type when it is available.

Fixed

... (truncated)

Commits
  • db76cb3 Release 0.8.0
  • 509abf7 Merge pull request #428 from shepmaster/changelog
  • 1dc3d95 Update the changelog and upgrading guide in preparation for 0.8
  • 3fcc81a Merge pull request #432 from shepmaster/undo
  • 7b8e6a8 Revert "Allow yeeting context selectors to generate errors"
  • c1faaa8 Merge pull request #430 from shepmaster/our-error-deprecated
  • c5fe470 Mirror std Error's deprecated methods on our Error trait
  • bea7f27 Merge pull request #426 from shepmaster/std-backtrace
  • ae4679e Use std::backtrace::Backtrace as the default backtrace provider
  • a239d70 Merge pull request #427 from shepmaster/macro-doc-aliases
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [snafu](https://github.com/shepmaster/snafu) to permit the latest version.
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](shepmaster/snafu@0.7.0...0.8.0)

---
updated-dependencies:
- dependency-name: snafu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 1, 2024
@bachp bachp merged commit a239ef9 into master Jan 1, 2024
1 check passed
@dependabot dependabot bot deleted the dependabot/cargo/snafu-0.8 branch January 1, 2024 07:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant