diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 459b3354..cb5be580 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,6 +20,9 @@ jobs: # Minimum supported version - version: 'min' os: ubuntu-latest + # 1.11 + - version: '1.11' + os: ubuntu-latest # Windows - version: '1' os: windows-latest diff --git a/.github/workflows/JuliaPre.yml b/.github/workflows/JuliaPre.yml index 6c005bfd..e3bf4a97 100644 --- a/.github/workflows/JuliaPre.yml +++ b/.github/workflows/JuliaPre.yml @@ -1,10 +1,13 @@ name: JuliaPre on: - push: - branches: - - main - pull_request: + workflow_dispatch: + # JuliaPre is currently disabled because 'pre' resolves to 1.12. Re-enable + # when 1.13 prerelease is available. + # push: + # branches: + # - main + # pull_request: # needed to allow julia-actions/cache to delete old caches that it has created permissions: diff --git a/HISTORY.md b/HISTORY.md index c7b61af0..026c849d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +## 0.13.3 + +Bumped compatibility for JSON.jl to include v1. + ## 0.13.2 Implemented `varname_leaves` for `LinearAlgebra.Cholesky`. diff --git a/Project.toml b/Project.toml index c1940ca2..471a9b3b 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,7 @@ uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" keywords = ["probablistic programming"] license = "MIT" desc = "Common interfaces for probabilistic programming" -version = "0.13.2" +version = "0.13.3" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" @@ -25,7 +25,7 @@ AbstractMCMC = "2, 3, 4, 5" Accessors = "0.1" DensityInterface = "0.4" Distributions = "0.25" -JSON = "0.19 - 0.21" +JSON = "0.19 - 0.21, 1" LinearAlgebra = "<0.0.1, 1.10" Random = "1.6" StatsBase = "0.32, 0.33, 0.34" diff --git a/src/varname/serialize.jl b/src/varname/serialize.jl index e27da781..7feb4896 100644 --- a/src/varname/serialize.jl +++ b/src/varname/serialize.jl @@ -171,4 +171,5 @@ varname_to_string(vn::VarName) = JSON.json(varname_to_dict(vn)) Convert a string representation of a `VarName` back to a `VarName`. The string should have been generated by `varname_to_string`. """ -string_to_varname(str::AbstractString) = dict_to_varname(JSON.parse(str)) +string_to_varname(str::AbstractString) = + dict_to_varname(JSON.parse(str; dicttype=Dict{String,Any}))