github GitoxideLabs/gitoxide gix-error-v0.2.0
gix-error v0.2.0

8 hours ago

New Features

  • Add an auto-chain-error feature to let gix-error::Error produce error chains suitable for anyhow.
  • make it possible to produce errors that work well with anyhow source-chain display.
  • anyhow support for gix-error::Exn
    This is mainly useful for gitoxide-core, which may call plumbing.
  • Add Exn::downcast_any_ref()

New Features (BREAKING)

  • Use gix-error in gix-date
    This will make for easier introspection for users of these errors.
  • gix-error instead of thiserror in gix-quote
    Replace the thiserror-derived ansi_c::undo::Error enum with
    gix_error::Exn<gix_error::ValidationError>, converting the Error::new()
    factory and variant constructors to message!() calls.

Refactor (BREAKING)

  • ErrorExt::raise_iter to raise_all + remove Frame::downcast
    Be more compatible to exn.
  • catch up Exn designs with the upstream
    refactor!: rename Exn::from_iter to raise_all

Other

  • add From<Message> for ValidationError guide.
    This allows to more conveniently create validation errors.

Commit Statistics

  • 4 commits contributed to the release over the course of 10 calendar days.
  • 12 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #2423 from GitoxideLabs/gix-error (000d58a)
    • gix-error instead of thiserror in gix-quote (502eaa0)
    • Add From<Message> for ValidationError guide. (fdf321b)
    • Merge branch 'release' (9327b73)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.