Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.94 KB

CHANGELOG.md

File metadata and controls

63 lines (39 loc) · 1.94 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

Fixed

Changed

Removed

[0.22.1] - 2024-02-16

Added

  • Add //~v comments to put an error matcher above the error site.

Fixed

  • Give aux builds the default comment config, too

Changed

Removed

[0.22.0] - 2024-01-24

Added

  • Started maintaining a changelog
  • Config::comment_defaults allows setting //@ comments for all tests
  • //~ comments can now specify just an error code or lint name, without any message. ERROR level is implied
  • Revisioned::diagnostic_code_prefix allows stripping a prefix of diagnostic codes to avoid having to repeat clippy:: in all messages

Fixed

  • report an error instead of panicking when encountering a suggestion that does not belong to the main file.
  • number of filtered tests is now > 0 when things actually got filtered.

Changed

  • crate-private span handling was passed off to the spanned crate, improving some diagnostics along the way.
  • Config::output_conflict_handling does not contain the bless command message anymore, it is instead available separately as Config::bless_command
  • Updating cargo_metadata to 0.18
  • Updated spanned to 0.1.5, giving more precise spans for more iterator operations
  • Config::cfgs is now Config::program::cfg_flag
  • Bumped annotate-snippets to 0.10

Removed

  • $DIR and RUSTLIB replacements
  • Config::edition (replaced by config.comment_defaults.base().edition)
  • Config::filter_stdout (replaced by config.comment_defaults.base().normalize_stdout)
  • Config::filter_stderr (replaced by config.comment_defaults.base().normalize_stderr)
  • Config::mode (replaced by config.comment_defaults.base().mode)

[0.21.2] - 2023-09-27