diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..6a7a5edf9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,57 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.19.0](https://github.com/salsa-rs/salsa/compare/salsa-v0.18.0...salsa-v0.19.0) - 2025-03-10 + +### Fixed + +- fix typo +- fix enums bug + +### Other + +- Have salsa not depend on salsa-macros ([#750](https://github.com/salsa-rs/salsa/pull/750)) +- Group versions of packages together for releases ([#751](https://github.com/salsa-rs/salsa/pull/751)) +- use `portable-atomic` in `IngredientCache` to compile on `powerpc-unknown-linux-gnu` ([#749](https://github.com/salsa-rs/salsa/pull/749)) +- Store view downcaster in function ingredients directly ([#720](https://github.com/salsa-rs/salsa/pull/720)) +- Some small perf things ([#744](https://github.com/salsa-rs/salsa/pull/744)) +- :replace instead of std::mem::replace ([#746](https://github.com/salsa-rs/salsa/pull/746)) +- Cleanup `Cargo.toml`s ([#745](https://github.com/salsa-rs/salsa/pull/745)) +- Drop clone requirement for accumulated values +- implement `Update` trait for `IndexMap`, and `IndexSet` +- more correct bounds on `Send` and `Sync` implementation `DeletedEntries` +- replace `arc-swap` with manual `AtomicPtr` +- Remove unnecessary `current_revision` call from `setup_interned_struct` +- Merge pull request #731 from Veykril/veykril/push-nzkwqzxxkxou +- Remove some dynamically dispatched `Database::event` calls +- Lazy fetching +- Add small supertype input benchmark +- Replace a `DashMap` with `RwLock` as writing is rare for it +- 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 +- Cancel duplicate test workflow runs +- implement `Update` trait for `hashbrown::HashMap` +- Move `unwind_if_revision_cancelled` from `ZalsaLocal` to `Zalsa` +- Don't clone strings in benchmarks +- Merge pull request #714 from Veykril/veykril/push-synxntlkqqsq +- Merge pull request #711 from Veykril/veykril/push-stmmwmtprovt +- Merge pull request #715 from Veykril/veykril/push-plwpsqknwulq +- Enforce `unsafe_op_in_unsafe_fn` +- Remove some `ZalsaDatabase::zalsa` calls +- Remove outdated FIXME +- Replace `IngredientCache` lock with atomic primitive +- Reduce method delegation duplication +- Automatically clear the cancellation flag when cancellation completes +- Allow trigger LRU eviction without increasing the current revision +- Simplify `Ingredient::reset_for_new_revision` setup +- Require mut Zalsa access for setting the lru limit +- Split off revision bumping from `zalsa_mut` access +- Update `hashbrown` (0.15) and `hashlink` (0.10) diff --git a/Cargo.toml b/Cargo.toml index 42686c51b..1e5fcea05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salsa" -version = "0.18.0" +version = "0.19.0" authors.workspace = true edition.workspace = true license.workspace = true @@ -9,8 +9,8 @@ rust-version.workspace = true description = "A generic framework for on-demand, incrementalized computation (experimental)" [dependencies] -salsa-macro-rules = { version = "0.18.0", path = "components/salsa-macro-rules" } -salsa-macros = { version = "0.18.0", path = "components/salsa-macros", optional = true } +salsa-macro-rules = { version = "0.19.0", path = "components/salsa-macro-rules" } +salsa-macros = { version = "0.19.0", path = "components/salsa-macros", optional = true } boxcar = "0.2.9" crossbeam-queue = "0.3.11" @@ -41,7 +41,7 @@ macros = ["dep:salsa-macros"] # which may ultimately result in odd issues due to the proc-macro # output mismatching with the declarative macro inputs [target.'cfg(any())'.dependencies] -salsa-macros = { version = "=0.18.0", path = "components/salsa-macros" } +salsa-macros = { version = "=0.19.0", path = "components/salsa-macros" } [dev-dependencies] # examples diff --git a/components/salsa-macro-rules/CHANGELOG.md b/components/salsa-macro-rules/CHANGELOG.md new file mode 100644 index 000000000..9ef25b2e1 --- /dev/null +++ b/components/salsa-macro-rules/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [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 + +### Other + +- Store view downcaster in function ingredients directly ([#720](https://github.com/salsa-rs/salsa/pull/720)) diff --git a/components/salsa-macro-rules/Cargo.toml b/components/salsa-macro-rules/Cargo.toml index ee3405fc4..71e4e3b47 100644 --- a/components/salsa-macro-rules/Cargo.toml +++ b/components/salsa-macro-rules/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salsa-macro-rules" -version = "0.18.0" +version = "0.19.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/components/salsa-macros/CHANGELOG.md b/components/salsa-macros/CHANGELOG.md new file mode 100644 index 000000000..f6a464ebb --- /dev/null +++ b/components/salsa-macros/CHANGELOG.md @@ -0,0 +1,25 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.19.0](https://github.com/salsa-rs/salsa/compare/salsa-macros-v0.18.0...salsa-macros-v0.19.0) - 2025-03-10 + +### Fixed + +- fix enums bug + +### Other + +- Store view downcaster in function ingredients directly ([#720](https://github.com/salsa-rs/salsa/pull/720)) +- :replace instead of std::mem::replace ([#746](https://github.com/salsa-rs/salsa/pull/746)) +- Cleanup `Cargo.toml`s ([#745](https://github.com/salsa-rs/salsa/pull/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 diff --git a/components/salsa-macros/Cargo.toml b/components/salsa-macros/Cargo.toml index be8692855..698b3868d 100644 --- a/components/salsa-macros/Cargo.toml +++ b/components/salsa-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salsa-macros" -version = "0.18.0" +version = "0.19.0" authors.workspace = true edition.workspace = true license.workspace = true