Releases: sopherapps/funml
Releases · sopherapps/funml
FunML v0.3.18
FunML v0.3.17
Changed
- Added
IList
to the list of exports of thefunml
package
FunML v0.3.16
Added
- Add the
get_annotations
class method to records so as to hide the potentially unevaluated__annotations__
FunML v0.3.15
Added
- Add repr to data types of Record, Enum and IList
Fixed
- Fix incomplete json parsing of records due to nested typing.ForwardRefs in field annotations.
FunML v0.3.14
Fixed
- Fixed incompatible JSON error produced wit to_json on enums that have no associated data or whose data is
str
FunML v0.3.13
Added
- Added
to_json
andfrom_json
builtin expressions
Changed
- Changed
IList
to a generic subscriptable type just likeList
e.g.IList[str]
Fixed
- Fixed how records load lazy annotations
FunML v0.3.12
Fixed
- Fix TypeError: isinstance() arg 2 must be a type or tuple of types when records have Enum fields
FunML v0.3.11
Fixed
- Fix TypeError: isinstance() argument 2 cannot be a parameterized generic in python 3.11
FunML v0.3.10
Fixed
- Fix TypeError in records: isinstance() argument cannot be a parameterized generic
FunML v0.3.9
Added
- Extend types in record to handle "..." and "bool | None" etc.