Skip to content

Releases: sopherapps/funml

FunML v0.3.18

20 Mar 13:14
Compare
Choose a tag to compare

Added

  • Add ability to construct IList from generator

FunML v0.3.17

17 Mar 07:32
Compare
Choose a tag to compare

Changed

  • Added IList to the list of exports of the funml package

FunML v0.3.16

17 Mar 07:31
Compare
Choose a tag to compare

Added

  • Add the get_annotations class method to records so as to hide the potentially unevaluated __annotations__

FunML v0.3.15

17 Mar 07:31
Compare
Choose a tag to compare

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

17 Mar 07:30
Compare
Choose a tag to compare

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

17 Mar 07:29
1eae0d9
Compare
Choose a tag to compare

Added

  • Added to_json and from_json builtin expressions

Changed

  • Changed IList to a generic subscriptable type just like List e.g. IList[str]

Fixed

  • Fixed how records load lazy annotations

FunML v0.3.12

23 Feb 13:40
Compare
Choose a tag to compare

Fixed

  • Fix TypeError: isinstance() arg 2 must be a type or tuple of types when records have Enum fields

FunML v0.3.11

23 Feb 13:40
Compare
Choose a tag to compare

Fixed

  • Fix TypeError: isinstance() argument 2 cannot be a parameterized generic in python 3.11

FunML v0.3.10

23 Feb 13:39
Compare
Choose a tag to compare

Fixed

  • Fix TypeError in records: isinstance() argument cannot be a parameterized generic

FunML v0.3.9

23 Feb 13:39
Compare
Choose a tag to compare

Added

  • Extend types in record to handle "..." and "bool | None" etc.