Fable 4.22.0

dotnet tool install --global Fable --version 4.22.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.22.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Fable&version=4.22.0                
nuke :add-package Fable --version 4.22.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 ./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.22.0 773 10/2/2024
4.21.0 907 9/19/2024
4.20.0 1,983 9/4/2024
4.19.3 7,958 6/17/2024
4.19.2 367 6/13/2024
4.19.1 159 6/13/2024
4.19.0 684 6/10/2024
4.18.0 1,591 5/23/2024
4.17.0 8,480 4/23/2024
4.16.0 7,395 3/20/2024
4.15.0 939 3/18/2024
4.14.0 11,717 3/1/2024
4.13.0 4,166 2/20/2024
4.12.2 8,826 2/13/2024
4.12.1 666 2/13/2024
4.11.0 5,417 1/30/2024
4.10.0 10,179 1/25/2024
4.9.0 22,335 12/14/2023
4.8.1 1,537 12/12/2023
4.8.0 667 12/12/2023
4.7.0 5,777 12/6/2023
4.6.0 7,785 11/27/2023
4.5.0 21,558 11/7/2023
4.4.1 2,793 10/25/2023
4.4.0 9,837 10/24/2023
4.3.0 3,970 10/18/2023
4.2.2 2,638 10/14/2023
4.2.1 8,022 9/29/2023
4.1.4 47,174 5/16/2023
4.1.3 6,556 4/28/2023
4.1.2 3,838 4/22/2023
4.1.1 613 4/22/2023
4.1.0 1,023 4/18/2023
4.1.0-beta-001 625 4/16/2023
4.0.5 1,847 4/8/2023
4.0.4 1,916 4/4/2023
4.0.3 2,109 3/30/2023
4.0.2 1,058 3/27/2023
4.0.1 18,475 3/18/2023
4.0.0 6,589 3/14/2023
4.0.0-theta-018 42,181 11/19/2022
4.0.0-theta-017 577 11/16/2022
4.0.0-theta-016 716 11/13/2022
4.0.0-theta-015 545 11/5/2022
4.0.0-theta-014 363 10/31/2022
4.0.0-theta-012 1,148 10/14/2022
4.0.0-theta-011 888 10/4/2022
4.0.0-theta-010 369 9/28/2022
4.0.0-theta-009 364 9/28/2022
4.0.0-theta-008 409 9/22/2022
4.0.0-theta-007 346 9/21/2022
4.0.0-theta-006 387 9/18/2022
4.0.0-theta-005 322 9/17/2022
4.0.0-theta-004 441 9/14/2022
4.0.0-theta-003 285 9/12/2022
4.0.0-theta-002 247 9/11/2022
4.0.0-theta-001 324 9/9/2022
4.0.0-snake-island-alpha-026 353 9/8/2022
4.0.0-snake-island-alpha-025 322 9/6/2022
4.0.0-snake-island-alpha-024 481 9/2/2022
4.0.0-snake-island-alpha-023 288 8/30/2022
4.0.0-snake-island-alpha-021 722 8/21/2022
4.0.0-snake-island-alpha-020 376 8/14/2022
4.0.0-snake-island-alpha-019 423 7/31/2022
4.0.0-snake-island-alpha-018 279 7/30/2022
4.0.0-snake-island-alpha-017 319 7/27/2022
4.0.0-snake-island-alpha-016 287 7/26/2022
4.0.0-snake-island-alpha-015 254 7/26/2022
4.0.0-snake-island-alpha-014 300 7/25/2022
4.0.0-snake-island-alpha-013 271 7/25/2022
4.0.0-snake-island-alpha-012 412 7/12/2022
4.0.0-snake-island-alpha-011 272 6/23/2022
4.0.0-snake-island-alpha-010 284 6/3/2022
4.0.0-snake-island-alpha-009 246 6/2/2022
4.0.0-snake-island-alpha-008 270 6/1/2022
4.0.0-snake-island-alpha-007 294 5/25/2022
4.0.0-snake-island-alpha-006 252 5/24/2022
4.0.0-snake-island-alpha-005 274 5/23/2022
4.0.0-snake-island-alpha-004 240 5/21/2022
4.0.0-snake-island-alpha-003 273 5/20/2022
4.0.0-snake-island-alpha-002 241 5/19/2022
4.0.0-snake-island-alpha-001 272 5/11/2022
3.7.22 3,256 5/11/2023
3.7.21 231 5/11/2023
3.7.20 35,413 9/27/2022
3.7.19 522 9/27/2022
3.7.18 8,097 8/16/2022
3.7.17 6,576 7/21/2022
3.7.16 4,353 7/5/2022
3.7.15 911 6/29/2022
3.7.14 4,532 6/14/2022
3.7.12 3,661 5/27/2022
3.7.11 6,165 5/1/2022
3.7.10 764 4/29/2022
3.7.9 9,964 4/1/2022
3.7.8 1,725 3/24/2022
3.7.7 5,338 3/22/2022
3.7.6 2,752 3/16/2022
3.7.5 21,429 3/1/2022
3.7.4 910 2/25/2022
3.7.3 4,564 2/23/2022
3.7.2 1,343 2/22/2022
3.7.1 6,164 2/17/2022
3.7.0 8,432 2/7/2022
3.7.0-beta-015 1,206 1/26/2022
3.7.0-beta-014 301 1/24/2022
3.7.0-beta-012 353 1/18/2022
3.7.0-beta-011 281 1/14/2022
3.7.0-beta-010 252 1/14/2022
3.7.0-beta-009 262 1/12/2022
3.7.0-beta-008 236 1/11/2022
3.7.0-beta-007 264 1/11/2022
3.7.0-beta-006 251 1/11/2022
3.7.0-beta-005 275 1/7/2022
3.7.0-beta-004 242 1/5/2022
3.7.0-beta-003 313 1/4/2022
3.7.0-beta-002 227 12/28/2021
3.7.0-beta-001 254 12/20/2021
3.6.3 19,063 12/1/2021
3.6.2 8,738 11/26/2021
3.6.1 12,026 11/23/2021
3.6.0 1,679 11/19/2021
3.6.0-beta-003 380 11/17/2021
3.6.0-beta-002 228 11/15/2021
3.6.0-beta-001 261 11/14/2021
3.4.10 1,398 11/8/2021
3.4.9 2,321 11/5/2021
3.4.8 494 11/4/2021
3.4.7 1,607 10/28/2021
3.4.6 1,070 10/26/2021
3.4.5 744 10/21/2021
3.4.4 869 10/20/2021
3.4.3 13,849 10/14/2021
3.4.2 1,284 10/5/2021
3.4.1 516 10/4/2021
3.4.0 859 10/1/2021
3.3.1 1,702 9/27/2021
3.3.0 3,479 9/16/2021
3.3.0-beta-002 450 8/28/2021
3.3.0-beta-001 234 8/27/2021
3.2.14 1,362 9/11/2021
3.2.12 4,796 8/26/2021
3.2.11 6,120 8/19/2021
3.2.10 2,847 8/2/2021
3.2.9 47,182 7/8/2021
3.2.8 2,537 6/26/2021
3.2.7 505 6/25/2021
3.2.6 2,696 6/22/2021
3.2.5 862 6/21/2021
3.2.4 720 6/16/2021
3.2.3 636 6/11/2021
3.2.2 941 6/3/2021
3.2.1 16,290 5/28/2021
3.2.0 532 5/28/2021
3.1.16 7,427 5/14/2021
3.1.15 6,778 4/16/2021
3.1.14 4,919 4/9/2021
3.1.12 3,175 3/23/2021
3.1.11 4,927 3/17/2021
3.1.10 1,209 3/16/2021
3.1.9 2,757 3/15/2021
3.1.8 519 3/15/2021
3.1.7 985 3/11/2021
3.1.6 572 3/11/2021
3.1.5 6,921 2/18/2021
3.1.4 929 2/12/2021
3.1.3 514 2/12/2021
3.1.2 10,480 1/25/2021
3.1.1 6,061 1/13/2021
3.1.0 961 1/11/2021
3.1.0-beta-001 373 1/8/2021
3.0.5 1,932 12/22/2020
3.0.4 1,253 12/19/2020
3.0.3 605 12/18/2020
3.0.2 1,093 12/16/2020
3.0.1 1,293 12/11/2020
3.0.0 3,392 12/4/2020
3.0.0-nagareyama-rc-011 608 12/2/2020
3.0.0-nagareyama-rc-010 496 11/28/2020
3.0.0-nagareyama-rc-009 1,041 11/25/2020
3.0.0-nagareyama-rc-008 565 11/19/2020
3.0.0-nagareyama-rc-007 785 11/15/2020
3.0.0-nagareyama-rc-006 586 11/13/2020
3.0.0-nagareyama-rc-005 406 11/12/2020
3.0.0-nagareyama-rc-004 468 11/10/2020
3.0.0-nagareyama-rc-003 437 11/9/2020
3.0.0-nagareyama-rc-002 523 11/8/2020
3.0.0-nagareyama-rc-001 516 11/7/2020
3.0.0-nagareyama-beta-005 445 10/31/2020
3.0.0-nagareyama-beta-004 584 10/27/2020
3.0.0-nagareyama-beta-003 439 10/25/2020
3.0.0-nagareyama-beta-002 565 10/23/2020
3.0.0-nagareyama-beta-001 398 10/23/2020
3.0.0-nagareyama-alpha-017 372 10/22/2020
3.0.0-nagareyama-alpha-016 374 10/22/2020
3.0.0-nagareyama-alpha-015 443 10/19/2020
3.0.0-nagareyama-alpha-014 455 10/18/2020
3.0.0-nagareyama-alpha-012 415 10/15/2020
3.0.0-nagareyama-alpha-011 405 10/15/2020
3.0.0-nagareyama-alpha-010 430 10/13/2020
3.0.0-nagareyama-alpha-009 441 10/11/2020
3.0.0-nagareyama-alpha-008 510 10/5/2020
3.0.0-nagareyama-alpha-007 439 10/2/2020
3.0.0-nagareyama-alpha-006 419 9/30/2020
3.0.0-nagareyama-alpha-005 366 9/29/2020
3.0.0-nagareyama-alpha-004 445 9/28/2020
3.0.0-nagareyama-alpha-003 411 9/14/2020
3.0.0-nagareyama-alpha-002 397 9/13/2020
3.0.0-nagareyama-alpha-001 519 9/13/2020

## Added

- [Rust] Added support for Dictionary/HashSet comparers (by @ncave)
- [Rust] Updated support for interface object expressions (by @ncave)
- [Rust] Added missing ResizeArray methods and tests (by @ncave)
- [Rust] Added Async.Sleep and test (by @ncave)

## Fixed

- [GH-3900](https://github.com/fable-compiler/Fable/pull/3900) [Python] Fix nuget packages with hypens in their names  (by @MangelMaxime)
- [Rust] Uncurry field types for object expressions (by @ncave)
- [Rust] Fixed pattern matching on `this` argument (by @ncave)
- [All] Fixed Missing DU member with interface (#3915) (by @ncave)
- [TS] Fixed missing Async type signature (#3864) (by @MangelMaxime)