wasmerio / wasmer-go

🐹🕸️ WebAssembly runtime for Go
https://pkg.go.dev/github.com/wasmerio/wasmer-go
MIT License
2.84k stars 161 forks source link

chore(deps): bump thiserror from 1.0.26 to 1.0.35 #355

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps thiserror from 1.0.26 to 1.0.35.

Release notes

Sourced from thiserror's releases.

1.0.35

  • More work on integrating std::any::Provider for backtrace support
  • Fix "Multiple applicable provide methods in scope" error when the caller has both std::error::Error and std::any::Provide traits in scope (#185)

1.0.34

  • Tweak "generic member access" based Backtrace implementation (#184)

1.0.33

1.0.32

  • Add keywords to crates.io metadata

1.0.31

  • Improve diagnostic when there is an enum variant containing #[from] #[backtrace] Error, Backtrace (#163)

1.0.30

  • Make #[source] attribute usable on a field of type Box<dyn Error + Send + Sync + UnwindSafe + 'static> (#155, thanks @​cosmicexplorer)

1.0.29

  • Support error types containing generic type parameters (#148, #149, #150, #151)

    use thiserror::Error;
    

    #[derive(Error, Debug)] pub enum MyError<E, F, G> { #[error("thing {0} ({0:?})")] Variant(E), #[error("some error")] Delegate(#[source] SomeError<F>), #[error("err 0o{val:o}")] Octal { val: G }, }

    In the above example, thiserror would automatically generate the following pair of generic trait impls.

    impl<E, F, G> std::error::Error for MyError<E, F, G>
    where
        SomeError<F>: std::error::Error + 'static,
        Self: std::fmt::Debug + std::fmt::Display;
    

    impl<E, F, G> std::fmt::Display for MyError<E, F, G> where E: std::fmt::Debug + std::fmt::Display, G: std::fmt::Octal;

... (truncated)

Commits
  • 10ffe03 Release 1.0.35
  • 9be0f41 Merge pull request #191 from dtolnay/anyhowprovider
  • 1a90b77 Pull in Provider impl from anyhow 1.0.65
  • 2ca76ed Merge pull request #190 from dtolnay/provider
  • 01e7c18 Temporarily disable AnyhowBacktrace test
  • aaf8449 Use ThiserrorProvide to disambiguate 'provide' method calls
  • 460396e Add trait with method that won't collide between Provider and Error
  • 293b127 Add build script to detect Provider support
  • 3bcad59 Revert "Directly call source.provide instead of going through dyn error"
  • 21198c9 Move multiple-provide test into test_backtrace
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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)
dependabot[bot] commented 2 years ago

Superseded by #359.