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 miette to v7 - autoclosed #281

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
miette dependencies major >=3.0.0 -> >=7.2.0

Release Notes

zkat/miette (miette)

v7.2.0

Compare Source

Features
  • wasm: add feature "fancy-no-syscall" for wasm targets (#​349) (328bf379)
Bug Fixes
  • label-collections: Label collection fixes and cleanup (#​343) (75fea093)
  • invalid span: skip the snippet when read_span fails (#​347) (7d9dfc6e)
  • redundant-import: fix a warning and CI failure in nightly (#​348) (6ea86a22)

v7.1.0

Compare Source

Features
  • derive: enable more boxed types to be #[diagnostic_source] (#​338) (c2f06f6c)
  • source: derive common traits for NamedSource, SourceSpan, and SourceOffset (#​340) (6f09250c)
  • collection: add support for collection of labels (#​341) (03060245)
Bug Fixes

v7.0.0

Compare Source

This is a small breaking release on the heels of 6.0 because I neglected to
bump owo-colors. I figured it's a good time to do it, before 6.0 gets more
widely used.

Features
  • fancy: Add option to change the link display text (#​335) (c7144ee5)
  • deps: bump dependencies (a4011d17)
    • BREAKING CHANGE: This bumps owo-colors to 4.0, which is a breaking change because we expose its styles as part of the graphical renderer API

v6.0.1

Compare Source

Bug Fixes
  • graphical: oops. Fix theme issue (8b46679c)
  • fmt: remove nightly-only fmt flags (1fa7f524)
  • highlighter: ugh, missed another spot (ab7c066e)

v6.0.0

Compare Source

The long-awaited 6.0 release of miette is here, with TONS of goodies, not
least of which is syntax highlighting support!

It also comes with a few breaking changes so make sure to check below and
update your code as needed!

Features
  • labels: Add support for primary label in specifying line/col information (#​291) (db0b7e40)
  • derive: Allow optional sources in derive (#​301) (88d00e0e)
  • derive: Make miette-derive be able to be turned off (#​304) (c7ba5b7e)
  • graphical: Expose additional textwrap options (#​321) (fd77257c)
  • graphical: support rendering labels that contain newlines (#​318) (865d67c8)
  • graphical: Add wrap_lines: bool option allowing wrapping be disabled entirely (#​328) (b0744462)
  • graphical: render disjoint snippets separately for cleaner output (#​324) (19c22143)
  • deps: Bump terminal-size to v0.3.0 (#​308) (c0a298e5)
    • BREAKING CHANGE: This requires an MSRV bump to 1.70.0.
  • source-code: Don't override provided source code (#​300) (0d5c2ce7)
    • BREAKING CHANGE: Source code is no longer overridden if it was provided by the diagnostic's own source_code() impl.
  • source: use usize for length (#​265) (fad0e76a)
    • BREAKING CHANGE: This changes SourceSpan's length type to usize.
  • source: Allow inner source type of a NamedSource to be borrowed (#​254) (1df3b1a5)
    • BREAKING CHANGE: This makes the NamedSource type generic over its Source type, instead of boxing it.
  • highlighting: add syntax highlighting support with syntect crate (#​313) (e65d0a78)
  • deps: remove is-terminal dep in favor of std::io::IsTerminal (e5c7ae46)
  • deps: remove once_cell dep in favor of std::sync::OnceLock (4c48584f)
    • BREAKING CHANGE: This requires an MSRV bump to 1.70.0.
  • deps: bump some semver-breaking deps to newer versions (29d000f2)
  • MSRV: Actually bump the MSRV to 1.70.0 (ab59a7bc)
Bug Fixes
Documentation
  • README: Move import of NamedResult to where it is used (#​309) (d37ada87)

v5.10.0

Compare Source

Features
  • protocol: add StdError impl for Box<dyn Diagnostic + Send + Sync> (#​273) (2e3e5c9d)

v5.9.0

Compare Source

Features
Bug Fixes

v5.8.0

Compare Source

Features
Bug Fixes
  • narrated: put URLs in their own line (adbff65e)

v5.7.0

Compare Source

While this is a semver-minor release, there's potential for it to have
knock-on effects due to the syn2 upgrade. There's been issues as this new
version propagates between syn/thiserror versions (for example, see a similar
change in eyre
).

The other thing of note is that backtrace printing is now much better! Try
the hook and see for yourself!

Features
Bug Fixes
  • colors: change unicode to default to ansi (#​249) (159f2b35)
  • tests: disable doctest that doesn't work with default feature flags (#​248) (0b445dc2)

v5.6.0

Compare Source

Bug Fixes
Features

v5.5.0

Compare Source

Features
Bug Fixes
  • derive: elide lifetimes in derived functions (#​226) (c88f0b5a)
  • graphical: Fix panic with span extending past end of line (#​221) (8b56d277)
  • license: fix mangled license text to improve recognition (d5fbb340)

v5.4.1

Compare Source

Bug Fixes
  • graphical: Fix panic with zero-width span at end of line (#​204) (b8810ee3)

v5.4.0

Compare Source

Features
  • version: declare minimum supported rust version at 1.56.0 (#​209) (ac02a124)
  • report: Report::new_boxed (0660d2f4)
  • error: impl AsRef<dyn StdError> for Report (1a27033d)
Bug Fixes
  • wrapper: complete forwarding Diagnostic implementations (3fc5c04c)

v5.3.1

Compare Source

Bug Fixes
  • miri: Resolve Miri's concerns around unsafe code (#​197) (5f3429b0)
  • graphical: Align highlights correctly with wide unicode characters and tabs (#​202) (196c09ce)

v5.3.0

Compare Source

Bug Fixes
  • utils: Fix off-by-one error in SourceOffset::from_location (#​190) (c3e6c983)
Features
  • graphical: Allow miette users to opt-out of the rendering of the cause chain (#​192) (b9ea5871)

v5.2.0

Compare Source

Features
Bug Fixes
  • docs: readme was getting cut off during generation (e286c705)

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features
  • protocol: Implement SourceCode for Arc (and similar types) (#​181) (85da6a84)

v5.0.0

Compare Source

Breaking Changes
  • theme: restructure automatic color selection (#​177) (1816b06a)
    • The default theme now prefers ANSI colors, even if RGB is supported
    • MietteHandlerOpts::ansi_colors is removed
    • MietteHandlerOpts::rgb_color now takes an enum that controls the color
      format used when color support is enabled, and has no effect otherwise.
Bug Fixes
  • json: Don't escape single-quotes, that's not valid json (#​180) (b193d3c0)

v4.7.1

Compare Source

Bug Fixes
  • tests: add Display impl to diagnostic_source example (0a4cf4ad)

v4.7.0

Compare Source

Features
  • diagnostic_source: add protocol method for Diagnostic-aware source chaining (#​165) (bc449c84)
Documentation

v4.6.0

Compare Source

Features
  • spans: add From shorthand for zero-length SourceSpans (1e1d6152)
  • related: print related prefixes according to severity (#​158) (084ed138)
Bug Fixes
  • graphical: fix issue with duplicate labels when span len is 0 (#​159) (1a36fa7e)

v4.5.0

Compare Source

Features
  • spans: make SourceSpan implement Copy (#​151) (5e54b29a)
  • help: update macro to allow optional help text (#​152) (45093c2f)
  • labels: allow optional labels in derive macro (#​153) (23ee3642)
  • help: allow non-option values in #[help] fields (ea55f458)
  • label: use macro magic instead of optional flag for optional labels (9da62cd0)
Bug Fixes
  • theme: set correct field in MietteHandlerOpts::ansi_colors (#​150) (97197601)

v4.4.0

Compare Source

Features
Bug Fixes
  • docsrs: use proper module names for docsrs URLs (a0b972f8)
  • clippy: misc clippy fixes (b98b0982)
  • fmt: cargo fmt (37cda4a3)

v4.3.0

Compare Source

Features
  • reporter: Allow GraphicalReportHandler to disable url display (#​137) (b6a6cc9e)
Bug Fixes
Documentation
Miscellaneous Tasks

v4.2.1

Compare Source

Bug Fixes

v4.2.0

Compare Source

Features

v4.1.0

Compare Source

.with_source_code() is here!!

Features
  • report: add with_source_code (50519264)
  • handlers: propagate source code to related errors (3a17fcea)
Bug Fixes

v4.0.1

Compare Source

Bug Fixes
  • graphical: boolean was messing up graphical display (5c085b39)

v4.0.0

Compare Source

Breaking Changes
  • colors: treat no-color mode as no-color instead of narratable (#​94) (9dcce5f1)
    • BREAKING CHANGE: NO_COLOR no longer triggers the narrated handler. Use
      NO_GRAPHICS instead.
  • derive: Make derive macro diagnostic attribute more flexible. (#​115) (5b8b5478)
    • BREAKING CHANGE: diagnostic attribute duplication will now error.
Features
Bug Fixes

v3.3.0

Compare Source

Features
Bug Fixes

v3.2.0

Compare Source

Features
Bug Fixes
  • read_span prevent multiline MietteSpanContents from skipping lines (#​81) (cb5a919d)

v3.1.0

Compare Source

Features

v3.0.1

Compare Source

No code changes this release. Just improved documentation and related tests.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from 6d935cb to ff20713 Compare February 8, 2024 23:08
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from 5914fc5 to b7a9454 Compare March 1, 2024 00:00
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 3 times, most recently from 464fb82 to 5da9ece Compare March 8, 2024 16:52
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from 4661819 to dcee228 Compare March 15, 2024 17:40
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch from dcee228 to f86d684 Compare March 19, 2024 20:23
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from dec86a8 to 844bbf9 Compare April 2, 2024 19:34
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 7 times, most recently from eab8d5f to aaa547f Compare April 10, 2024 07:05
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from 9da720d to e51c912 Compare April 16, 2024 18:35
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from edcaf18 to 0039055 Compare April 24, 2024 00:39
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch 4 times, most recently from 87ce84d to 32e20d1 Compare May 2, 2024 12:37
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/rust/miette-7.x branch from 32e20d1 to 6b2c416 Compare May 3, 2024 21:00
@renovate renovate bot changed the title ⬆️ Update 🦀 Rust Crate miette to v7 ⬆️ Update 🦀 Rust Crate miette to v7 - autoclosed May 5, 2024
@renovate renovate bot closed this May 5, 2024
@renovate renovate bot deleted the renovate/rust/miette-7.x branch May 5, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants