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 1,526 10/2/2024
4.21.0 1,143 9/19/2024
4.20.0 2,261 9/4/2024
4.19.3 8,437 6/17/2024
4.19.2 367 6/13/2024
4.19.1 159 6/13/2024
4.19.0 691 6/10/2024
4.18.0 1,637 5/23/2024
4.17.0 8,636 4/23/2024
4.16.0 7,864 3/20/2024
4.15.0 941 3/18/2024
4.14.0 11,891 3/1/2024
4.13.0 4,183 2/20/2024
4.12.2 9,260 2/13/2024
4.12.1 667 2/13/2024
4.11.0 5,431 1/30/2024
4.10.0 10,525 1/25/2024
4.9.0 22,600 12/14/2023
4.8.1 1,537 12/12/2023
4.8.0 667 12/12/2023
4.7.0 5,982 12/6/2023
4.6.0 7,858 11/27/2023
4.5.0 21,771 11/7/2023
4.4.1 2,794 10/25/2023
4.4.0 9,837 10/24/2023
4.3.0 3,972 10/18/2023
4.2.2 2,638 10/14/2023
4.2.1 8,191 9/29/2023
4.1.4 47,307 5/16/2023
4.1.3 6,834 4/28/2023
4.1.2 3,839 4/22/2023
4.1.1 614 4/22/2023
4.1.0 1,026 4/18/2023
4.1.0-beta-001 627 4/16/2023
4.0.5 1,850 4/8/2023
4.0.4 1,929 4/4/2023
4.0.3 2,118 3/30/2023
4.0.2 1,059 3/27/2023
4.0.1 18,672 3/18/2023
4.0.0 6,602 3/14/2023
4.0.0-theta-018 42,630 11/19/2022
4.0.0-theta-017 578 11/16/2022
4.0.0-theta-016 718 11/13/2022
4.0.0-theta-015 547 11/5/2022
4.0.0-theta-014 364 10/31/2022
4.0.0-theta-012 1,149 10/14/2022
4.0.0-theta-011 891 10/4/2022
4.0.0-theta-010 371 9/28/2022
4.0.0-theta-009 366 9/28/2022
4.0.0-theta-008 410 9/22/2022
4.0.0-theta-007 348 9/21/2022
4.0.0-theta-006 388 9/18/2022
4.0.0-theta-005 324 9/17/2022
4.0.0-theta-004 442 9/14/2022
4.0.0-theta-003 286 9/12/2022
4.0.0-theta-002 249 9/11/2022
4.0.0-theta-001 325 9/9/2022
4.0.0-snake-island-alpha-026 355 9/8/2022
4.0.0-snake-island-alpha-025 323 9/6/2022
4.0.0-snake-island-alpha-024 483 9/2/2022
4.0.0-snake-island-alpha-023 289 8/30/2022
4.0.0-snake-island-alpha-021 730 8/21/2022
4.0.0-snake-island-alpha-020 377 8/14/2022
4.0.0-snake-island-alpha-019 425 7/31/2022
4.0.0-snake-island-alpha-018 281 7/30/2022
4.0.0-snake-island-alpha-017 327 7/27/2022
4.0.0-snake-island-alpha-016 288 7/26/2022
4.0.0-snake-island-alpha-015 256 7/26/2022
4.0.0-snake-island-alpha-014 302 7/25/2022
4.0.0-snake-island-alpha-013 272 7/25/2022
4.0.0-snake-island-alpha-012 413 7/12/2022
4.0.0-snake-island-alpha-011 273 6/23/2022
4.0.0-snake-island-alpha-010 285 6/3/2022
4.0.0-snake-island-alpha-009 247 6/2/2022
4.0.0-snake-island-alpha-008 272 6/1/2022
4.0.0-snake-island-alpha-007 295 5/25/2022
4.0.0-snake-island-alpha-006 254 5/24/2022
4.0.0-snake-island-alpha-005 275 5/23/2022
4.0.0-snake-island-alpha-004 241 5/21/2022
4.0.0-snake-island-alpha-003 274 5/20/2022
4.0.0-snake-island-alpha-002 242 5/19/2022
4.0.0-snake-island-alpha-001 273 5/11/2022
3.7.22 3,278 5/11/2023
3.7.21 232 5/11/2023
3.7.20 35,577 9/27/2022
3.7.19 523 9/27/2022
3.7.18 8,105 8/16/2022
3.7.17 6,581 7/21/2022
3.7.16 4,357 7/5/2022
3.7.15 913 6/29/2022
3.7.14 4,533 6/14/2022
3.7.12 3,665 5/27/2022
3.7.11 6,166 5/1/2022
3.7.10 765 4/29/2022
3.7.9 9,983 4/1/2022
3.7.8 1,726 3/24/2022
3.7.7 5,339 3/22/2022
3.7.6 2,783 3/16/2022
3.7.5 21,487 3/1/2022
3.7.4 911 2/25/2022
3.7.3 4,565 2/23/2022
3.7.2 1,344 2/22/2022
3.7.1 6,165 2/17/2022
3.7.0 8,455 2/7/2022
3.7.0-beta-015 1,207 1/26/2022
3.7.0-beta-014 302 1/24/2022
3.7.0-beta-012 355 1/18/2022
3.7.0-beta-011 283 1/14/2022
3.7.0-beta-010 253 1/14/2022
3.7.0-beta-009 263 1/12/2022
3.7.0-beta-008 237 1/11/2022
3.7.0-beta-007 265 1/11/2022
3.7.0-beta-006 252 1/11/2022
3.7.0-beta-005 276 1/7/2022
3.7.0-beta-004 243 1/5/2022
3.7.0-beta-003 314 1/4/2022
3.7.0-beta-002 228 12/28/2021
3.7.0-beta-001 255 12/20/2021
3.6.3 19,095 12/1/2021
3.6.2 8,739 11/26/2021
3.6.1 12,030 11/23/2021
3.6.0 1,680 11/19/2021
3.6.0-beta-003 381 11/17/2021
3.6.0-beta-002 229 11/15/2021
3.6.0-beta-001 263 11/14/2021
3.4.10 1,399 11/8/2021
3.4.9 2,339 11/5/2021
3.4.8 495 11/4/2021
3.4.7 1,608 10/28/2021
3.4.6 1,070 10/26/2021
3.4.5 744 10/21/2021
3.4.4 871 10/20/2021
3.4.3 13,996 10/14/2021
3.4.2 1,286 10/5/2021
3.4.1 520 10/4/2021
3.4.0 860 10/1/2021
3.3.1 1,708 9/27/2021
3.3.0 3,481 9/16/2021
3.3.0-beta-002 451 8/28/2021
3.3.0-beta-001 236 8/27/2021
3.2.14 1,363 9/11/2021
3.2.12 4,800 8/26/2021
3.2.11 6,121 8/19/2021
3.2.10 2,848 8/2/2021
3.2.9 47,202 7/8/2021
3.2.8 2,538 6/26/2021
3.2.7 506 6/25/2021
3.2.6 2,697 6/22/2021
3.2.5 864 6/21/2021
3.2.4 721 6/16/2021
3.2.3 663 6/11/2021
3.2.2 942 6/3/2021
3.2.1 16,461 5/28/2021
3.2.0 533 5/28/2021
3.1.16 7,444 5/14/2021
3.1.15 6,779 4/16/2021
3.1.14 4,920 4/9/2021
3.1.12 3,177 3/23/2021
3.1.11 4,928 3/17/2021
3.1.10 1,210 3/16/2021
3.1.9 2,758 3/15/2021
3.1.8 520 3/15/2021
3.1.7 988 3/11/2021
3.1.6 573 3/11/2021
3.1.5 6,932 2/18/2021
3.1.4 930 2/12/2021
3.1.3 515 2/12/2021
3.1.2 10,483 1/25/2021
3.1.1 6,070 1/13/2021
3.1.0 962 1/11/2021
3.1.0-beta-001 374 1/8/2021
3.0.5 1,935 12/22/2020
3.0.4 1,254 12/19/2020
3.0.3 606 12/18/2020
3.0.2 1,094 12/16/2020
3.0.1 1,294 12/11/2020
3.0.0 3,393 12/4/2020
3.0.0-nagareyama-rc-011 610 12/2/2020
3.0.0-nagareyama-rc-010 497 11/28/2020
3.0.0-nagareyama-rc-009 1,042 11/25/2020
3.0.0-nagareyama-rc-008 566 11/19/2020
3.0.0-nagareyama-rc-007 786 11/15/2020
3.0.0-nagareyama-rc-006 587 11/13/2020
3.0.0-nagareyama-rc-005 407 11/12/2020
3.0.0-nagareyama-rc-004 469 11/10/2020
3.0.0-nagareyama-rc-003 438 11/9/2020
3.0.0-nagareyama-rc-002 524 11/8/2020
3.0.0-nagareyama-rc-001 517 11/7/2020
3.0.0-nagareyama-beta-005 446 10/31/2020
3.0.0-nagareyama-beta-004 585 10/27/2020
3.0.0-nagareyama-beta-003 439 10/25/2020
3.0.0-nagareyama-beta-002 566 10/23/2020
3.0.0-nagareyama-beta-001 398 10/23/2020
3.0.0-nagareyama-alpha-017 373 10/22/2020
3.0.0-nagareyama-alpha-016 376 10/22/2020
3.0.0-nagareyama-alpha-015 444 10/19/2020
3.0.0-nagareyama-alpha-014 456 10/18/2020
3.0.0-nagareyama-alpha-012 416 10/15/2020
3.0.0-nagareyama-alpha-011 406 10/15/2020
3.0.0-nagareyama-alpha-010 431 10/13/2020
3.0.0-nagareyama-alpha-009 442 10/11/2020
3.0.0-nagareyama-alpha-008 511 10/5/2020
3.0.0-nagareyama-alpha-007 440 10/2/2020
3.0.0-nagareyama-alpha-006 422 9/30/2020
3.0.0-nagareyama-alpha-005 367 9/29/2020
3.0.0-nagareyama-alpha-004 446 9/28/2020
3.0.0-nagareyama-alpha-003 414 9/14/2020
3.0.0-nagareyama-alpha-002 398 9/13/2020
3.0.0-nagareyama-alpha-001 520 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)