Skip to content

Releases: sopherapps/funml

FunML v0.3.18

Choose a tag to compare

@Tinitto Tinitto released this 20 Mar 13:14

Added

  • Add ability to construct IList from generator

FunML v0.3.17

Choose a tag to compare

@Tinitto Tinitto released this 17 Mar 07:32

Changed

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

FunML v0.3.16

Choose a tag to compare

@Tinitto Tinitto released this 17 Mar 07:31

Added

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

FunML v0.3.15

Choose a tag to compare

@Tinitto Tinitto released this 17 Mar 07:31

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

Choose a tag to compare

@Tinitto Tinitto released this 17 Mar 07:30

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

Choose a tag to compare

@Tinitto Tinitto released this 17 Mar 07:29
1eae0d9

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

Choose a tag to compare

@Tinitto Tinitto released this 23 Feb 13:40

Fixed

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

FunML v0.3.11

Choose a tag to compare

@Tinitto Tinitto released this 23 Feb 13:40

Fixed

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

FunML v0.3.10

Choose a tag to compare

@Tinitto Tinitto released this 23 Feb 13:39

Fixed

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

FunML v0.3.9

Choose a tag to compare

@Tinitto Tinitto released this 23 Feb 13:39

Added

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