Skip to content

Releases: fable-compiler/Fable

5.0.0-alpha.3

18 Dec 10:26
Compare
Choose a tag to compare
5.0.0-alpha.3 Pre-release
Pre-release

Fixed

  • [Python] Fix type testing against uint8, uint32, uint64, decimal (@MangelMaxime)
  • [JS/TS] Workaround source map generation bug (deteriorate them a little) (@MangelMaxime)

5.0.0-alpha.2

26 Nov 20:11
Compare
Choose a tag to compare
5.0.0-alpha.2 Pre-release
Pre-release

Fixed

  • [All] Allow Fable 5 to be used with Fable 4 plugins (@ncave)

5.0.0-alpha.1

24 Nov 15:48
Compare
Choose a tag to compare
5.0.0-alpha.1 Pre-release
Pre-release

Added

  • [All] Add --legacyCracker as a fallback

Changed

  • [All] Make MSBuildCracker the default
  • [All] Replace FABLE_COMPILER_4 with FABLE_COMPILER_5 as the compiler directive
  • [All] Move TargetFramework to net8.0

4.24.0

19 Nov 17:26
Compare
Choose a tag to compare

Added

  • [JS/TS] Added missing ResizeArray.CopyTo replacements (by @ncave)
  • [JS/TS] Added missing Dictionary constructors from enumerable (by @ncave)

Fixed

  • [Rust] Fixed import path rewrite (by @ncave)
  • [Rust] Updated derived interfaces (by @ncave)
  • [Rust] Updated string comparisons (by @ncave)
  • [Rust] Fixed derived traits mapping (by @ncave)
  • [JS/TS] Added missing ICollection helpers (#3914) (by @ncave)
  • [JS/TS] Added missing IReadOnlyCollection helpers (by @ncave)

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)