Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/JuliaPre.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.13.3

Bumped compatibility for JSON.jl to include v1.

## 0.13.2

Implemented `varname_leaves` for `LinearAlgebra.Cholesky`.
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 = ["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"
Expand All @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/varname/serialize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}))
Loading