Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Oct 09:10
· 64 commits to master since this release

This version introduces precompiled binaries and CI templates. This version also tried to combine all breaking changes, to make v0.3.0 a solid baseline for new additions.

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

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.
  • #252: Marker now provides install scripts for linux, macos and windows
  • #259: Introduced a GitHub Action for installing and running Marker

Breaking Changes

  • #256: Renamed AstContext -> MarkerContext
  • #256: Moved marker_api::ast::common::span -> marker_api::span
  • #241: Renamed QuestionMarkExpr -> TryExpr
  • #244: StmtKind and PatKind no longer wrap Kind* directly
  • #245: emit_lint() takes less arguments and returns a DiagnosticBuilder instance
  • #263: Updated the ui_test used by marker_uitest from v0.11.7 to v0.21.2
  • #260: Moved AstContext::{body, item, lint_level_at} to the new AstMap struct accessible via MarkerContext::ast()
  • #265: Removed the CallableData trait
  • #268: Moved semantic types and generics to the new marker_api::sem module
  • #268: Moved common items, like IDs, to the new marker_api::common module
  • #268: Removed the Sem and Syn prefix from types and generics
  • #268: marker_api::prelude no longer contains the semantic and syntactic TyKind enums
  • #268: marker_api::prelude now imports the sem and ast names
  • #268: The marker_api::ast module has been flattened
  • #268: The marker_api::lint and marker_api::interface are now private

Internal

  • #231: Significantly improved error handling
  • #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.