From c7e9f389e7f16e63cea562303c8493cdc3b8a715 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Wed, 15 Jul 2026 06:21:19 +0530 Subject: [PATCH 1/3] Add HISTORY.md entry for 0.42.2 --- HISTORY.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 7f90d3af7..5978c4337 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +# 0.42.2 + +Widened the `Mooncake` compat bound to `0.4.147, 0.5, 0.6`. Mooncake 0.6 is a breaking release (forward-mode redesign), but the reverse-mode rule API `DynamicPPLMooncakeExt` uses (`Mooncake.@zero_derivative`) and the prepared-cache API it relies on via AbstractPPL are unchanged, so no code changes were needed. + # 0.42.1 Fixed a type-inference failure that made nested submodels (a `~ to_submodel(...)` statement inside a model that is itself evaluated as a submodel) very slow. From 64e46af1eb8312416c3eb0994d11d001c1c89cad Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Wed, 15 Jul 2026 06:21:46 +0530 Subject: [PATCH 2/3] Widen benchmarks Mooncake compat to include 0.6, missed in #1436 --- benchmarks/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/Project.toml b/benchmarks/Project.toml index 8133937b0..b5e3011f3 100644 --- a/benchmarks/Project.toml +++ b/benchmarks/Project.toml @@ -30,7 +30,7 @@ DynamicPPL = "0.42" Enzyme = "0.13" ForwardDiff = "1" LogDensityProblems = "2.1.2" -Mooncake = "0.4, 0.5" +Mooncake = "0.4, 0.5, 0.6" PrettyTables = "3" ReverseDiff = "1.15.3" StableRNGs = "1" From a4dd1cffdc3ae0430e86b4b1cc3f8603d9b24c2a Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Wed, 15 Jul 2026 06:22:44 +0530 Subject: [PATCH 3/3] Bump self-referential DynamicPPL compat pins to 0.42.2 --- test/Project.toml | 2 +- test/ext/DynamicPPLEnzymeCoreExt/Project.toml | 2 +- test/ext/DynamicPPLMarginalLogDensitiesExt/Project.toml | 2 +- test/ext/DynamicPPLReverseDiffExt/Project.toml | 2 +- test/floattypes/Project.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index ef6a5d09d..03f549ddd 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -48,7 +48,7 @@ DifferentiationInterface = "0.6.41, 0.7" DimensionalData = "0.30" Distributions = "0.25" Documenter = "1" -DynamicPPL = "0.42.1" +DynamicPPL = "0.42.2" ForwardDiff = "0.10.12, 1" InvertedIndices = "1" LogDensityProblems = "2" diff --git a/test/ext/DynamicPPLEnzymeCoreExt/Project.toml b/test/ext/DynamicPPLEnzymeCoreExt/Project.toml index 73a661e32..bb0d1ff3c 100644 --- a/test/ext/DynamicPPLEnzymeCoreExt/Project.toml +++ b/test/ext/DynamicPPLEnzymeCoreExt/Project.toml @@ -16,6 +16,6 @@ ADTypes = "1.22.1" AbstractPPL = "0.15.4" Bijectors = "0.16.2" DifferentiationInterface = "0.7.20" -DynamicPPL = "0.42.1" +DynamicPPL = "0.42.2" Enzyme = "0.13.184" ForwardDiff = "1.4.1" diff --git a/test/ext/DynamicPPLMarginalLogDensitiesExt/Project.toml b/test/ext/DynamicPPLMarginalLogDensitiesExt/Project.toml index ef68b3192..181af5901 100644 --- a/test/ext/DynamicPPLMarginalLogDensitiesExt/Project.toml +++ b/test/ext/DynamicPPLMarginalLogDensitiesExt/Project.toml @@ -16,6 +16,6 @@ ADTypes = "1" AbstractPPL = "0.15.4" Bijectors = "0.16" Distributions = "0.25" -DynamicPPL = "0.42.1" +DynamicPPL = "0.42.2" ForwardDiff = "0.10.12, 1" MarginalLogDensities = "0.4" diff --git a/test/ext/DynamicPPLReverseDiffExt/Project.toml b/test/ext/DynamicPPLReverseDiffExt/Project.toml index b14d4384f..6f924a72f 100644 --- a/test/ext/DynamicPPLReverseDiffExt/Project.toml +++ b/test/ext/DynamicPPLReverseDiffExt/Project.toml @@ -20,7 +20,7 @@ AbstractPPL = "0.15.4" Bijectors = "0.16.2" DifferentiationInterface = "0.6.41, 0.7" Distributions = "0.25.129" -DynamicPPL = "0.42.1" +DynamicPPL = "0.42.2" ForwardDiff = "1.4.1" LogDensityProblems = "2.2.0" ReverseDiff = "1" diff --git a/test/floattypes/Project.toml b/test/floattypes/Project.toml index a1149a9f5..7001c42e0 100644 --- a/test/floattypes/Project.toml +++ b/test/floattypes/Project.toml @@ -18,6 +18,6 @@ AbstractPPL = "0.15.4" Bijectors = "0.16.2" DifferentiationInterface = "0.7.20" Distributions = "0.25.129" -DynamicPPL = "0.42.1" +DynamicPPL = "0.42.2" ForwardDiff = "1.4.1" LogDensityProblems = "2.2.0"