Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 5, 2025

Bumps annotate-snippets from 0.11.5 to 0.12.3.

Changelog

Sourced from annotate-snippets's changelog.

[0.12.3] - 2025-09-04

Features

  • Add Title::element for less boilerplate
  • Add renderer::DEFAULT_*_STYLE to expose default styles

Documentation

  • Clarify role of Renderer::<style> methods

[0.12.2] - 2025-09-03

Fixes

  • Duplicate multi-line annotations get treated like the are distinct #293
  • Allow passing 0 to Snippet::line_start #294

[0.12.1] - 2025-09-02

Fixes

  • Correctly calculate line number width when feature simd is enabled #286
  • Close the "code window" when the last line of a Snippet has no annotations and nothing comes after it #288

[0.12.0] - 2025-08-28

Migration

Note that the top-level type changed from Message to Report. Message is now a single block of text within a Report.

  • Replace Message::footer with either
    • adding a Message to a Group
    • starting a new Group
  • Replace Level::<Variant> with Level::<VARIANT>, e.g. Level::Error -> Level::ERROR
  • Instead of creating Snippets on a Message (the type returned by Level::title), add them to the Group that is created with the Title
  • Snippet::origin has been renamed to Snippet::path
  • Instead of creating an Annotation from a Level, create them from an AnnotationKind
    • AnnotationKind::Primary will automatically match the Level of the Group
    • All others existing annotations should likely be AnnotationKind::Context
  • Level::title has been replaced with Level::primary_level (for first Group) and Level::secondary_level (subsequent Groups)
  • Message::id has moved to Title::id
  • Renamed Renderer::line_no to Renderer::line_num
  • Add snippet.fold(false) if unspecified, removing snippet.fold(true) if specified

Features

  • Added unicode decor support, see renderer::DecorStyle
  • Created [Group] to indicate what all is included between the unicode begin and end decor

... (truncated)

Commits
  • fc9aad7 chore: Release annotate-snippets version 0.12.3
  • 7b7e0a2 Merge pull request #306 from epage/docs
  • ae4d48a docs: Update changelog
  • 34475c7 Merge pull request #305 from epage/shortcut
  • 7b71709 Merge pull request #303 from epage/defaults
  • 9f44731 docs: Replace Group::with_title
  • ee96e26 feat: Add convenience methods for Group::with_title
  • 05ee34e Merge pull request #304 from epage/docs
  • dd2169c docs(renderer): List 'none' style last
  • bba974b docs(renderer): Link out styles to where used
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [annotate-snippets](https://github.com/rust-lang/annotate-snippets-rs) from 0.11.5 to 0.12.3.
- [Release notes](https://github.com/rust-lang/annotate-snippets-rs/releases)
- [Changelog](https://github.com/rust-lang/annotate-snippets-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/annotate-snippets-rs@0.11.5...0.12.3)

---
updated-dependencies:
- dependency-name: annotate-snippets
  dependency-version: 0.12.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 5, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 12, 2025

Superseded by #145.

@dependabot dependabot bot closed this Sep 12, 2025
@dependabot dependabot bot deleted the dependabot/cargo/annotate-snippets-0.12.3 branch September 12, 2025 06:05
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 rust Pull requests that update rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants