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

fix(deps): update rust crate annotate-snippets to 0.11 #310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2024

This PR contains the following updates:

Package Type Update Change
annotate-snippets dependencies minor 0.9 -> 0.11

Release Notes

rust-lang/annotate-snippets-rs (annotate-snippets)

v0.11.4

Compare Source

Fixes
  • Annotations for \r\n are now correctly handled #​131

v0.11.3

Compare Source

Fixes
  • Dropped MSRV to 1.65

v0.11.2

Compare Source

Added
  • All public types now implement Debug #​119

v0.11.1

Compare Source

Fixes
  • Switch fold to use rustc's logic: always show first and last line of folded section and detect if its worth folding
  • When folding the start of a source, don't show anything, like we do for the end of the source
  • Render an underline for an empty span on Annotations

v0.11.0

Compare Source

Breaking Changes
  • Switched from char spans to byte spans #​90
  • Renamed AnnotationType to Level #​94
  • Renamed SourceAnnotation to Annotation #​94
  • Renamed Snippet to Message #​94
  • Renamed Slice to Snippet #​94
  • Message, Snippet, Annotation and Level can only be built with a builder pattern #​91 and #​94
  • Annotation labels are now optional #​94
  • Annotation now takes in Range<usize> instead of (usize, usize) #​90
  • Margin is now an internal detail, only term_width is exposed #​105
  • footer was generalized to be a Message #​98
Added
  • term_width was added to Renderer to control the rendering width #​105
    • defaults to 140 when not set
Fixed
  • Margins are now calculated per Snippet, rather than for the entire Message #​105
  • Annotations can be created without labels
Features
  • footer was expanded to allow annotating sources by accepting Message #​98

v0.10.2

Compare Source

Added
  • Added testing-colors feature to remove platform-specific colors when testing
    #​82

v0.10.1

Compare Source

Fixed
  • Match rustc's colors #​73
  • Allow highlighting one past the end of source #​74
Compatibility
  • Set the minimum supported Rust version to 1.73.0 #​71

v0.10.0

Compare Source

Added
  • Renderer is now used for displaying a Snippet #​67
    • Renderer also controls the color scheme and formatting of the snippet
Changed
  • Moved everything in the snippet to be in the crate root #​67
Breaking Changes
  • Renderer now controls the color scheme and formatting of Snippets #​67
  • Removed the Style and Stylesheet traits, as color is controlled by Renderer #​67
  • Replaced yansi-term with anstyle #​67
    • anstyle is designed primarily to exist in public APIs for interoperability
    • anstyle is re-exported under annotate_snippets::renderer
  • Removed the color feature in favor of Renderer::plain() #​67
  • Moved Margin to renderer module #​67
  • Made the display_list module private #​67
Compatibility
  • Changed the edition to 2021 #​61
  • Set the minimum supported Rust version to 1.70.0 #​61

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from 6afd178 to 50867c1 Compare March 15, 2024 22:12
@renovate renovate bot changed the title fix(deps): update rust crate annotate-snippets to 0.10 fix(deps): update rust crate annotate-snippets to 0.11 Mar 15, 2024
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from 50867c1 to e47aa71 Compare April 23, 2024 19:08
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from e47aa71 to 3ed3cbb Compare May 1, 2024 10:47
@renovate renovate bot changed the title fix(deps): update rust crate annotate-snippets to 0.11 fix(deps): update rust crate annotate-snippets to 0.11.2 May 1, 2024
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from 3ed3cbb to fec8cad Compare May 5, 2024 11:08
@renovate renovate bot changed the title fix(deps): update rust crate annotate-snippets to 0.11.2 fix(deps): update rust crate annotate-snippets to 0.11 May 5, 2024
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from fec8cad to a9fe638 Compare June 23, 2024 16:21
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch 7 times, most recently from 46c7428 to ecf9a13 Compare July 16, 2024 07:55
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from ecf9a13 to 0ee2c50 Compare August 4, 2024 01:59
@renovate renovate bot force-pushed the renovate/annotate-snippets-0.x branch from 0ee2c50 to 391c4c3 Compare August 4, 2024 10:21
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