Skip to content

v0.13.0

Choose a tag to compare

@ConnorStoneAstro ConnorStoneAstro released this 04 Dec 20:57
· 7 commits to main since this release
1b61d11

What's Changed

Breaking changes

the functions dynamic_value, static_value, and pointer_func no longer exist. Instead it is now possible to pass a value when calling to_dynamic(val) or to_static(val). For completeness to_pointer(val) now exists where val should be None, a Param, or a callable.

Calling param.to_static(None) will set the param to static and leave the value as None (presumably to be filled later). This will still crash if you try to use it in a simulation, but gives the user some freedom to define the workflow of how the value gets filled.

Full Changelog: v0.12.1...v0.13.0