salsa/components/salsa-macros/CHANGELOG.md
2025-07-04 20:59:28 +00:00

4 KiB

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]

0.23.1 - 2025-07-04

Other

  • Fix heap_size option not being preserved in tracked impls (#930)

0.23.0 - 2025-06-27

Added

  • Update derive field overwrite support (#747)

Other

  • Emit self ty for query debug name of assoc function queries (#927)
  • add option to track heap memory usage of memos (#925)
  • add an option to tune interned garbage collection (#911)
  • Preserve attributes on interned/tracked struct fields (#905)
  • Update dependencies, remove unused heck dependency (#894)
  • Allow lifetimes in arguments in tracked fns with >1 parameters (#880)

0.22.0 - 2025-05-23

Other

  • Allow creation of tracked associated functions (without self) (#859)
  • Implement an !Update bound escape hatch for tracked fn (#867)
  • Fix returns(deref | as_ref | as_deref) in tracked methods (#857)
  • Changed return_ref syntax to returns(as_ref) and returns(cloned) (#772)
  • Move salsa event system into Zalsa (#849)

0.21.0 - 2025-04-29

Fixed

  • allow unused lifetimes in tracked_struct expansion (#824)

Other

  • Add a compile-fail test for a 'static !Update struct (#820)
  • squelch most clippy warnings in generated code (#809)
  • Use DatabaseKey for interned events (#813)

0.20.0 - 2025-04-22

Added

  • Drop Debug requirements and flip implementation defaults (#756)

Other

  • Add a third cycle mode, equivalent to old Salsa cycle behavior (#801)
  • Normalize imports style (#779)
  • Document most safety blocks (#776)
  • bug [salsa-macros]: Improve debug name of tracked methods (#755)
  • rewrite cycle handling to support fixed-point iteration (#603)

0.19.0 - 2025-03-10

Fixed

  • fix enums bug

Other

  • Store view downcaster in function ingredients directly (#720)
  • :replace instead of std::mem::replace (#746)
  • Cleanup Cargo.tomls (#745)
  • address review comments
  • Skip memo ingredient index mapping for non enum tracked functions
  • Trade off a bit of memory for more speed in MemoIngredientIndices
  • Introduce Salsa enums
  • Track revisions for tracked fields only