Releases: fable-compiler/Fable
5.0.0-alpha.11
Added
- [JS/TS] Add support for
CaseRules.LowerAll
onStringEnums
(by @shayanhabibi) - [Rust] Support Rust 2024 language edition (by @ncave)
- [JS/TS] Add
C
andc
format for numeric types (by @MangelMaxime) - [JS/TS] Add
B
andb
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
tochar
conversion checks (by @ManngelMaxime) -
[JS/TS] Propagate non-captured exception when running
Async.Start
orAsync.StartImmediate
(by @MangelMaxime) -
[JS/TS] Report an error at compilation time when trying to use
Async.RunSynchronously
(by @MangelMaxime) -
[JS/TS] Fix short
DateTime
andDateTimeOffset
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
Added
- [Python] - Print root module and module function comments (by @alfonsogarciacaro)
- [Rust] Add support for module comments (by @ncave)
- [Rust] Add support for null strings (by @ncave)
- [TS/JS]
Pojo
attribute support (by @alfonsogarciacaro)
Fixed
- [JS/TS] - Fix anonymous record printing (#4029) (by @alfonsogarciacaro)
- [Python] - Fix #3998: PhysicalEquality (by @alfonsogarciacaro)
- [Python] Resolve relative paths for non-qualified imports (#3481) (by @alfonsogarciacaro)
- [Python]
importSideEffects
shouldn't generate identifier (#3965) (by @alfonsogarciacaro) - [JS/TS] Fix #4031: Hoist vars locally in for and while loops (@alfonsogarciacaro)
Release 5.0.0-alpha.9
Fixed
- [All] Add
--realsig+
to fixMethod not found: 'Boolean Fable.CompilerOptions.Equals
(by @nojaf)
Release 5.0.0-alpha.8
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
Fixed
- [All] Disable .NET Welcome message when cracking project (#4014) (by @MangelMaxime)
Release 5.0.0-alpha.6
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
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
Fixed
- [TS] Make discriminated union
.Is*
properties works (@MangelMaxime) - [JS/TS/Python] Fix
h
inDateTime.ToString
(@MangelMaxime) - [JS/TS] Fix
hh
inDateTime.ToString
(@MangelMaxime) - [JS/TS] Don't generate the setter code if a property is decorated with
[<Erase>]
(@MangelMaxime)
5.0.0-alpha.3
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
Fixed
- [All] Allow Fable 5 to be used with Fable 4 plugins (@ncave)