Releases: fable-compiler/Fable
Releases · fable-compiler/Fable
4.19.0
Fixed
- [TS] Fixed interface indexers (#3830) (by @ncave)
- GH-3835 [All] Use case insensitive comparison when searching for dependencies between fable packages (by @ThisFunctionalTom)
4.18.0
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
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
4.15.0
Fixed
- [JS/TS] Fixed
DateTime.Add
forDateTimeKind.Unspecified
(by @ncave) - [Rust] Fixed deprecated
NaiveDateTime
usage inDateTime
(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 onnull
string (@goswinr)
Added
- [Rust] Added some boxing support (by @ncave)
4.14.0
Changed
- GH-3772 [JS/TS] Split replacement for
DateTime
andDateTimeOffset
(by @MangelMaxime)
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 ifCultureInfo.InvariantCulture
was used (Fable does not support Globalization). - GH-3772 [JS/TS] Make compilation fails if calling
DateTime
constructor with microseconds (by @MangelMaxime)
JavaScriptDate
does not support microseconds, we need to wait forTemporal
to be widely supported before reconsidering this. - GH-3773 [Python] Fix
DateTime
custom formatfffffff
andFFFFFFF
(by @MangelMaxime)
4.13.0
Added
JavaScript
- GH-3759 Add
StringBuilder.Chars
(by @MangelMaxime) - Added range overload for
String.ToCharArray
(by @ncave)
Rust
Dart
Changed
JavaScript
Python
Fixed
JavaScript
- GH-3748 Accessing an array out of bounds should emit an exception (by @MangelMaxime)
- GH-3748 Setting an array out of bounds should emit an exception (by @MangelMaxime)
- GH-3761 Fixed incorrect
StringBuilder.Remove
implementation. (by @ncave)
Python
4.12.2
Changed
- Update to Fable.AST 4.4.0
4.12.1
4.12.0
Added
All
- GH-3733 GH-3727 Add support for more
Result
API (by @zprobinson)Result.isOk
Result.isError
Result.Contains
Result.Count
Result.DefaultValue
Result.DefaultWith
Result.Exists
Result.Fold
Result.FoldBack
Result.ForAll
Result.Iterate
Result.ToArray
Result.ToList
Result.ToOption
- GH-3721 Add
--test:MSBuildCracker
flag allowing to use the experimental MSBuildCracker (by @nojaf)
JavaScript
- GH-3745 Add support for
ListCollector
(by @nojaf)instance.Add
instance.AddMany
instance.AddManyAndClose
instance.Close
Changed
JavaScript
- GH-3749 Rename
fable-library
tofable-library-js
(by @MangelMaxime)
Removed
JavaScript
- Remove
Choice.d.ts
from source code offable-library
(by @MangelMaxime)
TypeScript
- Remove
Choice.d.ts
from source code offable-library
(by @MangelMaxime)
Fixed
Python
- GH-3717 Nested type with Custom Equality gives false negative equality (by @dbrattli)
- Generate assert statements for
assert
expressions in debug mode (by @dbrattli)