5.0.0-alpha.20
Pre-release
Pre-release
·
5 commits
to main
since this release
Added
- [Python] Add
Array.skipWhilesupport (by @dbrattli) - [Python] Add
Array.takeWhilesupport (by @dbrattli) - [Python] Allow
IEnumerator_1as base class to fix typing issues (by @dbrattli) - [Python] Add Pythonic import path syntax for relative imports (
.module,..parent,...grandparent) (by @dbrattli) - [Python] Add
[<Py.DecorateTemplate>]attribute for creating custom decorator attributes (by @dbrattli) - [Python] Add
[<Py.ClassAttributesTemplate>]attribute for creating custom class attribute shortcuts (by @dbrattli) - [Python] Add
[<Py.DataClass>]as a built-in shorthand for[<Py.ClassAttributes(style = Attributes, init = false)>](by @dbrattli)
Fixed
- [Python] Fix String.Concat spread operator issue in Python transpilation (by @dbrattli)
- [Python] Fix regression
[<Erase>]on class types not preventing them from being emitted to Python (by @dbrattli) - [Python] Fix regression
%Aformat specifier to output booleans as lowercasetrue/false(by @dbrattli) - [Python] Fix various bugs in fable-library numeric types and string operations (by @dbrattli)
Changed
- [Python]
[<Py.Decorate>]now emits decorator strings verbatim and addsimportFromparameter for explicit import control (by @dbrattli)