Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # Changelog
2
3 All notable changes to this project will be documented in this file.
4
5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8 ## [Unreleased]
9
10 ## [0.28.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.27.2...salsa-macro-rules-v0.28.0) - 2026-07-12
11
12 ### Added
13
14 - replace `Update` with `SalsaValue` and `PartialEq` ([#1217](https://github.com/salsa-rs/salsa/pull/1217))
15
16 ### Other
17
18 - reduce ingredient cache monomorphization ([#1207](https://github.com/salsa-rs/salsa/pull/1207))
19
20 ## [0.27.1](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.27.0...salsa-macro-rules-v0.27.1) - 2026-06-24
21
22 ### Fixed
23
24 - avoid redundant captures in input setters ([#1144](https://github.com/salsa-rs/salsa/pull/1144))
25
26 ### Other
27
28 - Revamp tracked attribute for methods and impls to better handle lifetimes ([#1111](https://github.com/salsa-rs/salsa/pull/1111))
29
30 ## [0.26.2](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.26.1...salsa-macro-rules-v0.26.2) - 2026-05-03
31
32 ### Other
33
34 - Do not use `#[allow(non_local_definitions)]` ([#1090](https://github.com/salsa-rs/salsa/pull/1090))
35 - Detect overlapping supertype variants via leaf type IDs ([#1080](https://github.com/salsa-rs/salsa/pull/1080))
36
37 ## [0.26.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.25.2...salsa-macro-rules-v0.26.0) - 2026-02-02
38
39 ### Added
40
41 - Allow opt-ing out of LRU at compile time ([#1051](https://github.com/salsa-rs/salsa/pull/1051))
42
43 ### Fixed
44
45 - Do not alias fields of `tracked_struct` `Value`s when updating ([#741](https://github.com/salsa-rs/salsa/pull/741))
46
47 ### Other
48
49 - Remove unnecessary backdate field macros ([#1069](https://github.com/salsa-rs/salsa/pull/1069))
50 - Remove `ValueWithMetadata` ([#1057](https://github.com/salsa-rs/salsa/pull/1057))
51 - Implement `Lookup` and `HashEqLike` for `Cow` ([#1054](https://github.com/salsa-rs/salsa/pull/1054))
52
53 ## [0.25.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.24.0...salsa-macro-rules-v0.25.0) - 2025-12-16
54
55 ### Other
56
57 - Require interned structs' fields to be `Update` ([#1036](https://github.com/salsa-rs/salsa/pull/1036))
58 - Fully qualify std Result type ([#1025](https://github.com/salsa-rs/salsa/pull/1025))
59 - pass `Cycle` to the cycle recovery function ([#1028](https://github.com/salsa-rs/salsa/pull/1028))
60 - Call `cycle_fn` for every iteration ([#1021](https://github.com/salsa-rs/salsa/pull/1021))
61 - Expose the Input query Id with cycle_initial ([#1015](https://github.com/salsa-rs/salsa/pull/1015))
62 - Expose the query ID and the last provisional value to the cycle recovery function ([#1012](https://github.com/salsa-rs/salsa/pull/1012))
63 - Fix missing license files in published macros/macro-rules crates ([#1009](https://github.com/salsa-rs/salsa/pull/1009))
64 - Add benchmark for a fixpoint iteration with nested cycles ([#1001](https://github.com/salsa-rs/salsa/pull/1001))
65
66 ## [0.24.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.23.0...salsa-macro-rules-v0.24.0) - 2025-09-30
67
68 ### Fixed
69
70 - Do not unnecessarily require `Debug` on fields for interned structs ([#951](https://github.com/salsa-rs/salsa/pull/951))
71 - Fix phantom data usage in salsa structs affecting auto traits ([#932](https://github.com/salsa-rs/salsa/pull/932))
72
73 ### Other
74
75 - refactor `entries` API ([#987](https://github.com/salsa-rs/salsa/pull/987))
76 - Flatten unserializable query dependencies ([#975](https://github.com/salsa-rs/salsa/pull/975))
77 - Initial persistent caching prototype ([#967](https://github.com/salsa-rs/salsa/pull/967))
78 - Add heap size support for salsa structs ([#943](https://github.com/salsa-rs/salsa/pull/943))
79 - Gate accumulator feature behind a feature flag ([#946](https://github.com/salsa-rs/salsa/pull/946))
80 - Do manual trait casting ([#922](https://github.com/salsa-rs/salsa/pull/922))
81 - remove bounds and type checks from `IngredientCache` ([#937](https://github.com/salsa-rs/salsa/pull/937))
82 - Avoid dynamic dispatch to access memo tables ([#941](https://github.com/salsa-rs/salsa/pull/941))
83 - Use `inventory` for static ingredient registration ([#934](https://github.com/salsa-rs/salsa/pull/934))
84
85 ## [0.23.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.22.0...salsa-macro-rules-v0.23.0) - 2025-06-27
86
87 ### Added
88
89 - `Update` derive field overwrite support ([#747](https://github.com/salsa-rs/salsa/pull/747))
90
91 ### Other
92
93 - Emit self ty for query debug name of assoc function queries ([#927](https://github.com/salsa-rs/salsa/pull/927))
94 - Replace ingredient cache with faster ingredient map ([#921](https://github.com/salsa-rs/salsa/pull/921))
95 - add option to track heap memory usage of memos ([#925](https://github.com/salsa-rs/salsa/pull/925))
96 - Hide generated structs of tracked functions from docs via `#[doc(hidden)]` ([#917](https://github.com/salsa-rs/salsa/pull/917))
97 - add an option to tune interned garbage collection ([#911](https://github.com/salsa-rs/salsa/pull/911))
98 - Use explicit discriminants for `QueryOriginKind` for better comparisons ([#913](https://github.com/salsa-rs/salsa/pull/913))
99 - Preserve attributes on interned/tracked struct fields ([#905](https://github.com/salsa-rs/salsa/pull/905))
100 - Use `Revision` and `Durability` directly in input `Value` ([#902](https://github.com/salsa-rs/salsa/pull/902))
101 - Allow lifetimes in arguments in tracked fns with >1 parameters ([#880](https://github.com/salsa-rs/salsa/pull/880))
102 - Replace loom with shuttle ([#876](https://github.com/salsa-rs/salsa/pull/876))
103
104 ## [0.22.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.21.1...salsa-macro-rules-v0.22.0) - 2025-05-23
105
106 ### Other
107
108 - Allow creation of tracked associated functions (without `self`) ([#859](https://github.com/salsa-rs/salsa/pull/859))
109 - Remove default `PartialOrd` and `Ord` derives for salsa-structs ([#868](https://github.com/salsa-rs/salsa/pull/868))
110 - Fix returns(deref | as_ref | as_deref) in tracked methods ([#857](https://github.com/salsa-rs/salsa/pull/857))
111 - Changed `return_ref` syntax to `returns(as_ref)` and `returns(cloned)` ([#772](https://github.com/salsa-rs/salsa/pull/772))
112 - Move salsa event system into `Zalsa` ([#849](https://github.com/salsa-rs/salsa/pull/849))
113 - Add loom support ([#842](https://github.com/salsa-rs/salsa/pull/842))
114 - Clean up some unsafety ([#830](https://github.com/salsa-rs/salsa/pull/830))
115
116 ## [0.21.1](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.21.0...salsa-macro-rules-v0.21.1) - 2025-04-30
117
118 ### Other
119
120 - better debug name for interned query arguments ([#837](https://github.com/salsa-rs/salsa/pull/837))
121
122 ## [0.21.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.20.0...salsa-macro-rules-v0.21.0) - 2025-04-29
123
124 ### Fixed
125
126 - correct debug output for tracked fields ([#826](https://github.com/salsa-rs/salsa/pull/826))
127 - allow unused lifetimes in tracked_struct expansion ([#824](https://github.com/salsa-rs/salsa/pull/824))
128
129 ### Other
130
131 - Implement a query stack `Backtrace` analog ([#827](https://github.com/salsa-rs/salsa/pull/827))
132 - Simplify ID conversions ([#822](https://github.com/salsa-rs/salsa/pull/822))
133 - Remove unnecessary `Array` abstraction ([#821](https://github.com/salsa-rs/salsa/pull/821))
134 - Add a compile-fail test for a `'static` `!Update` struct ([#820](https://github.com/salsa-rs/salsa/pull/820))
135 - squelch most clippy warnings in generated code ([#809](https://github.com/salsa-rs/salsa/pull/809))
136
137 ## [0.20.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.19.0...salsa-macro-rules-v0.20.0) - 2025-04-22
138
139 ### Added
140
141 - Drop `Debug` requirements and flip implementation defaults ([#756](https://github.com/salsa-rs/salsa/pull/756))
142
143 ### Other
144
145 - Reduce memory usage by deduplicating type information ([#803](https://github.com/salsa-rs/salsa/pull/803))
146 - Inline/Outline more cold and slow paths ([#805](https://github.com/salsa-rs/salsa/pull/805))
147 - rewrite cycle handling to support fixed-point iteration ([#603](https://github.com/salsa-rs/salsa/pull/603))
148
149 ## [0.19.0](https://github.com/salsa-rs/salsa/compare/salsa-macro-rules-v0.18.0...salsa-macro-rules-v0.19.0) - 2025-03-10
150
151 ### Other
152
153 - Store view downcaster in function ingredients directly ([#720](https://github.com/salsa-rs/salsa/pull/720))