Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update Rust crate snafu to 0.8.0 - autoclosed #256

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 23, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
snafu dependencies minor 0.7.5 -> 0.8.0

Release Notes

shepmaster/snafu (snafu)

v0.8.3

Compare Source

Changed
  • Report now prints an "Error: " prefix when returned directly from
    main or tests.

  • Support heck version 0.5 in addition to 0.4.

v0.8.2

Compare Source

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.

v0.8.1

Compare Source

Added
  • Error types that use constant generics are now supported.

v0.8.0

Compare Source

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.


Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 23, 2024
@renovate renovate bot changed the title Update Rust crate snafu to 0.8.0 Update Rust crate snafu to 0.8.0 - autoclosed Jun 23, 2024
@renovate renovate bot closed this Jun 23, 2024
@renovate renovate bot deleted the renovate/snafu-0.x branch June 23, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants