napi-rs / node-rs

Node.js bindings ❤️ Rust crates
https://node-rs.dev
MIT License
1.03k stars 32 forks source link

fix(deps): update rust crate miette to v7 - autoclosed #776

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
miette dependencies major 5 -> 7

Release Notes

zkat/miette (miette) ### [`v7.0.0`](https://togithub.com/zkat/miette/blob/HEAD/CHANGELOG.md#700-2024-02-05) [Compare Source](https://togithub.com/zkat/miette/compare/v6.0.1...v7.0.0) 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](https://togithub.com/zkat/miette/issues/335)) ([c7144ee5](https://togithub.com/zkat/miette/commit/c7144ee513bf8f06c5f7d89c45436802994a51fc)) - **deps:** bump dependencies ([a4011d17](https://togithub.com/zkat/miette/commit/a4011d174c40acbba5b0176db7cb71ec5ca0cb49)) - **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`](https://togithub.com/zkat/miette/blob/HEAD/CHANGELOG.md#601-2024-02-04) [Compare Source](https://togithub.com/zkat/miette/compare/v6.0.0...v6.0.1) ##### Bug Fixes - **graphical:** oops. Fix theme issue ([8b46679c](https://togithub.com/zkat/miette/commit/8b46679c3647e1455d91b4c68743c619fb3f3eb3)) - **fmt:** remove nightly-only fmt flags ([1fa7f524](https://togithub.com/zkat/miette/commit/1fa7f5241fb91d2e5bad9b0e26bcc7cd5f9011f1)) - **highlighter:** ugh, missed another spot ([ab7c066e](https://togithub.com/zkat/miette/commit/ab7c066e7675d8c7ecb956000d278fc31f3bc6a1)) ### [`v6.0.0`](https://togithub.com/zkat/miette/blob/HEAD/CHANGELOG.md#600-2024-02-04) [Compare Source](https://togithub.com/zkat/miette/compare/v5.10.0...v6.0.0) 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](https://togithub.com/zkat/miette/issues/291)) ([db0b7e40](https://togithub.com/zkat/miette/commit/db0b7e403a5ae52ae360991b6508490d8c579886)) - **derive:** Allow optional sources in derive ([#​301](https://togithub.com/zkat/miette/issues/301)) ([88d00e0e](https://togithub.com/zkat/miette/commit/88d00e0e20bf95e03b8f81dcd5adf38c917e190e)) - **derive:** Make `miette-derive` be able to be turned off ([#​304](https://togithub.com/zkat/miette/issues/304)) ([c7ba5b7e](https://togithub.com/zkat/miette/commit/c7ba5b7e52e05991cecd3ca925c710bbe49850b9)) - **graphical:** Expose additional `textwrap` options ([#​321](https://togithub.com/zkat/miette/issues/321)) ([fd77257c](https://togithub.com/zkat/miette/commit/fd77257cee0f5d03aa7dccb4ba8cbaa40c1a88c6)) - **graphical:** support rendering labels that contain newlines ([#​318](https://togithub.com/zkat/miette/issues/318)) ([865d67c8](https://togithub.com/zkat/miette/commit/865d67c8dda119ddd03ac43be22f4fa272a9f433)) - **graphical:** Add `wrap_lines: bool` option allowing wrapping be disabled entirely ([#​328](https://togithub.com/zkat/miette/issues/328)) ([b0744462](https://togithub.com/zkat/miette/commit/b0744462adbbfbb6d845f382db36be883c7f3c45)) - **graphical:** render disjoint snippets separately for cleaner output ([#​324](https://togithub.com/zkat/miette/issues/324)) ([19c22143](https://togithub.com/zkat/miette/commit/19c22143cb544616046784e35c5e78cc5b881289)) - **deps:** Bump terminal-size to v0.3.0 ([#​308](https://togithub.com/zkat/miette/issues/308)) ([c0a298e5](https://togithub.com/zkat/miette/commit/c0a298e5a8d699acf9fcd61b5d5fa4f6279a47ab)) - **BREAKING CHANGE**: This requires an MSRV bump to 1.70.0. - **source-code:** Don't override provided source code ([#​300](https://togithub.com/zkat/miette/issues/300)) ([0d5c2ce7](https://togithub.com/zkat/miette/commit/0d5c2ce7536b0ea205346595d8a00d00bfb6cbd2)) - **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](https://togithub.com/zkat/miette/issues/265)) ([fad0e76a](https://togithub.com/zkat/miette/commit/fad0e76ad2e19d5cac13cf8324338aca0d623d93)) - **BREAKING CHANGE**: This changes `SourceSpan`'s length type to `usize`. - **source:** Allow inner source type of a NamedSource to be borrowed ([#​254](https://togithub.com/zkat/miette/issues/254)) ([1df3b1a5](https://togithub.com/zkat/miette/commit/1df3b1a537f2e54cd40ec45f5cd851337a22e95a)) - **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](https://togithub.com/zkat/miette/issues/313)) ([e65d0a78](https://togithub.com/zkat/miette/commit/e65d0a78cc639653f061a45d8ce35b1a3551ade7)) - **deps:** remove is-terminal dep in favor of `std::io::IsTerminal` ([e5c7ae46](https://togithub.com/zkat/miette/commit/e5c7ae469e40a8bc102e1fca3b8fd4b2ec137696)) - **deps:** remove once_cell dep in favor of `std::sync::OnceLock` ([4c48584f](https://togithub.com/zkat/miette/commit/4c48584f304414c6924bede3308b455cfef60749)) - **BREAKING CHANGE**: This requires an MSRV bump to 1.70.0. - **deps:** bump some semver-breaking deps to newer versions ([29d000f2](https://togithub.com/zkat/miette/commit/29d000f201b259a056867a2876384f97653a6e9e)) - **MSRV:** Actually bump the MSRV to 1.70.0 ([ab59a7bc](https://togithub.com/zkat/miette/commit/ab59a7bc9bceace5761a862ee2ebff3e5943b12f)) ##### Bug Fixes - **misc:** Improve ci and fix clippy ([#​290](https://togithub.com/zkat/miette/issues/290)) ([cc81382a](https://togithub.com/zkat/miette/commit/cc81382a6070dd226a20e4a39518d88e957ac0e1)) - **tests:** Fix `cargo test` with default features. ([#​294](https://togithub.com/zkat/miette/issues/294)) ([1f448e47](https://togithub.com/zkat/miette/commit/1f448e47751d0f914134b0e9138fdb1a5a95d55c)) - **clippy:** Add missing semicolons where nothing is returned. ([#​293](https://togithub.com/zkat/miette/issues/293)) ([06b34823](https://togithub.com/zkat/miette/commit/06b348230aaf153b8b050322f05e5d185351d2d1)) - **graphical:** Extend error text span to whole code points ([#​312](https://togithub.com/zkat/miette/issues/312)) ([a8b4ae01](https://togithub.com/zkat/miette/commit/a8b4ae012aa0cf03b53a18f013c2b3f76c5040e7)) - **formatting:** Fix formatting bug when an empty span is not aligned to a char boundary ([#​314](https://togithub.com/zkat/miette/issues/314)) ([3d6f903d](https://togithub.com/zkat/miette/commit/3d6f903df0e7c9d0eb9a1fdbbf0028bab5496429)) - **docs:** add example to README and docs fixing [#​96](https://togithub.com/zkat/miette/issues/96) ([#​319](https://togithub.com/zkat/miette/issues/319)) ([251d6d59](https://togithub.com/zkat/miette/commit/251d6d59292397458328ef57fb7957faedafd019)) - **graphical:** rendering bug on small spans in large spans ([#​316](https://togithub.com/zkat/miette/issues/316)) ([7ff4f874](https://togithub.com/zkat/miette/commit/7ff4f874d693a665af4df40f4e94505013e3e262)) - **graphical:** render cause chains for inner errors ([#​330](https://togithub.com/zkat/miette/issues/330)) ([cb2ae2e1](https://togithub.com/zkat/miette/commit/cb2ae2e18b446a5e90885faf8a30b5672c307df8)) - **handler:** remove the two extra `is_terminal` sys call from `MietteHandlerOpts::build` ([#​325](https://togithub.com/zkat/miette/issues/325)) ([f1dc89c0](https://togithub.com/zkat/miette/commit/f1dc89c07640445d224b61ef96c6b25fcdf62dee)) ##### Documentation - **README:** Move import of `NamedResult` to where it is used ([#​309](https://togithub.com/zkat/miette/issues/309)) ([d37ada87](https://togithub.com/zkat/miette/commit/d37ada876a5831d3f47622274e334c9a24aa5d2b))

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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.