3. Changelog
Highlights and breaking API changes for recent Nerodia versions appear here. Nerodia versioning currently follows Lean's and thus does not follow semantic versioning. Instead, a new version of Nerodia is released for each minor Lean version (i.e., Nerodia 4.X for Lean 4.X.Y), usually once per month.
Nerodia publishes a Git branch for each Lean minor version and a Git tag for
each Lean patch version. The branch is named release/lean-v4.X for minor
version X and the tag is named lean-v4.X.Y for patch version Y. For example,
Nerodia has a release/lean-v4.33 branch and lean-v4.33.0 and lean-v4.33.1
tags for the Lean v4.33.X stable releases.
If Nerodia needs to update a release, it will be listed here as a new patch
version, and the corresponding Git branch along with the Git tag for the latest
Lean stable release will be updated to point to it. For example, if a patch
for 4.33 was released and the latest Lean stable is 4.33.1, the
release/lean-v4.33 branch and lean-v4.33.1 tag will be updated, but the
lean-v4.33.0 tag will not.
It is recommended that users depend on the
release/lean-v4.X branch for the minimum combination of Nerodia and Lean
toolchain they support. Nerodia aims to be generally forward-compatible in
its API, and an old version of Nerodia is often compatible with multiple newer
toolchains.
3.1. Nerodia for Lean 4.35
-
PyFloatandFloattype conversions.
3.2. Nerodia for Lean 4.34
-
Introduction of this reference manual.
Refactors
-
Breaking change:
Py.Rawhas been removed from the public API as part of a refactor ofTypingand the⦂relation. It is now internal and most of its uses should be replaced withPyObject. -
Breaking change:
OfPyArg,MkPyResult,MkCPyResult, andPyCResultIOhave been removed from the public API and are now internal. However, the compiler type conversions they provide are still part of the public surface and are still stable in this version. -
Deprecated
IsSubtypeOfin favor of the newPromotableclasses.
Types and Type Conversions
-
Optiontype conversions. -
PyBoolandBooltype conversions. -
ByteArrayproducesbytesas a result type (see type conversions). -
Python integer support for fixed-width Lean integer types (
IntX,UIntX).
API
-
Fleshed out object attributes, adding
setAttrByString,setAttr, andgetAttr. -
Basics for calling 0-arity and 1-arity Python functions (
call0,call1).
3.3. Nerodia for Lean 4.33
-
Initial release.