Skip to content

Releases

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 22:51

Fixed

  • #319: Fix compiling driver from sources outside of the marker repo on Windows

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:35

The v0.4.0 milestone contains a full list of all changes.

Added

  • #306: The LintPass trait now as a new check_crate method.
  • #294: Items and fields now provide information about their visibility

Fixed

  • #306: Rustc's driver no longer ICEs on spans from compiler generated code.

Breaking Changes

  • #278: Moved the span() method from the inherent impl to HasSpan trait for ClosureParam, FnParam, StructFieldPat.
  • #278: The trait TyData no longer has own span() method, but instead requires HasSpan as a supertrait.
  • #278: All public methods that took &Span as a parameter now take impl HasSpan. This is a minor breaking change, as &Span implements HasSpan, but if you relied on type inference based on the function parameter type, then making a method generic may break your code.
  • #288: Lint identifiers use the lint crate name as a new infix, to prevent name collisions across lint crates.
  • #306: The items of a Crate are now wrapped in a ModItem, that is the root module of the crate.
  • #309: Renamed CallExpr::operand to CallExpr::func
  • #309: Renamed RefPat::pattern() -> RefPat::pat()
  • #309: Renamed OrPat::patterns() -> RefPat::pats()

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 28 Sep 08:43

See the v0.2.0 milestone for a full list of all changes

Added

Fixed

  • cargo marker now works with lower toolchain versions
  • Fixed errors due to drifts in the used toolchain
  • Fixed the question mark operator resugar
  • Spans now properly represent macro expansions

Changed

  • BREAKING: FnItem<'ast> and ClosureExpr<'ast> no longer implement CallableData
  • BREAKING: Some Span methods have been renamed

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 27 Sep 19:09

Added

  • #232: Add scope config for visitors and for_each_expr to marker_utils
  • #239: GitHub releases now provide precompiled binaries of cargo-marker and marker_rustc_driver.
  • #231: Significantly improved error handling

Internal

  • #239: The release flow was automated. It's now a process of updating the CHANGELOG.md and doing several clicks to trigger the CI job.

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 27 Sep 19:05

Added

  • #232: Add scope config for visitors and for_each_expr to marker_utils
  • #239: GitHub releases now provide precompiled binaries of cargo-marker and marker_rustc_driver.
  • #231: Significantly improved error handling

Internal

  • #239: The release flow was automated. It's now a process of updating the CHANGELOG.md and doing several clicks to trigger the CI job.

v0.4.0-rc.123

v0.4.0-rc.123 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Sep 00:22

Test pre-release

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 00:21

Added

  • #232: Add scope config for visitors and for_each_expr to marker_utils
  • #239: GitHub releases now provide precompiled binaries of cargo-marker and marker_rustc_driver.
  • #231: Significantly improved error handling

Internal

  • #239: The release flow was automated. It's now a process of updating the CHANGELOG.md and doing several clicks to trigger the CI job.