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

chore(deps): update crates (major) - autoclosed #5

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 10, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
miette dependencies major 5 -> 7
sugar_path workspace.dependencies major 0.0.12 -> 1.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)
hyf0/sugar_path (sugar_path)

v1.1.0

Compare Source

v1.0.0

What's Changed

Breaking changes compared to 0.0.12
  • SugarPathBuf trait is removed.
  • AsPath trait is removed. Its functionalities is merged into SugarPath.
  • The return type of methods of SugarPath is changed to PathBuf from Cow<Path>.
Refined Functionalities
  • SugarPath::as_path makes it easy to convert T: Deref<Target = str> to Path and allows to you methods of SugarPath on &str or String directly.
use std::path::Path;
use sugar_path::SugarPath;
assert_eq!("foo".as_path().join("bar"), Path::new("foo/bar"));
assert_eq!("foo/./bar/../baz".normalize(), "foo/baz".as_path());
use sugar_path::SugarPath;

#[cfg(target_family = "unix")]
let p = "./hello/world".as_path();

#[cfg(target_family = "windows")]
let p = ".\\hello\\world".as_path();
assert_eq!(p.to_slash().unwrap(), "./hello/world");
assert_eq!(p.to_slash_lossy(), "./hello/world");
use std::path::Path;
use sugar_path::SugarPath;
assert_eq!("foo/./bar/../baz".normalize(), "foo/baz".as_path());
  • SugarPath::relative allows you to get the relative path from the given path to the target path.
use sugar_path::SugarPath;
assert_eq!("/base".relative("/base/project"), "..".as_path());
assert_eq!("/base".relative("/var/lib"), "../../base".as_path());
use sugar_path::SugarPath;
let cwd = std::env::current_dir().unwrap();
assert_eq!("hello/world".absolutize(), cwd.join("hello").join("world"));
use sugar_path::SugarPath;

#[cfg(target_family = "unix")]
{
  assert_eq!("./world".absolutize_with("/hello"), "/hello/world".as_path());
  assert_eq!("../world".absolutize_with("/hello"), "/world".as_path());
}

#[cfg(target_family = "windows")]
{
 assert_eq!(".\\world".absolutize_with("C:\\hello"), "C:\\hello\\world".as_path());
  assert_eq!("..\\world".absolutize_with("C:\\hello"), "C:\\world".as_path());
}
  • For more details, please refer to the SugarPath.
Refined Documentation

I rewrite the documents of using SugarPath. It should be more straightforward for users to understand what SugarPath does.

See https://docs.rs/sugar_path/latest/sugar_path/ for more details.

New Contributors

Full Changelog: https://github.com/hyf0/sugar_path/commits/v1.0.0


Configuration

📅 Schedule: Branch creation - "on wednesday" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 changed the title chore(deps): update crates (major) chore(deps): update crates (major) - autoclosed Apr 17, 2024
@renovate renovate bot closed this Apr 17, 2024
@renovate renovate bot deleted the renovate/major-crates branch April 17, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants