Skip to content

5.0.0-alpha.20

Pre-release
Pre-release

Choose a tag to compare

@MangelMaxime MangelMaxime released this 08 Dec 14:00
· 5 commits to main since this release

Added

  • [Python] Add Array.skipWhile support (by @dbrattli)
  • [Python] Add Array.takeWhile support (by @dbrattli)
  • [Python] Allow IEnumerator_1 as 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 %A format specifier to output booleans as lowercase true/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 adds importFrom parameter for explicit import control (by @dbrattli)