Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.15.7

Widened the `OrderedCollections` compat bound to `1.8.1, 2`. OrderedCollections 2.0 is a breaking release, but it removes only deprecated API — `similar(::OrderedDict)`/`similar(::OrderedSet)`, `sort(::Dict)` and `OrderedSet` indexing — turns `convert(OrderedDict, ::AbstractDict)` on an unordered dict into an error instead of a warning, makes `first`/`last` on an empty collection throw `ArgumentError`, and changes `OrderedDict`'s internal struct layout. AbstractPPL only ever constructs `OrderedDict`s (`dict_to_varname(JSON.parse(str; dicttype=OrderedDict{String,Any}))` in `src/varname/serialize.jl`), so none of that is reachable and the package works as-is.

## 0.15.6

Reuse gradient output buffers in the DifferentiationInterface extension via `value_and_gradient!`, including gradient calls on Hessian preparations. Returned gradients alias cache storage, consistent with the existing `!!` contract.
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf"
keywords = ["probabilistic programming"]
license = "MIT"
desc = "Common interfaces for probabilistic programming"
version = "0.15.6"
version = "0.15.7"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down Expand Up @@ -47,7 +47,7 @@ JSON = "0.19 - 0.21, 1"
LinearAlgebra = "<0.0.1, 1"
MacroTools = "0.5"
Mooncake = "0.5.27, 0.6"
OrderedCollections = "1.8.1"
OrderedCollections = "1.8.1, 2"
Random = "1.6"
StatsBase = "0.32, 0.33, 0.34"
Test = "1"
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Documenter = "0.26.3, 0.27, 1"
InvertedIndices = "1"
JET = "0.9, 0.10, 0.11"
OffsetArrays = "1"
OrderedCollections = "1"
OrderedCollections = "1, 2"
julia = "1"
Loading