Fable 4.19.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Fable --version 4.19.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 4.19.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Fable&version=4.19.1                
nuke :add-package Fable --version 4.19.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 ./builsh.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. 
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
4.21.0 520 9/19/2024
4.20.0 1,519 9/4/2024
4.19.3 7,011 6/17/2024
4.19.2 342 6/13/2024
4.19.1 158 6/13/2024
4.19.0 626 6/10/2024
4.18.0 1,419 5/23/2024
4.17.0 8,185 4/23/2024
4.16.0 7,064 3/20/2024
4.15.0 938 3/18/2024
4.14.0 11,582 3/1/2024
4.13.0 4,071 2/20/2024
4.12.2 8,512 2/13/2024
4.12.1 665 2/13/2024
4.11.0 5,313 1/30/2024
4.10.0 9,733 1/25/2024
4.9.0 21,972 12/14/2023
4.8.1 1,536 12/12/2023
4.8.0 665 12/12/2023
4.7.0 5,581 12/6/2023
4.6.0 7,652 11/27/2023
4.5.0 20,842 11/7/2023
4.4.1 2,792 10/25/2023
4.4.0 9,644 10/24/2023
4.3.0 3,968 10/18/2023
4.2.2 2,637 10/14/2023
4.2.1 7,837 9/29/2023
4.1.4 47,013 5/16/2023
4.1.3 6,481 4/28/2023
4.1.2 3,836 4/22/2023
4.1.1 612 4/22/2023
4.1.0 1,021 4/18/2023
4.1.0-beta-001 624 4/16/2023
4.0.5 1,845 4/8/2023
4.0.4 1,899 4/4/2023
4.0.3 2,045 3/30/2023
4.0.2 1,001 3/27/2023
4.0.1 18,259 3/18/2023
4.0.0 6,578 3/14/2023
4.0.0-theta-018 41,397 11/19/2022
4.0.0-theta-017 572 11/16/2022
4.0.0-theta-016 715 11/13/2022
4.0.0-theta-015 544 11/5/2022
4.0.0-theta-014 361 10/31/2022
4.0.0-theta-012 1,147 10/14/2022
4.0.0-theta-011 880 10/4/2022
4.0.0-theta-010 368 9/28/2022
4.0.0-theta-009 362 9/28/2022
4.0.0-theta-008 402 9/22/2022
4.0.0-theta-007 296 9/21/2022
4.0.0-theta-006 386 9/18/2022
4.0.0-theta-005 319 9/17/2022
4.0.0-theta-004 440 9/14/2022
4.0.0-theta-003 284 9/12/2022
4.0.0-theta-002 245 9/11/2022
4.0.0-theta-001 323 9/9/2022
4.0.0-snake-island-alpha-026 346 9/8/2022
4.0.0-snake-island-alpha-025 321 9/6/2022
4.0.0-snake-island-alpha-024 480 9/2/2022
4.0.0-snake-island-alpha-023 287 8/30/2022
4.0.0-snake-island-alpha-021 714 8/21/2022
4.0.0-snake-island-alpha-020 375 8/14/2022
4.0.0-snake-island-alpha-019 422 7/31/2022
4.0.0-snake-island-alpha-018 277 7/30/2022
4.0.0-snake-island-alpha-017 318 7/27/2022
4.0.0-snake-island-alpha-016 286 7/26/2022
4.0.0-snake-island-alpha-015 252 7/26/2022
4.0.0-snake-island-alpha-014 299 7/25/2022
4.0.0-snake-island-alpha-013 269 7/25/2022
4.0.0-snake-island-alpha-012 373 7/12/2022
4.0.0-snake-island-alpha-011 271 6/23/2022
4.0.0-snake-island-alpha-010 282 6/3/2022
4.0.0-snake-island-alpha-009 244 6/2/2022
4.0.0-snake-island-alpha-008 267 6/1/2022
4.0.0-snake-island-alpha-007 293 5/25/2022
4.0.0-snake-island-alpha-006 250 5/24/2022
4.0.0-snake-island-alpha-005 273 5/23/2022
4.0.0-snake-island-alpha-004 239 5/21/2022
4.0.0-snake-island-alpha-003 271 5/20/2022
4.0.0-snake-island-alpha-002 240 5/19/2022
4.0.0-snake-island-alpha-001 248 5/11/2022
3.7.22 3,234 5/11/2023
3.7.21 230 5/11/2023
3.7.20 35,202 9/27/2022
3.7.19 519 9/27/2022
3.7.18 8,059 8/16/2022
3.7.17 6,555 7/21/2022
3.7.16 4,352 7/5/2022
3.7.15 910 6/29/2022
3.7.14 4,508 6/14/2022
3.7.12 3,619 5/27/2022
3.7.11 6,163 5/1/2022
3.7.10 763 4/29/2022
3.7.9 9,944 4/1/2022
3.7.8 1,702 3/24/2022
3.7.7 5,336 3/22/2022
3.7.6 2,695 3/16/2022
3.7.5 21,289 3/1/2022
3.7.4 886 2/25/2022
3.7.3 4,562 2/23/2022
3.7.2 1,322 2/22/2022
3.7.1 6,163 2/17/2022
3.7.0 8,396 2/7/2022
3.7.0-beta-015 1,183 1/26/2022
3.7.0-beta-014 299 1/24/2022
3.7.0-beta-012 352 1/18/2022
3.7.0-beta-011 258 1/14/2022
3.7.0-beta-010 251 1/14/2022
3.7.0-beta-009 260 1/12/2022
3.7.0-beta-008 235 1/11/2022
3.7.0-beta-007 262 1/11/2022
3.7.0-beta-006 249 1/11/2022
3.7.0-beta-005 252 1/7/2022
3.7.0-beta-004 241 1/5/2022
3.7.0-beta-003 312 1/4/2022
3.7.0-beta-002 226 12/28/2021
3.7.0-beta-001 253 12/20/2021
3.6.3 19,024 12/1/2021
3.6.2 8,715 11/26/2021
3.6.1 12,004 11/23/2021
3.6.0 1,678 11/19/2021
3.6.0-beta-003 378 11/17/2021
3.6.0-beta-002 227 11/15/2021
3.6.0-beta-001 260 11/14/2021
3.4.10 1,374 11/8/2021
3.4.9 2,319 11/5/2021
3.4.8 493 11/4/2021
3.4.7 1,603 10/28/2021
3.4.6 1,047 10/26/2021
3.4.5 743 10/21/2021
3.4.4 864 10/20/2021
3.4.3 13,567 10/14/2021
3.4.2 1,277 10/5/2021
3.4.1 515 10/4/2021
3.4.0 857 10/1/2021
3.3.1 1,696 9/27/2021
3.3.0 3,451 9/16/2021
3.3.0-beta-002 448 8/28/2021
3.3.0-beta-001 233 8/27/2021
3.2.14 1,360 9/11/2021
3.2.12 4,792 8/26/2021
3.2.11 6,118 8/19/2021
3.2.10 2,846 8/2/2021
3.2.9 47,174 7/8/2021
3.2.8 2,536 6/26/2021
3.2.7 504 6/25/2021
3.2.6 2,692 6/22/2021
3.2.5 841 6/21/2021
3.2.4 719 6/16/2021
3.2.3 613 6/11/2021
3.2.2 939 6/3/2021
3.2.1 16,129 5/28/2021
3.2.0 510 5/28/2021
3.1.16 7,402 5/14/2021
3.1.15 6,757 4/16/2021
3.1.14 4,918 4/9/2021
3.1.12 3,174 3/23/2021
3.1.11 4,925 3/17/2021
3.1.10 1,208 3/16/2021
3.1.9 2,756 3/15/2021
3.1.8 516 3/15/2021
3.1.7 965 3/11/2021
3.1.6 553 3/11/2021
3.1.5 6,895 2/18/2021
3.1.4 910 2/12/2021
3.1.3 512 2/12/2021
3.1.2 10,477 1/25/2021
3.1.1 6,059 1/13/2021
3.1.0 942 1/11/2021
3.1.0-beta-001 354 1/8/2021
3.0.5 1,910 12/22/2020
3.0.4 1,252 12/19/2020
3.0.3 604 12/18/2020
3.0.2 1,091 12/16/2020
3.0.1 1,292 12/11/2020
3.0.0 3,370 12/4/2020
3.0.0-nagareyama-rc-011 589 12/2/2020
3.0.0-nagareyama-rc-010 493 11/28/2020
3.0.0-nagareyama-rc-009 1,039 11/25/2020
3.0.0-nagareyama-rc-008 562 11/19/2020
3.0.0-nagareyama-rc-007 784 11/15/2020
3.0.0-nagareyama-rc-006 583 11/13/2020
3.0.0-nagareyama-rc-005 404 11/12/2020
3.0.0-nagareyama-rc-004 467 11/10/2020
3.0.0-nagareyama-rc-003 435 11/9/2020
3.0.0-nagareyama-rc-002 522 11/8/2020
3.0.0-nagareyama-rc-001 514 11/7/2020
3.0.0-nagareyama-beta-005 442 10/31/2020
3.0.0-nagareyama-beta-004 562 10/27/2020
3.0.0-nagareyama-beta-003 437 10/25/2020
3.0.0-nagareyama-beta-002 557 10/23/2020
3.0.0-nagareyama-beta-001 397 10/23/2020
3.0.0-nagareyama-alpha-017 371 10/22/2020
3.0.0-nagareyama-alpha-016 353 10/22/2020
3.0.0-nagareyama-alpha-015 441 10/19/2020
3.0.0-nagareyama-alpha-014 437 10/18/2020
3.0.0-nagareyama-alpha-012 414 10/15/2020
3.0.0-nagareyama-alpha-011 384 10/15/2020
3.0.0-nagareyama-alpha-010 428 10/13/2020
3.0.0-nagareyama-alpha-009 439 10/11/2020
3.0.0-nagareyama-alpha-008 491 10/5/2020
3.0.0-nagareyama-alpha-007 437 10/2/2020
3.0.0-nagareyama-alpha-006 400 9/30/2020
3.0.0-nagareyama-alpha-005 364 9/29/2020
3.0.0-nagareyama-alpha-004 441 9/28/2020
3.0.0-nagareyama-alpha-003 410 9/14/2020
3.0.0-nagareyama-alpha-002 396 9/13/2020
3.0.0-nagareyama-alpha-001 517 9/13/2020

## Fixed

- [All] Ignore testers for erased union cases (#3658) (by @ncave)
- [All] Fixed Fable compiler hanging on some errors (#3842) (by @ncave)
- [JS/TS] Fixed DateTime.MinValue, DateTime.MaxValue (#3836) (by @ncave)
- [JS/TS] Fixed missing field using TypeScriptTaggedUnion (#3837) (by @ncave)