From 0aa6cf5326d4d68d3002f62e5c6937dc9e6e3a1b 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 and the prepared-cache API used by AbstractPPLMooncakeExt (`prepare_gradient_cache`, `prepare_derivative_cache`, `prepare_hessian_cache`, `value_and_gradient!!`, `value_gradient_and_hessian!!`, `AutoMooncake`, `AutoMooncakeForward`) are unchanged, so the extension works as-is. Widen the `Mooncake` compat bound to `0.5.27, 0.6` (package and mooncake 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/ext/mooncake/Project.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index d31b454f..ced2ac6c 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,7 @@ uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" keywords = ["probabilistic programming"] license = "MIT" desc = "Common interfaces for probabilistic programming" -version = "0.15.4" +version = "0.15.5" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" @@ -46,7 +46,7 @@ ForwardDiff = "0.10, 1" JSON = "0.19 - 0.21, 1" LinearAlgebra = "<0.0.1, 1" MacroTools = "0.5" -Mooncake = "0.5.27" +Mooncake = "0.5.27, 0.6" OrderedCollections = "1.8.1" Random = "1.6" StatsBase = "0.32, 0.33, 0.34" diff --git a/test/ext/mooncake/Project.toml b/test/ext/mooncake/Project.toml index 8feb522b..1bf4d769 100644 --- a/test/ext/mooncake/Project.toml +++ b/test/ext/mooncake/Project.toml @@ -9,5 +9,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] ADTypes = "1" AbstractPPL = "0.15.4" -Mooncake = "0.5.27" +Mooncake = "0.5.27, 0.6" julia = "1.10"