Skip to content

Releases: fable-compiler/Fable

5.0.0-alpha.11

03 Mar 16:51
Compare
Choose a tag to compare
5.0.0-alpha.11 Pre-release
Pre-release

Added

  • [JS/TS] Add support for CaseRules.LowerAll on StringEnums (by @shayanhabibi)
  • [Rust] Support Rust 2024 language edition (by @ncave)
  • [JS/TS] Add C and c format for numeric types (by @MangelMaxime)
  • [JS/TS] Add B and b format for numeric types (by @MangelMaxime)
  • [JS/TS] Add n format for numeric types (by @MangelMaxime)
  • [JS/TS] Generate compiler error when detecting an invalid/unsupported format specifier for numeric types (by @MangelMaxime)

Fixed

  • [JS/TS] Fix #4025: No reflection info for pojos (by @alfonsogarciacaro)

  • [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)

  • [JS/TS] Fix decimal to char conversion checks (by @ManngelMaxime)

  • [JS/TS] Propagate non-captured exception when running Async.Start or Async.StartImmediate (by @MangelMaxime)

  • [JS/TS] Report an error at compilation time when trying to use Async.RunSynchronously (by @MangelMaxime)

  • [JS/TS] Fix short DateTime and DateTimeOffset short format strings (by @MangelMaxime)

  • [All] Don't scan system packages for plugins (by @MangelMaxime)

  • [JS/TS] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)

  • [Python] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)

  • [JS/TS] Fix #4010: Supports direct nested types when using jsOptions (by @MangelMaxime)

    let opts =
        jsOptions<Level1> (fun o ->
            o.level2.level3.valueA <- 10
            o.level2.level3.valueB <- 20
            o.topValueA <- 20
        )
  • [JS/TS] Fix numeric formats (by @MangelMaxime)

Changed

  • [JS/TS] Throw an error is an invalid Numeric format is provided (mimic .NET behavior) (by @MangelMaxime)

5.0.0-alpha.10

16 Feb 15:41
Compare
Choose a tag to compare
5.0.0-alpha.10 Pre-release
Pre-release

Added

Fixed

Release 5.0.0-alpha.9

28 Jan 09:50
Compare
Choose a tag to compare
Release 5.0.0-alpha.9 Pre-release
Pre-release

Fixed

  • [All] Add --realsig+ to fix Method not found: 'Boolean Fable.CompilerOptions.Equals (by @nojaf)

Release 5.0.0-alpha.8

27 Jan 14:24
c96bebd
Compare
Choose a tag to compare
Release 5.0.0-alpha.8 Pre-release
Pre-release

Added

  • [TS] Include XML Doc comment on interface properties (by @Freymaurer)
  • [TS] Generate interface type when using the "ParamObject" class pattern (by @MangelMaxime)
  • [Rust] - Initial support for null values (by @ncave)

Release 5.0.0-alpha.7

23 Jan 10:18
Compare
Choose a tag to compare
Release 5.0.0-alpha.7 Pre-release
Pre-release

Fixed

Release 5.0.0-alpha.6

23 Jan 08:47
Compare
Choose a tag to compare
Release 5.0.0-alpha.6 Pre-release
Pre-release

Added

  • [All] Add StringBuiler.Append(c: char, repeatCount: int) overload (by @roboz0r)
  • [All] Added primitive types equality and comparison (by @ncave)
  • [All] Updated FCS to latest F# 9.0 (by @ncave)
  • [All] Updated Fable-FCS to latest F# 9.0 (by @ncave)
  • [All] Updated metadata to latest .NET 9.0 (by @ncave)
  • [All] Updated FCS type constraints (by @ncave)

Fixed

  • [Py] Add missing unicode categories in python library (by @joprice)
  • [All] Log JSON output if we fail to parse MSBuild result (by @MangelMaxime)

Release 5.0.0-alpha.5

09 Jan 08:36
Compare
Choose a tag to compare
Release 5.0.0-alpha.5 Pre-release
Pre-release

Added

  • [JS/TS/Python] Add new TimeSpan overloads support coming from .NET 9.0 (by @MangelMaxime)
  • [Rust] Add new TimeSpan overloads support coming from .NET 9.0 (by @ncave)

Fixed

  • [JS/TS] Fix DateTimeOffset.ToLocalTime (by @MangelMaxime)
  • [All] Don't fails silently if an unknown argument is provided, instead log the error and print the help message (by @MangelMaxime)

Release 5.0.0-alpha.4

03 Jan 14:05
e98cf5e
Compare
Choose a tag to compare
Release 5.0.0-alpha.4 Pre-release
Pre-release

Fixed

  • [TS] Make discriminated union .Is* properties works (@MangelMaxime)
  • [JS/TS/Python] Fix h in DateTime.ToString (@MangelMaxime)
  • [JS/TS] Fix hh in DateTime.ToString (@MangelMaxime)
  • [JS/TS] Don't generate the setter code if a property is decorated with [<Erase>] (@MangelMaxime)

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)