Skip to content

Releases: fable-compiler/Fable

4.3.0

18 Oct 08:56
Compare
Choose a tag to compare

Added

Python

Changed

JavaScript

  • Improve error messages for Decimal.Parse, Double.Parse, Int32.Parse, Long.Parse (by @ncave)

Rust

  • Improve error messages for BigInt.Parse, DateOnly.Parse, DateTime.Parse, DateTimeOffset.Parse, Decimal.Parse, TimeOnly.Parse (by @ncave)

Python

  • Improve error messages for Double.Parse, Int32.Parse, Long.Parse (by @ncave)
  • Refactored async trampoline leveraging asyncio mainloop. (by @dbrattli)

Fixed

JavaScript

  • Fix #3541: Interface imported in generated javascript when DU has an interface type constraint (by @ncave)

Python

4.2.2

14 Oct 12:33
Compare
Choose a tag to compare

Fixed

  • [Python] Fix #3527: Fix error name '...' is not defined (by @dbrattli)
  • [Python] Fix #3496: Python target is confused with class taking a length: int argument (by @dbrattli)

4.2.1

29 Sep 09:45
Compare
Choose a tag to compare
  • Fix package to include Fable libraries folders

4.2.0

29 Sep 09:07
Compare
Choose a tag to compare
  • Fix #3480: Function decorated with [<NamedParams>] without arguments provided should take an empty object

  • Fix #3494: Calling an attached parametrized getter fails in transpiled javascript

  • Remove fable-py support

  • Fix #3461: Don't default to javascript if the language requested by the user is unknown (help detect typo)

  • Improve --help message for the --lang section

  • Fix #3464: Invalidate cache when the target language changes

  • Always delete the fable_modules folder when the cache is invalidated

  • Remove --typescript options support, use --lang <target> instead

  • Fix #3441: Don't ignore error when loading plugin

  • Fix #3482: Remove Py.python and Py.expr_python use emitPyStatement and emitPyExpr instead

  • Restrict replacements to accept only functions from their target language module

  • Fix #3528: Consider functions hidden by a signature file as private (@nojaf)

  • Improve error message when Fable doesn't find the fable-library folder.

    This is especially useful when working on Fable itself, and should save time to others.
    Each time I got this is error, I needed several minutes to remember the cause of it.

4.1.4

16 May 13:19
Compare
Choose a tag to compare
  • Fix #3438: Source maps
  • Fix #3440: Don't curry arity-1 functions
  • Fix #3452: DateTimeOffset conversion to DateTime
  • Fix regression: Don't type test interfaces declared in F# code
  • Rust: Added no_std test build
  • Rust: Added regex support
  • Rust: Fixed no_std support
  • Rust: Fixed uncurried options
  • Rust: Enabled some applicative tests
  • Rust: Enabled some tests
  • Rust: Updated switch transform (#3449)
  • Rust: Updated dependencies (#3447)
  • Rust: Fixed interface properties (#3445)
  • Rust: Updated object equality (#3444)
  • Rust: Enabled some Comparison tests (#3442)
  • Rust: Added DateOnly, TimeOnly tests
  • Rust: Added DateTimeOffset tests
  • Rust: Updated TimeSpan
  • Rust: Added DateTimeOffset

3.7.22

11 May 16:19
Compare
Choose a tag to compare
  • Fix typo in error message when using Fable 3 from .NET 7 @MangelMaxime

3.7.21

11 May 16:03
Compare
Choose a tag to compare

4.1.3

28 Apr 18:07
Compare
Choose a tag to compare
  • JS/TS/Rust: Added bigint log, log2, log10, minMag, maxMag
  • TS: Fix extension of files in fable_modules with out dir
  • TS: Support annotations of StringEnum and TypeScriptTaggedUnion types
  • JS/TS: Output JS docs
  • Fix range of inlined functions

4.1.2

22 Apr 08:59
Compare
Choose a tag to compare
  • Print minimum fable-library version from npm

4.1.1

22 Apr 01:22
Compare
Choose a tag to compare
  • Fix fable-library package.json