From e0f39488130457172e297435c92a9665b9a48189 Mon Sep 17 00:00:00 2001 From: Hong Ge Date: Tue, 14 Jul 2026 21:44:36 +0100 Subject: [PATCH] Allow Mooncake 0.6 Mooncake 0.6 is a breaking release (forward-mode redesign); the reverse-mode rule API used by DynamicPPLMooncakeExt (`@zero_derivative`, `DefaultCtx`) is unchanged, so the extension works as-is. Widen the `Mooncake` compat bound to add `0.6` (package and test env) and bump the patch version. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01SRMQzvS6gE7QGen3U7wURH --- Project.toml | 4 ++-- test/Project.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index cbabc7812..546754094 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DynamicPPL" uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8" -version = "0.42.1" +version = "0.42.2" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" @@ -70,7 +70,7 @@ LogDensityProblems = "2" MCMCChains = "6, 7" MacroTools = "0.5.6" MarginalLogDensities = "0.4.3" -Mooncake = "0.4.147, 0.5" +Mooncake = "0.4.147, 0.5, 0.6" OrderedCollections = "1" PartitionedDistributions = "0.0.1" PrecompileTools = "1.2.1" diff --git a/test/Project.toml b/test/Project.toml index a14ce0bb1..8df3dd1de 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -52,7 +52,7 @@ ForwardDiff = "0.10.12, 1" InvertedIndices = "1" LogDensityProblems = "2" MCMCChains = "7.2.1" -Mooncake = "0.4, 0.5" +Mooncake = "0.4, 0.5, 0.6" OffsetArrays = "1" OrderedCollections = "1" StableRNGs = "1"