Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 4, 2022

Bumps snafu from 0.6.10 to 0.7.0.

Changelog

Sourced from snafu's changelog.

[0.7.0] - XXXX-XX-XX

Added

  • A crate prelude containing common macros and traits can be imported via use snafu::prelude::*.

  • A ready-to-use error type Whatever is available to quickly start reporting errors with little hassle.

  • "Stringly typed" error cases can be added to existing error types, allowing you to construct errors without defining them first.

  • 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 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 to automatically generate it via snafu::GenerateImplicitData when the error is created.

  • ErrorCompat::iter_chain provides an iterator over the list of causal errors.

Changed

  • Generated context selectors now have the suffix Snafu. This is a breaking change.

  • ResultExt::with_context, TryFutureExt::with_context, and TryStreamExt::with_context now pass the error into the closure. This is a breaking change.

  • The GenerateBacktrace trait has been split into GenerateImplicitData and AsBacktrace. This is a breaking change.

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

Removed

  • String attribute parsing (#[snafu(foo = "...")]) is no longer

... (truncated)

Commits
  • a6aff99 Release 0.7.0
  • f16bb4c Merge pull request #319 from shepmaster/trybuild
  • 1865e17 Update tests for newer version of trybuild
  • b4cdc99 Merge pull request #317 from shepmaster/docs
  • c694dfa Document that Error is removed before making selector names
  • 321d6a4 Sync up changelog and upgrading guide
  • 86fabf9 Minor doc tweaks
  • b314d3e Release 0.7.0-beta.2
  • caece50 Update the changelog
  • e846c56 Merge pull request #295 from SamWilsn/derive-with-module
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Bumps [snafu](https://github.com/shepmaster/snafu) from 0.6.10 to 0.7.0.
- [Release notes](https://github.com/shepmaster/snafu/releases)
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](shepmaster/snafu@0.6.10...0.7.0)

---
updated-dependencies:
- dependency-name: snafu
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 4, 2022
@codecov
Copy link

codecov bot commented Jan 4, 2022

Codecov Report

Merging #96 (c314d14) into master (1d6bc9e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #96   +/-   ##
=======================================
  Coverage   41.18%   41.18%           
=======================================
  Files          13       13           
  Lines        2984     2984           
=======================================
  Hits         1229     1229           
  Misses       1755     1755           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d6bc9e...c314d14. Read the comment docs.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 3, 2022

Superseded by #115.

@dependabot dependabot bot closed this May 3, 2022
@dependabot dependabot bot deleted the dependabot/cargo/snafu-0.7.0 branch May 3, 2022 10:05
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.

1 participant