Fable 5.0.0-alpha.13

This is a prerelease version of Fable.
dotnet tool install --global Fable --version 5.0.0-alpha.13
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Fable --version 5.0.0-alpha.13
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Fable&version=5.0.0-alpha.13&prerelease
                    
nuke :add-package Fable --version 5.0.0-alpha.13
                    

Fable: F# |> JS

Nuget Build Join the chat at https://gitter.im/fable-compiler/Fable

Follow us on Twitter!

Fable is an F# to JavaScript compiler powered FSharp Compiler Services, designed to make F# a first-class citizen of the JavaScript ecosystem. Check the website for more information and if you find the project useful, don't forget to give us a star!

Fable actually uses a fork of FCS with a few tweaks. Binaries are in lib/fcs folder. See this PR for more info.

Getting started

Check this page.

Building

Requirements

Use VSCode Dev Container

You can use VSCode Dev Container to get a preconfigured environment both with requirements and VSCode extensions.

  1. You need to have docker installed and running.
  2. Install the Dev Container extension in VSCode
  3. Open the project in VSCode and click on the green button in the bottom left corner.
Use your machine

Make sure the following requirements are installed in your system:

Build

Run ./build.sh or ./build.cmd to see the build options.

When using VSCode, you can also run the build tasks from the command palette (Ctrl+Shift+P) by typing Run Task and selecting the task you want to run.

We also configured several debug configurations that you can use from the debug panel (Ctrl+Shift+D). This is useful as you can attach the debugger to the Fable compiler process to check what's going on.

Contributing

Just by using Fable you're already contributing! You can help the community a lot by sharing examples and experiences in your personal (or Fable's) blog and/or by editing the Fable Resources page.

Send bug reports (ideally with minimal code to reproduce the problem) and feature requests to this GitHub repository. To interact with the community you can use the Gitter chat but please note maintainers are not checking the chat regularly.

If you are up to contribute a fix or a feature yourself, you're more than welcome! Please send first an issue or a minimal Work In Progess PR so we can discuss the implementation details in advance.

List of changelogs

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
5.0.0-alpha.13 393 5/4/2025
5.0.0-alpha.12 1,333 3/14/2025
5.0.0-alpha.11 706 3/3/2025
5.0.0-alpha.10 979 2/16/2025
5.0.0-alpha.9 972 1/28/2025
5.0.0-alpha.8 136 1/27/2025
5.0.0-alpha.7 375 1/23/2025
5.0.0-alpha.6 107 1/23/2025
5.0.0-alpha.5 771 1/9/2025
5.0.0-alpha.4 175 1/3/2025
5.0.0-alpha.3 570 12/18/2024
5.0.0-alpha.2 250 11/26/2024
5.0.0-alpha.1 105 11/24/2024
4.25.0 620 4/26/2025
4.24.0 22,853 11/19/2024
4.23.0 4,821 10/28/2024
4.22.0 8,955 10/2/2024
4.21.0 4,293 9/19/2024
4.20.0 3,623 9/4/2024
4.19.3 21,591 6/17/2024
4.19.2 426 6/13/2024
4.19.1 215 6/13/2024
4.19.0 1,829 6/10/2024
4.18.0 2,050 5/23/2024
4.17.0 12,925 4/23/2024
4.16.0 10,698 3/20/2024
4.15.0 995 3/18/2024
4.14.0 12,907 3/1/2024
4.13.0 4,757 2/20/2024
4.12.2 18,091 2/13/2024
4.12.1 806 2/13/2024
4.11.0 5,912 1/30/2024
4.10.0 18,698 1/25/2024
4.9.0 29,172 12/14/2023
4.8.1 1,588 12/12/2023
4.8.0 710 12/12/2023
4.7.0 8,812 12/6/2023
4.6.0 10,895 11/27/2023
4.5.0 25,314 11/7/2023
4.4.1 2,900 10/25/2023
4.4.0 19,839 10/24/2023
4.3.0 4,865 10/18/2023
4.2.2 4,098 10/14/2023
4.2.1 13,984 9/29/2023
4.1.4 52,049 5/16/2023
4.1.3 8,036 4/28/2023
4.1.2 4,013 4/22/2023
4.1.1 648 4/22/2023
4.1.0 1,067 4/18/2023
4.1.0-beta-001 652 4/16/2023
4.0.5 2,002 4/8/2023
4.0.4 2,182 4/4/2023
4.0.3 2,235 3/30/2023
4.0.2 1,099 3/27/2023
4.0.1 22,790 3/18/2023
4.0.0 6,757 3/14/2023
4.0.0-theta-018 53,503 11/19/2022
4.0.0-theta-017 602 11/16/2022
4.0.0-theta-016 756 11/13/2022
4.0.0-theta-015 575 11/5/2022
4.0.0-theta-014 392 10/31/2022
4.0.0-theta-012 1,177 10/14/2022
4.0.0-theta-011 953 10/4/2022
4.0.0-theta-010 400 9/28/2022
4.0.0-theta-009 397 9/28/2022
4.0.0-theta-008 445 9/22/2022
4.0.0-theta-007 382 9/21/2022
4.0.0-theta-006 420 9/18/2022
4.0.0-theta-005 358 9/17/2022
4.0.0-theta-004 480 9/14/2022
4.0.0-theta-003 324 9/12/2022
4.0.0-theta-002 279 9/11/2022
4.0.0-theta-001 367 9/9/2022
4.0.0-snake-island-alpha-026 391 9/8/2022
4.0.0-snake-island-alpha-025 360 9/6/2022
4.0.0-snake-island-alpha-024 522 9/2/2022
4.0.0-snake-island-alpha-023 330 8/30/2022
4.0.0-snake-island-alpha-021 898 8/21/2022
4.0.0-snake-island-alpha-020 413 8/14/2022
4.0.0-snake-island-alpha-019 463 7/31/2022
4.0.0-snake-island-alpha-018 317 7/30/2022
4.0.0-snake-island-alpha-017 361 7/27/2022
4.0.0-snake-island-alpha-016 322 7/26/2022
4.0.0-snake-island-alpha-015 293 7/26/2022
4.0.0-snake-island-alpha-014 337 7/25/2022
4.0.0-snake-island-alpha-013 311 7/25/2022
4.0.0-snake-island-alpha-012 448 7/12/2022
4.0.0-snake-island-alpha-011 307 6/23/2022
4.0.0-snake-island-alpha-010 317 6/3/2022
4.0.0-snake-island-alpha-009 275 6/2/2022
4.0.0-snake-island-alpha-008 307 6/1/2022
4.0.0-snake-island-alpha-007 329 5/25/2022
4.0.0-snake-island-alpha-006 286 5/24/2022
4.0.0-snake-island-alpha-005 308 5/23/2022
4.0.0-snake-island-alpha-004 280 5/21/2022
4.0.0-snake-island-alpha-003 310 5/20/2022
4.0.0-snake-island-alpha-002 282 5/19/2022
4.0.0-snake-island-alpha-001 308 5/11/2022
3.7.22 3,934 5/11/2023
3.7.21 260 5/11/2023
3.7.20 37,301 9/27/2022
3.7.19 559 9/27/2022
3.7.18 8,403 8/16/2022
3.7.17 6,927 7/21/2022
3.7.16 4,414 7/5/2022
3.7.15 958 6/29/2022
3.7.14 4,584 6/14/2022
3.7.12 3,793 5/27/2022
3.7.11 6,453 5/1/2022
3.7.10 808 4/29/2022
3.7.9 10,119 4/1/2022
3.7.8 1,770 3/24/2022
3.7.7 5,383 3/22/2022
3.7.6 2,967 3/16/2022
3.7.5 23,982 3/1/2022
3.7.4 961 2/25/2022
3.7.3 4,722 2/23/2022
3.7.2 1,393 2/22/2022
3.7.1 6,225 2/17/2022
3.7.0 8,721 2/7/2022
3.7.0-beta-015 1,254 1/26/2022
3.7.0-beta-014 341 1/24/2022
3.7.0-beta-012 392 1/18/2022
3.7.0-beta-011 328 1/14/2022
3.7.0-beta-010 299 1/14/2022
3.7.0-beta-009 303 1/12/2022
3.7.0-beta-008 275 1/11/2022
3.7.0-beta-007 303 1/11/2022
3.7.0-beta-006 288 1/11/2022
3.7.0-beta-005 314 1/7/2022
3.7.0-beta-004 282 1/5/2022
3.7.0-beta-003 353 1/4/2022
3.7.0-beta-002 275 12/28/2021
3.7.0-beta-001 298 12/20/2021
3.6.3 19,401 12/1/2021
3.6.2 8,815 11/26/2021
3.6.1 12,137 11/23/2021
3.6.0 1,740 11/19/2021
3.6.0-beta-003 421 11/17/2021
3.6.0-beta-002 271 11/15/2021
3.6.0-beta-001 303 11/14/2021
3.4.10 1,445 11/8/2021
3.4.9 2,531 11/5/2021
3.4.8 546 11/4/2021
3.4.7 1,658 10/28/2021
3.4.6 1,121 10/26/2021
3.4.5 790 10/21/2021
3.4.4 936 10/20/2021
3.4.3 19,379 10/14/2021
3.4.2 1,333 10/5/2021
3.4.1 567 10/4/2021
3.4.0 908 10/1/2021
3.3.1 1,775 9/27/2021
3.3.0 3,547 9/16/2021
3.3.0-beta-002 490 8/28/2021
3.3.0-beta-001 274 8/27/2021
3.2.14 1,416 9/11/2021
3.2.12 4,862 8/26/2021
3.2.11 6,189 8/19/2021
3.2.10 2,897 8/2/2021
3.2.9 47,288 7/8/2021
3.2.8 2,585 6/26/2021
3.2.7 552 6/25/2021
3.2.6 2,757 6/22/2021
3.2.5 909 6/21/2021
3.2.4 767 6/16/2021
3.2.3 809 6/11/2021
3.2.2 988 6/3/2021
3.2.1 18,871 5/28/2021
3.2.0 585 5/28/2021
3.1.16 7,724 5/14/2021
3.1.15 6,841 4/16/2021
3.1.14 5,010 4/9/2021
3.1.12 3,259 3/23/2021
3.1.11 4,991 3/17/2021
3.1.10 1,268 3/16/2021
3.1.9 2,808 3/15/2021
3.1.8 568 3/15/2021
3.1.7 1,054 3/11/2021
3.1.6 626 3/11/2021
3.1.5 7,039 2/18/2021
3.1.4 985 2/12/2021
3.1.3 569 2/12/2021
3.1.2 10,562 1/25/2021
3.1.1 6,163 1/13/2021
3.1.0 1,031 1/11/2021
3.1.0-beta-001 424 1/8/2021
3.0.5 2,043 12/22/2020
3.0.4 1,306 12/19/2020
3.0.3 661 12/18/2020
3.0.2 1,170 12/16/2020
3.0.1 1,346 12/11/2020
3.0.0 3,460 12/4/2020
3.0.0-nagareyama-rc-011 663 12/2/2020
3.0.0-nagareyama-rc-010 546 11/28/2020
3.0.0-nagareyama-rc-009 1,093 11/25/2020
3.0.0-nagareyama-rc-008 616 11/19/2020
3.0.0-nagareyama-rc-007 839 11/15/2020
3.0.0-nagareyama-rc-006 636 11/13/2020
3.0.0-nagareyama-rc-005 456 11/12/2020
3.0.0-nagareyama-rc-004 517 11/10/2020
3.0.0-nagareyama-rc-003 486 11/9/2020
3.0.0-nagareyama-rc-002 575 11/8/2020
3.0.0-nagareyama-rc-001 567 11/7/2020
3.0.0-nagareyama-beta-005 500 10/31/2020
3.0.0-nagareyama-beta-004 633 10/27/2020
3.0.0-nagareyama-beta-003 488 10/25/2020
3.0.0-nagareyama-beta-002 619 10/23/2020
3.0.0-nagareyama-beta-001 450 10/23/2020
3.0.0-nagareyama-alpha-017 425 10/22/2020
3.0.0-nagareyama-alpha-016 427 10/22/2020
3.0.0-nagareyama-alpha-015 496 10/19/2020
3.0.0-nagareyama-alpha-014 508 10/18/2020
3.0.0-nagareyama-alpha-012 463 10/15/2020
3.0.0-nagareyama-alpha-011 454 10/15/2020
3.0.0-nagareyama-alpha-010 479 10/13/2020
3.0.0-nagareyama-alpha-009 493 10/11/2020
3.0.0-nagareyama-alpha-008 563 10/5/2020
3.0.0-nagareyama-alpha-007 490 10/2/2020
3.0.0-nagareyama-alpha-006 475 9/30/2020
3.0.0-nagareyama-alpha-005 417 9/29/2020
3.0.0-nagareyama-alpha-004 495 9/28/2020
3.0.0-nagareyama-alpha-003 462 9/14/2020
3.0.0-nagareyama-alpha-002 447 9/13/2020
3.0.0-nagareyama-alpha-001 571 9/13/2020

### Fixed

* [Python] Fixed testing with interfaces leads to incorrect pattern match (#3972) (by @dbrattli)
* [Python] Fixed error when type contains multiple generic type parameters (#3986) (by @dbrattli)
* [Python] Fixed import path handling for libraries (#4088) (by @dbrattli)
* [Python] Reenable type aliasing for imports with name "*" (by @freymauer)
* [JS/TS] Optimise JSX output in order to avoid F# list CEs to surface in it (by @MangelMaxime)

### Removed

* [All] Remove unused `Fable.Core` copy types from internal module (by @MangelMaxime)