Skip to content

Releases: fable-compiler/Fable

4.19.3

17 Jun 12:53
Compare
Choose a tag to compare

Fixed

  • [JS/TS] Fixed unwrapping optional arguments (#3847) (by @ncave)

4.19.2

13 Jun 19:50
Compare
Choose a tag to compare

Fixed

  • [JS/TS] Fixed BigInt.ToDecimal with negative values (#3500) (by @ncave)

4.19.1

13 Jun 19:16
Compare
Choose a tag to compare

Fixed

  • [All] Ignore testers for erased union cases (#3658) (by @ncave)
  • [All] Fixed Fable compiler hanging on some errors (#3842) (by @ncave)
  • [JS/TS] Fixed DateTime.MinValue, DateTime.MaxValue (#3836) (by @ncave)
  • [JS/TS] Fixed missing field using TypeScriptTaggedUnion (#3837) (by @ncave)

4.19.0

10 Jun 12:59
Compare
Choose a tag to compare

Fixed

4.18.0

23 May 15:30
Compare
Choose a tag to compare

Fixed

  • GH-3817 [All] Fix broken --precompiledLib switch (#3818) (by @DunetsNM)
  • [JS/TS] Fixed TimeSpan.FromMilliseconds (#3815) (by @ncave)
  • [Python] Fixed quotation for union string cases (by @dbrattli)
  • [Python] Fixed casing issues with identifiers and reflection info (#3811) (by @dbrattli)
  • [JS/TS/Python] Fixed interface static members (#3566) (by @ncave)

4.17.0

23 Apr 14:10
Compare
Choose a tag to compare

Added

  • [Rust] Added support for XmlDoc comments (by @ncave)
  • [Rust] Support captures in object expressions (by @ncave)
  • [Rust] Added type extensions support (by @ncave)
  • [Rust] Added Char implementation module (by @ncave)

Fixed

  • [Python] Fixes for custom hash values (#3796) (by @dbrattli)
  • [Python] Fix for import of camelCased class (#3808) (by @dbrattli)
  • [JS/TS] Fixed optional args for reflection (by @ncave)
  • [JS/TS] Fixed type visibility when parent is namespace (by @ncave)
  • [JS/TS] Fixed DateTimeOffset.ToString with custom format (by @ncave)
  • [Rust] Fixed property get on constrained generic types (by @ncave)
  • [Rust] Fixed module member imports (by @ncave)

4.16.0

20 Mar 08:51
Compare
Choose a tag to compare

Added

  • [JS/TS] Add ConditionalWeakTable (by @chkn)

4.15.0

18 Mar 09:29
Compare
Choose a tag to compare

Fixed

  • [JS/TS] Fixed DateTime.Add for DateTimeKind.Unspecified (by @ncave)
  • [Rust] Fixed deprecated NaiveDateTime usage in DateTime (by @ncave)
  • [Rust] Fixed generic interface implementation types (by @ncave)
  • [Rust] Fixed Dictionary constructor from IEnumerable (by @ncave)
  • [Rust] Fixed Seq.cast support for arrays and lists (by @ncave)
  • [JS/TS] Boolean.tryParse should not crash on null string (@goswinr)

Added

  • [Rust] Added some boxing support (by @ncave)

4.14.0

01 Mar 08:43
Compare
Choose a tag to compare

Changed

Fixed

  • GH-3769 [All] Local plugin build does not run indefinably. (by @nojaf)
  • GH-3769 [JS/TS] Types hidden by signature files should not be exported. (by @nojaf)
  • GH-3772 [JS/TS] Re-implement DateTime.ToString custom format handling (by @MangelMaxime)
    It now supports all custom format specifiers, and behave as if CultureInfo.InvariantCulture was used (Fable does not support Globalization).
  • GH-3772 [JS/TS] Make compilation fails if calling DateTime constructor with microseconds (by @MangelMaxime)
    JavaScript Date does not support microseconds, we need to wait for Temporal to be widely supported before reconsidering this.
  • GH-3773 [Python] Fix DateTime custom format fffffff and FFFFFFF (by @MangelMaxime)

4.13.0

20 Feb 20:26
Compare
Choose a tag to compare

Added

JavaScript

Rust

  • GH-3761 Added StringBuilder.Chars, StringBuilder.Remove and tests. (by @ncave)

Dart

Changed

JavaScript

  • GH-3761 Updated StringBuilder to remove allocations where possible. (by @ncave)

Python

  • GH-3761 Updated StringBuilder to remove allocations where possible. (by @ncave)

Fixed

JavaScript

Python

  • GH-3761 Fixed incorrect StringBuilder.Remove implementation. (by @ncave)