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 miette requirement from 5.10.0 to 7.0.0 #81

Merged
merged 8 commits into from Mar 30, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2024

Updates the requirements on miette to permit the latest version.

Changelog

Sourced from miette's changelog.

7.0.0 (2024-02-05)

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

6.0.1 (2024-02-04)

Bug Fixes

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

6.0.0 (2024-02-04)

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)

... (truncated)

Commits
  • ecb0102 chore: Release
  • ea12e3f docs: update changelog
  • a4011d1 feat(deps): bump dependencies
  • c7144ee feat(fancy): Add option to change the link display text (#335)
  • cf2d8c0 chore: Release
  • e515a3c docs: update changelog
  • ab7c066 fix(highlighter): ugh, missed another spot
  • 3747fcc test: fix some fancy tests after NamedSource change
  • 1fa7f52 fix(fmt): remove nightly-only fmt flags
  • 8b46679 fix(graphical): oops. Fix theme issue
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [miette](https://github.com/zkat/miette) to permit the latest version.
- [Release notes](https://github.com/zkat/miette/releases)
- [Changelog](https://github.com/zkat/miette/blob/main/CHANGELOG.md)
- [Commits](zkat/miette@miette-derive-v5.10.0...miette-derive-v7.0.0)

---
updated-dependencies:
- dependency-name: miette
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 5, 2024
Copy link

codecov bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.99%. Comparing base (81091d9) to head (3c380f1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
- Coverage   99.69%   97.99%   -1.70%     
==========================================
  Files          14       14              
  Lines         648      648              
  Branches      648      648              
==========================================
- Hits          646      635      -11     
- Partials        2       13      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 19, 2024

A newer version of miette exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@maarek
Copy link

maarek commented Mar 29, 2024

@Finomnis Can we update and release this PR or remove the miette dependency from this lib and go with thiserror or std error implementation?

@Finomnis
Copy link
Owner

@Finomnis Can we update and release this PR or remove the miette dependency from this lib and go with thiserror or std error implementation?

Shouldn't you be able to use whatever miette version you want in user code? Or am I mistaken?

@Finomnis Finomnis merged commit 865d76d into main Mar 30, 2024
17 of 18 checks passed
@Finomnis Finomnis deleted the dependabot/cargo/miette-7.0.0 branch March 30, 2024 00:41
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.

None yet

2 participants