Releases: fable-compiler/Fable
Releases · fable-compiler/Fable
4.8.1
4.8.0
Added
Python
- GH-3645 Add
TimeSpan.Parse
andTimeSpan.TryParse
support to Python (by @MangelMaxime) - GH-3649 Fixes for
List.sortBy
(by @dbrattli) - GH-3638 Fixes for
Array.sort
andArray.sortDescending
(by @dbrattli)
Fixed
JavaScript
Python
Changed
All
- Updated FCS to fce0cf00585c12174fa3e51e4fc34afe784b9b4e (by @ncave)
-
- GH-3675 Breaking Change
static
members always requirestatic member
, disregarding FCS from F# v7.0 and early v8.0 supported dismissing themember
keyword.
- GH-3675 Breaking Change
4.7.0
Added
All
- Overall performance improvements
Fixed
All
- GH-3603 Missing
.gitignore
file in the generated `fable_modules/`` folder (by @MangelMaxime)
Python
- GH-3617: Fix comparaison between list option when one is None (by @MangelMaxime)
- GH-3615: Fix remove from dictionary with tuple as key (by @dbrattli)
- GH-3598: Using obj () now generated an empty dict instead of None (by @dbrattli)
- GH-3597: Do not translate .toString methods to str (by @dbrattli)
- GH-3610: Cleanup Python regex handling (by @dbrattli)
- GH-3628: System.DateTime.Substract not correctly transpiled (by @dbrattli)
- GH-3640: All union cases return the same hash code (by @dbrattli)
4.6.0
Added
All
Python
- Support
DateTime(..., DateTimeKind.Utc).ToString("O")
(by @MangelMaxime)
Rust
- Added
Guid.TryParse
,Guid.ToByteArray
(by @ncave)
Changed
All
- Updated .NET metadata to 8.0.100 (by @ncave)
Fixed
Python
- Fixed char to string type regression with binary operator (by @dbrattli)
- Fix
DateTime(..., DateTimeKind.Local).ToString("O")
(by @MangelMaxime) - Fix calling
value.ToString(CultureInfo.InvariantCulture)
(by @MangelMaxime) - Fix #3605: Fix record equality comparison to works with optional fields (by @MangelMaxime and @dbrattli)
- PR #3608: Rewrite
time_span.py
allowing for better precision by using a number representation intead of nativetimedelta
. (by @MangelMaxime)
4.5.0
Changed
Python
- Use
Any
type for all non-repeated generic arguments (by @dbrattli) - Don't generate unnecessary type type-vars if generic type is replaced by
Any
(by @dbrattli) - Generate new style
_T | None
instead ofOptional[_T]
(by @dbrattli)
Rust
- Support multiple namespaces sharing a prefix in the same file (by @ncave)
- Support imports with the same namespace across multiple files (by @ncave)
Fixed
JavaScript
4.4.1
Changed
All
- Fix #3567: Turn off FCS warning 3560 by default (by @vzarytovskii)
Fixed
Rust
- Fixed recursive lambda captured idents cloning (by @ncave)
4.4.0
Changed
All
- Updated FCS to bd66d54b1ac4dd0f252c0a37196c2ccd54628356 (by @ncave)
JavaScript
- Support (un)curry up to 20 arguments (by @MangelMaxime)
Python
- Remove support for Python 3.9. Add GH testing for Python 3.12 (by @dbrattli)
- Support (un)curry up to 20 arguments (by @MangelMaxime)
Dart
- Support (un)curry up to 20 arguments (by @MangelMaxime)
4.3.0
Added
Python
- Added
Async.StartChild
(by @dbrattli) - Fix #3482: Revert removal of
Py.python
andPy.expr_python
(by @dbrattli)
Changed
JavaScript
- Improve error messages for
Decimal.Parse
,Double.Parse
,Int32.Parse
,Long.Parse
(by @ncave)
Rust
- Improve error messages for
BigInt.Parse
,DateOnly.Parse
,DateTime.Parse
,DateTimeOffset.Parse
,Decimal.Parse
,TimeOnly.Parse
(by @ncave)
Python
- Improve error messages for
Double.Parse
,Int32.Parse
,Long.Parse
(by @ncave) - Refactored async trampoline leveraging asyncio mainloop. (by @dbrattli)
Fixed
JavaScript
- Fix #3541: Interface imported in generated javascript when DU has an interface type constraint (by @ncave)
Python
- Fixed
Async.Parallel
(by @dbrattli)
4.2.2
4.2.1
- Fix package to include Fable libraries folders