Fable 4.25.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global Fable --version 4.25.0
                    
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 4.25.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Fable&version=4.25.0
                    
nuke :add-package Fable --version 4.25.0
                    

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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.14 1,135 7/25/2025
5.0.0-alpha.13 2,663 5/4/2025
5.0.0-alpha.12 1,436 3/14/2025
5.0.0-alpha.11 783 3/3/2025
5.0.0-alpha.10 1,070 2/16/2025
5.0.0-alpha.9 1,217 1/28/2025
5.0.0-alpha.8 185 1/27/2025
5.0.0-alpha.7 423 1/23/2025
5.0.0-alpha.6 155 1/23/2025
5.0.0-alpha.5 812 1/9/2025
5.0.0-alpha.4 216 1/3/2025
5.0.0-alpha.3 634 12/18/2024
5.0.0-alpha.2 291 11/26/2024
5.0.0-alpha.1 151 11/24/2024
4.25.0 7,289 4/26/2025
4.24.0 32,196 11/19/2024
4.23.0 6,955 10/28/2024
4.22.0 10,898 10/2/2024
4.21.0 5,142 9/19/2024
4.20.0 4,206 9/4/2024
4.19.3 29,900 6/17/2024
4.19.2 478 6/13/2024
4.19.1 287 6/13/2024
4.19.0 1,957 6/10/2024
4.18.0 2,341 5/23/2024
4.17.0 14,731 4/23/2024
4.16.0 11,261 3/20/2024
4.15.0 1,034 3/18/2024
4.14.0 12,975 3/1/2024
4.13.0 4,867 2/20/2024
4.12.2 18,147 2/13/2024
4.12.1 853 2/13/2024
4.11.0 5,996 1/30/2024
4.10.0 19,036 1/25/2024
4.9.0 30,986 12/14/2023
4.8.1 1,637 12/12/2023
4.8.0 756 12/12/2023
4.7.0 9,088 12/6/2023
4.6.0 12,025 11/27/2023
4.5.0 25,910 11/7/2023
4.4.1 2,957 10/25/2023
4.4.0 20,134 10/24/2023
4.3.0 4,948 10/18/2023
4.2.2 4,302 10/14/2023
4.2.1 14,256 9/29/2023
4.1.4 52,892 5/16/2023
4.1.3 8,111 4/28/2023
4.1.2 4,082 4/22/2023
4.1.1 710 4/22/2023
4.1.0 1,128 4/18/2023
4.1.0-beta-001 721 4/16/2023
4.0.5 2,070 4/8/2023
4.0.4 2,374 4/4/2023
4.0.3 2,298 3/30/2023
4.0.2 1,167 3/27/2023
4.0.1 23,388 3/18/2023
4.0.0 6,859 3/14/2023
4.0.0-theta-018 56,421 11/19/2022
4.0.0-theta-017 673 11/16/2022
4.0.0-theta-016 823 11/13/2022
4.0.0-theta-015 645 11/5/2022
4.0.0-theta-014 449 10/31/2022
4.0.0-theta-012 1,243 10/14/2022
4.0.0-theta-011 1,020 10/4/2022
4.0.0-theta-010 472 9/28/2022
4.0.0-theta-009 471 9/28/2022
4.0.0-theta-008 501 9/22/2022
4.0.0-theta-007 443 9/21/2022
4.0.0-theta-006 490 9/18/2022
4.0.0-theta-005 421 9/17/2022
4.0.0-theta-004 542 9/14/2022
4.0.0-theta-003 378 9/12/2022
4.0.0-theta-002 341 9/11/2022
4.0.0-theta-001 422 9/9/2022
4.0.0-snake-island-alpha-026 458 9/8/2022
4.0.0-snake-island-alpha-025 435 9/6/2022
4.0.0-snake-island-alpha-024 581 9/2/2022
4.0.0-snake-island-alpha-023 390 8/30/2022
4.0.0-snake-island-alpha-021 978 8/21/2022
4.0.0-snake-island-alpha-020 471 8/14/2022
4.0.0-snake-island-alpha-019 529 7/31/2022
4.0.0-snake-island-alpha-018 379 7/30/2022
4.0.0-snake-island-alpha-017 413 7/27/2022
4.0.0-snake-island-alpha-016 380 7/26/2022
4.0.0-snake-island-alpha-015 347 7/26/2022
4.0.0-snake-island-alpha-014 390 7/25/2022
4.0.0-snake-island-alpha-013 374 7/25/2022
4.0.0-snake-island-alpha-012 511 7/12/2022
4.0.0-snake-island-alpha-011 377 6/23/2022
4.0.0-snake-island-alpha-010 386 6/3/2022
4.0.0-snake-island-alpha-009 338 6/2/2022
4.0.0-snake-island-alpha-008 364 6/1/2022
4.0.0-snake-island-alpha-007 388 5/25/2022
4.0.0-snake-island-alpha-006 341 5/24/2022
4.0.0-snake-island-alpha-005 374 5/23/2022
4.0.0-snake-island-alpha-004 355 5/21/2022
4.0.0-snake-island-alpha-003 369 5/20/2022
4.0.0-snake-island-alpha-002 344 5/19/2022
4.0.0-snake-island-alpha-001 375 5/11/2022
3.7.22 4,078 5/11/2023
3.7.21 322 5/11/2023
3.7.20 37,579 9/27/2022
3.7.19 623 9/27/2022
3.7.18 8,620 8/16/2022
3.7.17 7,030 7/21/2022
3.7.16 4,481 7/5/2022
3.7.15 1,017 6/29/2022
3.7.14 4,641 6/14/2022
3.7.12 3,875 5/27/2022
3.7.11 7,221 5/1/2022
3.7.10 865 4/29/2022
3.7.9 10,192 4/1/2022
3.7.8 1,835 3/24/2022
3.7.7 5,453 3/22/2022
3.7.6 3,036 3/16/2022
3.7.5 24,400 3/1/2022
3.7.4 1,031 2/25/2022
3.7.3 4,787 2/23/2022
3.7.2 1,464 2/22/2022
3.7.1 6,299 2/17/2022
3.7.0 8,838 2/7/2022
3.7.0-beta-015 1,319 1/26/2022
3.7.0-beta-014 408 1/24/2022
3.7.0-beta-012 462 1/18/2022
3.7.0-beta-011 393 1/14/2022
3.7.0-beta-010 352 1/14/2022
3.7.0-beta-009 362 1/12/2022
3.7.0-beta-008 346 1/11/2022
3.7.0-beta-007 375 1/11/2022
3.7.0-beta-006 364 1/11/2022
3.7.0-beta-005 380 1/7/2022
3.7.0-beta-004 359 1/5/2022
3.7.0-beta-003 426 1/4/2022
3.7.0-beta-002 344 12/28/2021
3.7.0-beta-001 359 12/20/2021
3.6.3 19,537 12/1/2021
3.6.2 8,883 11/26/2021
3.6.1 12,197 11/23/2021
3.6.0 1,810 11/19/2021
3.6.0-beta-003 495 11/17/2021
3.6.0-beta-002 342 11/15/2021
3.6.0-beta-001 365 11/14/2021
3.4.10 1,530 11/8/2021
3.4.9 2,633 11/5/2021
3.4.8 605 11/4/2021
3.4.7 1,742 10/28/2021
3.4.6 1,195 10/26/2021
3.4.5 847 10/21/2021
3.4.4 1,001 10/20/2021
3.4.3 21,512 10/14/2021
3.4.2 1,401 10/5/2021
3.4.1 641 10/4/2021
3.4.0 975 10/1/2021
3.3.1 1,848 9/27/2021
3.3.0 3,620 9/16/2021
3.3.0-beta-002 553 8/28/2021
3.3.0-beta-001 336 8/27/2021
3.2.14 1,473 9/11/2021
3.2.12 4,925 8/26/2021
3.2.11 6,256 8/19/2021
3.2.10 2,969 8/2/2021
3.2.9 47,369 7/8/2021
3.2.8 2,658 6/26/2021
3.2.7 612 6/25/2021
3.2.6 2,821 6/22/2021
3.2.5 976 6/21/2021
3.2.4 829 6/16/2021
3.2.3 879 6/11/2021
3.2.2 1,049 6/3/2021
3.2.1 19,559 5/28/2021
3.2.0 666 5/28/2021
3.1.16 7,812 5/14/2021
3.1.15 6,912 4/16/2021
3.1.14 5,083 4/9/2021
3.1.12 3,329 3/23/2021
3.1.11 5,071 3/17/2021
3.1.10 1,341 3/16/2021
3.1.9 2,881 3/15/2021
3.1.8 637 3/15/2021
3.1.7 1,131 3/11/2021
3.1.6 696 3/11/2021
3.1.5 7,108 2/18/2021
3.1.4 1,054 2/12/2021
3.1.3 633 2/12/2021
3.1.2 10,643 1/25/2021
3.1.1 6,289 1/13/2021
3.1.0 1,097 1/11/2021
3.1.0-beta-001 502 1/8/2021
3.0.5 2,159 12/22/2020
3.0.4 1,378 12/19/2020
3.0.3 726 12/18/2020
3.0.2 1,263 12/16/2020
3.0.1 1,415 12/11/2020
3.0.0 3,530 12/4/2020
3.0.0-nagareyama-rc-011 745 12/2/2020
3.0.0-nagareyama-rc-010 622 11/28/2020
3.0.0-nagareyama-rc-009 1,171 11/25/2020
3.0.0-nagareyama-rc-008 696 11/19/2020
3.0.0-nagareyama-rc-007 926 11/15/2020
3.0.0-nagareyama-rc-006 707 11/13/2020
3.0.0-nagareyama-rc-005 528 11/12/2020
3.0.0-nagareyama-rc-004 595 11/10/2020
3.0.0-nagareyama-rc-003 560 11/9/2020
3.0.0-nagareyama-rc-002 659 11/8/2020
3.0.0-nagareyama-rc-001 640 11/7/2020
3.0.0-nagareyama-beta-005 575 10/31/2020
3.0.0-nagareyama-beta-004 728 10/27/2020
3.0.0-nagareyama-beta-003 561 10/25/2020
3.0.0-nagareyama-beta-002 689 10/23/2020
3.0.0-nagareyama-beta-001 522 10/23/2020
3.0.0-nagareyama-alpha-017 501 10/22/2020
3.0.0-nagareyama-alpha-016 506 10/22/2020
3.0.0-nagareyama-alpha-015 558 10/19/2020
3.0.0-nagareyama-alpha-014 584 10/18/2020
3.0.0-nagareyama-alpha-012 536 10/15/2020
3.0.0-nagareyama-alpha-011 525 10/15/2020
3.0.0-nagareyama-alpha-010 545 10/13/2020
3.0.0-nagareyama-alpha-009 560 10/11/2020
3.0.0-nagareyama-alpha-008 640 10/5/2020
3.0.0-nagareyama-alpha-007 565 10/2/2020
3.0.0-nagareyama-alpha-006 543 9/30/2020
3.0.0-nagareyama-alpha-005 501 9/29/2020
3.0.0-nagareyama-alpha-004 567 9/28/2020
3.0.0-nagareyama-alpha-003 542 9/14/2020
3.0.0-nagareyama-alpha-002 512 9/13/2020
3.0.0-nagareyama-alpha-001 643 9/13/2020

## Fixed

- [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)