Skip to content

Releases: fable-compiler/Fable

4.23.0

28 Oct 08:18
Compare
Choose a tag to compare

Added

  • [Rust] Added basic class inheritance support (by @ncave)
  • [Rust] Added String.Replace(char, char) and test (by @ncave)
  • [Rust] Support type extensions for external types (by @ncave)
  • [Rust] Support more System.Array methods and tests (by @ncave)
  • [Rust] Added decision tree multiple target references (by @ncave)
  • [Rust] Added Char surrogate tests for completeness (by @ncave)
  • [JS] Add System.String.Normalize support (by @DashieTM)
  • [JS] Allow [<Erase>] to work on members (by @MangelMaxime)

Fixed

  • [Rust] Updated derived traits mapping (by @ncave)
  • [Rust] Updated some collections equality (by @ncave)
  • [Rust] Fixed try finally handler order of execution (by @ncave)
  • [JS/TS/Python/Rust] Fixed String.StartsWith/EndsWith (#3934) (by @ncave)
  • [All/Rust] Removed Regex.Replace from hot paths (by @ncave)
  • [JS] Fix regression, generate let variable when using import on a private mutable variable (by @MangelMaxime)
  • [TS] Prevent generics to be duplicated (by @MangelMaxime)
  • [TS] Fix interface generation when decorated with Mangle (by @MangelMaxime)

4.22.0

02 Oct 06:50
Compare
Choose a tag to compare

Added

  • [Rust] Added support for Dictionary/HashSet comparers (by @ncave)
  • [Rust] Updated support for interface object expressions (by @ncave)
  • [Rust] Added missing ResizeArray methods and tests (by @ncave)
  • [Rust] Added Async.Sleep and test (by @ncave)

Fixed

  • GH-3900 [Python] Fix nuget packages with hypens in their names (by @MangelMaxime)
  • [Rust] Uncurry field types for object expressions (by @ncave)
  • [Rust] Fixed pattern matching on this argument (by @ncave)
  • [All] Fixed Missing DU member with interface (#3915) (by @ncave)
  • [TS] Fixed missing Async type signature (#3864) (by @MangelMaxime)

4.21.0

19 Sep 19:16
Compare
Choose a tag to compare

Added

  • [JS/TS] Add support for OrdinalIgnoreCase overload for String.EndsWith (#3892) (by @goswinr)
  • [JS/TS] Add uri.Port, uri.IsDefaultPort (by @MangelMaxime)

Changed

  • [Python] Remove $ sign when reporting an error from assert_equal and assert_not_equal (#3878) (by @joprice)
  • [All] Don't hide original error when failing to scan an assembly for plugin (#3896) (by @MangelMaxime)

Fixed

  • [JS/TS] Fix escaping of { and } in FormattableString (#3890) (by @roboz0r)
  • [JS/TS] Fix uri.Host to return the host name without the port (by @MangelMaxime)
  • [JS/TS] Fix TypeScript compilation by resolving type of jsOptions (#3894) (by @ManngelMaxime)

4.20.0

04 Sep 14:03
Compare
Choose a tag to compare

Added

  • [Rust] Added support for static interface calls (by @ncave)

Fixed

  • [All] Fixed passing delegates with unit args (#3862) (by @ncave)
  • [JS/TS] Fixed Decimal comparisons (#3884) (by @ncave)
  • [Rust] Fixed return type for byref body (by @ncave)

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)