Fable 5.0.0-alpha.1

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

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. 
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.12 47 3/14/2025
5.0.0-alpha.11 628 3/3/2025
5.0.0-alpha.10 897 2/16/2025
5.0.0-alpha.9 842 1/28/2025
5.0.0-alpha.8 116 1/27/2025
5.0.0-alpha.7 351 1/23/2025
5.0.0-alpha.6 87 1/23/2025
5.0.0-alpha.5 749 1/9/2025
5.0.0-alpha.4 162 1/3/2025
5.0.0-alpha.3 540 12/18/2024
5.0.0-alpha.2 237 11/26/2024
5.0.0-alpha.1 93 11/24/2024
4.24.0 14,671 11/19/2024
4.23.0 3,698 10/28/2024
4.22.0 7,721 10/2/2024
4.21.0 3,734 9/19/2024
4.20.0 3,446 9/4/2024
4.19.3 17,513 6/17/2024
4.19.2 417 6/13/2024
4.19.1 206 6/13/2024
4.19.0 1,663 6/10/2024
4.18.0 1,979 5/23/2024
4.17.0 10,696 4/23/2024
4.16.0 10,237 3/20/2024
4.15.0 984 3/18/2024
4.14.0 12,860 3/1/2024
4.13.0 4,471 2/20/2024
4.12.2 16,597 2/13/2024
4.12.1 801 2/13/2024
4.11.0 5,823 1/30/2024
4.10.0 17,003 1/25/2024
4.9.0 27,392 12/14/2023
4.8.1 1,584 12/12/2023
4.8.0 693 12/12/2023
4.7.0 8,277 12/6/2023
4.6.0 9,749 11/27/2023
4.5.0 24,754 11/7/2023
4.4.1 2,854 10/25/2023
4.4.0 19,054 10/24/2023
4.3.0 4,611 10/18/2023
4.2.2 3,974 10/14/2023
4.2.1 12,917 9/29/2023
4.1.4 50,619 5/16/2023
4.1.3 7,980 4/28/2023
4.1.2 3,990 4/22/2023
4.1.1 634 4/22/2023
4.1.0 1,053 4/18/2023
4.1.0-beta-001 640 4/16/2023
4.0.5 1,983 4/8/2023
4.0.4 2,098 4/4/2023
4.0.3 2,209 3/30/2023
4.0.2 1,087 3/27/2023
4.0.1 21,730 3/18/2023
4.0.0 6,706 3/14/2023
4.0.0-theta-018 50,963 11/19/2022
4.0.0-theta-017 591 11/16/2022
4.0.0-theta-016 742 11/13/2022
4.0.0-theta-015 562 11/5/2022
4.0.0-theta-014 380 10/31/2022
4.0.0-theta-012 1,164 10/14/2022
4.0.0-theta-011 933 10/4/2022
4.0.0-theta-010 387 9/28/2022
4.0.0-theta-009 382 9/28/2022
4.0.0-theta-008 432 9/22/2022
4.0.0-theta-007 369 9/21/2022
4.0.0-theta-006 405 9/18/2022
4.0.0-theta-005 345 9/17/2022
4.0.0-theta-004 464 9/14/2022
4.0.0-theta-003 309 9/12/2022
4.0.0-theta-002 266 9/11/2022
4.0.0-theta-001 355 9/9/2022
4.0.0-snake-island-alpha-026 376 9/8/2022
4.0.0-snake-island-alpha-025 346 9/6/2022
4.0.0-snake-island-alpha-024 506 9/2/2022
4.0.0-snake-island-alpha-023 316 8/30/2022
4.0.0-snake-island-alpha-021 867 8/21/2022
4.0.0-snake-island-alpha-020 400 8/14/2022
4.0.0-snake-island-alpha-019 446 7/31/2022
4.0.0-snake-island-alpha-018 302 7/30/2022
4.0.0-snake-island-alpha-017 348 7/27/2022
4.0.0-snake-island-alpha-016 307 7/26/2022
4.0.0-snake-island-alpha-015 278 7/26/2022
4.0.0-snake-island-alpha-014 324 7/25/2022
4.0.0-snake-island-alpha-013 296 7/25/2022
4.0.0-snake-island-alpha-012 434 7/12/2022
4.0.0-snake-island-alpha-011 293 6/23/2022
4.0.0-snake-island-alpha-010 304 6/3/2022
4.0.0-snake-island-alpha-009 262 6/2/2022
4.0.0-snake-island-alpha-008 294 6/1/2022
4.0.0-snake-island-alpha-007 314 5/25/2022
4.0.0-snake-island-alpha-006 272 5/24/2022
4.0.0-snake-island-alpha-005 293 5/23/2022
4.0.0-snake-island-alpha-004 266 5/21/2022
4.0.0-snake-island-alpha-003 292 5/20/2022
4.0.0-snake-island-alpha-002 267 5/19/2022
4.0.0-snake-island-alpha-001 292 5/11/2022
3.7.22 3,791 5/11/2023
3.7.21 248 5/11/2023
3.7.20 36,915 9/27/2022
3.7.19 545 9/27/2022
3.7.18 8,206 8/16/2022
3.7.17 6,822 7/21/2022
3.7.16 4,393 7/5/2022
3.7.15 943 6/29/2022
3.7.14 4,567 6/14/2022
3.7.12 3,775 5/27/2022
3.7.11 6,288 5/1/2022
3.7.10 793 4/29/2022
3.7.9 10,095 4/1/2022
3.7.8 1,753 3/24/2022
3.7.7 5,364 3/22/2022
3.7.6 2,945 3/16/2022
3.7.5 23,147 3/1/2022
3.7.4 940 2/25/2022
3.7.3 4,617 2/23/2022
3.7.2 1,374 2/22/2022
3.7.1 6,202 2/17/2022
3.7.0 8,658 2/7/2022
3.7.0-beta-015 1,235 1/26/2022
3.7.0-beta-014 322 1/24/2022
3.7.0-beta-012 374 1/18/2022
3.7.0-beta-011 308 1/14/2022
3.7.0-beta-010 275 1/14/2022
3.7.0-beta-009 284 1/12/2022
3.7.0-beta-008 258 1/11/2022
3.7.0-beta-007 286 1/11/2022
3.7.0-beta-006 269 1/11/2022
3.7.0-beta-005 296 1/7/2022
3.7.0-beta-004 264 1/5/2022
3.7.0-beta-003 335 1/4/2022
3.7.0-beta-002 256 12/28/2021
3.7.0-beta-001 279 12/20/2021
3.6.3 19,293 12/1/2021
3.6.2 8,781 11/26/2021
3.6.1 12,112 11/23/2021
3.6.0 1,715 11/19/2021
3.6.0-beta-003 401 11/17/2021
3.6.0-beta-002 250 11/15/2021
3.6.0-beta-001 284 11/14/2021
3.4.10 1,425 11/8/2021
3.4.9 2,486 11/5/2021
3.4.8 525 11/4/2021
3.4.7 1,636 10/28/2021
3.4.6 1,100 10/26/2021
3.4.5 771 10/21/2021
3.4.4 914 10/20/2021
3.4.3 17,668 10/14/2021
3.4.2 1,313 10/5/2021
3.4.1 546 10/4/2021
3.4.0 887 10/1/2021
3.3.1 1,745 9/27/2021
3.3.0 3,521 9/16/2021
3.3.0-beta-002 471 8/28/2021
3.3.0-beta-001 255 8/27/2021
3.2.14 1,394 9/11/2021
3.2.12 4,839 8/26/2021
3.2.11 6,169 8/19/2021
3.2.10 2,875 8/2/2021
3.2.9 47,257 7/8/2021
3.2.8 2,563 6/26/2021
3.2.7 532 6/25/2021
3.2.6 2,728 6/22/2021
3.2.5 888 6/21/2021
3.2.4 746 6/16/2021
3.2.3 790 6/11/2021
3.2.2 969 6/3/2021
3.2.1 18,315 5/28/2021
3.2.0 561 5/28/2021
3.1.16 7,689 5/14/2021
3.1.15 6,808 4/16/2021
3.1.14 4,982 4/9/2021
3.1.12 3,228 3/23/2021
3.1.11 4,960 3/17/2021
3.1.10 1,241 3/16/2021
3.1.9 2,782 3/15/2021
3.1.8 542 3/15/2021
3.1.7 1,026 3/11/2021
3.1.6 598 3/11/2021
3.1.5 7,007 2/18/2021
3.1.4 956 2/12/2021
3.1.3 540 2/12/2021
3.1.2 10,526 1/25/2021
3.1.1 6,112 1/13/2021
3.1.0 994 1/11/2021
3.1.0-beta-001 395 1/8/2021
3.0.5 2,007 12/22/2020
3.0.4 1,277 12/19/2020
3.0.3 633 12/18/2020
3.0.2 1,139 12/16/2020
3.0.1 1,316 12/11/2020
3.0.0 3,426 12/4/2020
3.0.0-nagareyama-rc-011 634 12/2/2020
3.0.0-nagareyama-rc-010 517 11/28/2020
3.0.0-nagareyama-rc-009 1,063 11/25/2020
3.0.0-nagareyama-rc-008 586 11/19/2020
3.0.0-nagareyama-rc-007 809 11/15/2020
3.0.0-nagareyama-rc-006 608 11/13/2020
3.0.0-nagareyama-rc-005 427 11/12/2020
3.0.0-nagareyama-rc-004 488 11/10/2020
3.0.0-nagareyama-rc-003 456 11/9/2020
3.0.0-nagareyama-rc-002 545 11/8/2020
3.0.0-nagareyama-rc-001 538 11/7/2020
3.0.0-nagareyama-beta-005 469 10/31/2020
3.0.0-nagareyama-beta-004 605 10/27/2020
3.0.0-nagareyama-beta-003 459 10/25/2020
3.0.0-nagareyama-beta-002 591 10/23/2020
3.0.0-nagareyama-beta-001 421 10/23/2020
3.0.0-nagareyama-alpha-017 394 10/22/2020
3.0.0-nagareyama-alpha-016 397 10/22/2020
3.0.0-nagareyama-alpha-015 467 10/19/2020
3.0.0-nagareyama-alpha-014 478 10/18/2020
3.0.0-nagareyama-alpha-012 436 10/15/2020
3.0.0-nagareyama-alpha-011 426 10/15/2020
3.0.0-nagareyama-alpha-010 450 10/13/2020
3.0.0-nagareyama-alpha-009 462 10/11/2020
3.0.0-nagareyama-alpha-008 532 10/5/2020
3.0.0-nagareyama-alpha-007 462 10/2/2020
3.0.0-nagareyama-alpha-006 442 9/30/2020
3.0.0-nagareyama-alpha-005 387 9/29/2020
3.0.0-nagareyama-alpha-004 466 9/28/2020
3.0.0-nagareyama-alpha-003 433 9/14/2020
3.0.0-nagareyama-alpha-002 417 9/13/2020
3.0.0-nagareyama-alpha-001 542 9/13/2020

## Added

- [All] Add `--legacyCracker` as a fallback

## Changed

- [All] Make MSBuildCracker the default
- [All] Replace `FABLE_COMPILER_4` with `FABLE_COMPILER_5` as the compiler directive
- [All] Move TargetFramework to `net8.0`