Fable 4.24.0
dotnet tool install --global Fable --version 4.24.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Fable --version 4.24.0
#tool dotnet:?package=Fable&version=4.24.0
nuke :add-package Fable --version 4.24.0
Fable: F# |> JS
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.
- You need to have docker installed and running.
- Install the Dev Container extension in VSCode
- 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:
- dotnet SDK 6 or higher
- node.js with npm
- Python 3 is installed and available as
python
- Poetry
- Rust
- Dart
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 | Versions 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
4.24.0 | 282 | 11/19/2024 |
4.23.0 | 1,759 | 10/28/2024 |
4.22.0 | 4,203 | 10/2/2024 |
4.21.0 | 1,940 | 9/19/2024 |
4.20.0 | 2,944 | 9/4/2024 |
4.19.3 | 10,294 | 6/17/2024 |
4.19.2 | 373 | 6/13/2024 |
4.19.1 | 163 | 6/13/2024 |
4.19.0 | 755 | 6/10/2024 |
4.18.0 | 1,756 | 5/23/2024 |
4.17.0 | 9,298 | 4/23/2024 |
4.16.0 | 8,862 | 3/20/2024 |
4.15.0 | 943 | 3/18/2024 |
4.14.0 | 12,335 | 3/1/2024 |
4.13.0 | 4,217 | 2/20/2024 |
4.12.2 | 10,720 | 2/13/2024 |
4.12.1 | 684 | 2/13/2024 |
4.11.0 | 5,476 | 1/30/2024 |
4.10.0 | 11,512 | 1/25/2024 |
4.9.0 | 23,903 | 12/14/2023 |
4.8.1 | 1,552 | 12/12/2023 |
4.8.0 | 669 | 12/12/2023 |
4.7.0 | 6,589 | 12/6/2023 |
4.6.0 | 8,040 | 11/27/2023 |
4.5.0 | 22,404 | 11/7/2023 |
4.4.1 | 2,796 | 10/25/2023 |
4.4.0 | 10,291 | 10/24/2023 |
4.3.0 | 3,987 | 10/18/2023 |
4.2.2 | 2,697 | 10/14/2023 |
4.2.1 | 8,849 | 9/29/2023 |
4.1.4 | 47,828 | 5/16/2023 |
4.1.3 | 7,160 | 4/28/2023 |
4.1.2 | 3,841 | 4/22/2023 |
4.1.1 | 616 | 4/22/2023 |
4.1.0 | 1,034 | 4/18/2023 |
4.1.0-beta-001 | 629 | 4/16/2023 |
4.0.5 | 1,866 | 4/8/2023 |
4.0.4 | 1,967 | 4/4/2023 |
4.0.3 | 2,136 | 3/30/2023 |
4.0.2 | 1,061 | 3/27/2023 |
4.0.1 | 19,340 | 3/18/2023 |
4.0.0 | 6,612 | 3/14/2023 |
4.0.0-theta-018 | 44,381 | 11/19/2022 |
4.0.0-theta-017 | 580 | 11/16/2022 |
4.0.0-theta-016 | 729 | 11/13/2022 |
4.0.0-theta-015 | 549 | 11/5/2022 |
4.0.0-theta-014 | 366 | 10/31/2022 |
4.0.0-theta-012 | 1,151 | 10/14/2022 |
4.0.0-theta-011 | 910 | 10/4/2022 |
4.0.0-theta-010 | 373 | 9/28/2022 |
4.0.0-theta-009 | 368 | 9/28/2022 |
4.0.0-theta-008 | 419 | 9/22/2022 |
4.0.0-theta-007 | 350 | 9/21/2022 |
4.0.0-theta-006 | 390 | 9/18/2022 |
4.0.0-theta-005 | 326 | 9/17/2022 |
4.0.0-theta-004 | 444 | 9/14/2022 |
4.0.0-theta-003 | 289 | 9/12/2022 |
4.0.0-theta-002 | 252 | 9/11/2022 |
4.0.0-theta-001 | 329 | 9/9/2022 |
4.0.0-snake-island-alpha-026 | 357 | 9/8/2022 |
4.0.0-snake-island-alpha-025 | 325 | 9/6/2022 |
4.0.0-snake-island-alpha-024 | 485 | 9/2/2022 |
4.0.0-snake-island-alpha-023 | 297 | 8/30/2022 |
4.0.0-snake-island-alpha-021 | 752 | 8/21/2022 |
4.0.0-snake-island-alpha-020 | 380 | 8/14/2022 |
4.0.0-snake-island-alpha-019 | 428 | 7/31/2022 |
4.0.0-snake-island-alpha-018 | 283 | 7/30/2022 |
4.0.0-snake-island-alpha-017 | 329 | 7/27/2022 |
4.0.0-snake-island-alpha-016 | 290 | 7/26/2022 |
4.0.0-snake-island-alpha-015 | 260 | 7/26/2022 |
4.0.0-snake-island-alpha-014 | 305 | 7/25/2022 |
4.0.0-snake-island-alpha-013 | 274 | 7/25/2022 |
4.0.0-snake-island-alpha-012 | 415 | 7/12/2022 |
4.0.0-snake-island-alpha-011 | 276 | 6/23/2022 |
4.0.0-snake-island-alpha-010 | 287 | 6/3/2022 |
4.0.0-snake-island-alpha-009 | 249 | 6/2/2022 |
4.0.0-snake-island-alpha-008 | 276 | 6/1/2022 |
4.0.0-snake-island-alpha-007 | 298 | 5/25/2022 |
4.0.0-snake-island-alpha-006 | 256 | 5/24/2022 |
4.0.0-snake-island-alpha-005 | 277 | 5/23/2022 |
4.0.0-snake-island-alpha-004 | 249 | 5/21/2022 |
4.0.0-snake-island-alpha-003 | 276 | 5/20/2022 |
4.0.0-snake-island-alpha-002 | 250 | 5/19/2022 |
4.0.0-snake-island-alpha-001 | 275 | 5/11/2022 |
3.7.22 | 3,402 | 5/11/2023 |
3.7.21 | 234 | 5/11/2023 |
3.7.20 | 36,081 | 9/27/2022 |
3.7.19 | 526 | 9/27/2022 |
3.7.18 | 8,135 | 8/16/2022 |
3.7.17 | 6,643 | 7/21/2022 |
3.7.16 | 4,360 | 7/5/2022 |
3.7.15 | 915 | 6/29/2022 |
3.7.14 | 4,538 | 6/14/2022 |
3.7.12 | 3,732 | 5/27/2022 |
3.7.11 | 6,196 | 5/1/2022 |
3.7.10 | 767 | 4/29/2022 |
3.7.9 | 10,036 | 4/1/2022 |
3.7.8 | 1,728 | 3/24/2022 |
3.7.7 | 5,341 | 3/22/2022 |
3.7.6 | 2,803 | 3/16/2022 |
3.7.5 | 21,907 | 3/1/2022 |
3.7.4 | 913 | 2/25/2022 |
3.7.3 | 4,570 | 2/23/2022 |
3.7.2 | 1,346 | 2/22/2022 |
3.7.1 | 6,173 | 2/17/2022 |
3.7.0 | 8,461 | 2/7/2022 |
3.7.0-beta-015 | 1,212 | 1/26/2022 |
3.7.0-beta-014 | 304 | 1/24/2022 |
3.7.0-beta-012 | 357 | 1/18/2022 |
3.7.0-beta-011 | 285 | 1/14/2022 |
3.7.0-beta-010 | 256 | 1/14/2022 |
3.7.0-beta-009 | 267 | 1/12/2022 |
3.7.0-beta-008 | 240 | 1/11/2022 |
3.7.0-beta-007 | 267 | 1/11/2022 |
3.7.0-beta-006 | 254 | 1/11/2022 |
3.7.0-beta-005 | 278 | 1/7/2022 |
3.7.0-beta-004 | 245 | 1/5/2022 |
3.7.0-beta-003 | 316 | 1/4/2022 |
3.7.0-beta-002 | 232 | 12/28/2021 |
3.7.0-beta-001 | 258 | 12/20/2021 |
3.6.3 | 19,148 | 12/1/2021 |
3.6.2 | 8,745 | 11/26/2021 |
3.6.1 | 12,032 | 11/23/2021 |
3.6.0 | 1,682 | 11/19/2021 |
3.6.0-beta-003 | 383 | 11/17/2021 |
3.6.0-beta-002 | 232 | 11/15/2021 |
3.6.0-beta-001 | 265 | 11/14/2021 |
3.4.10 | 1,401 | 11/8/2021 |
3.4.9 | 2,363 | 11/5/2021 |
3.4.8 | 497 | 11/4/2021 |
3.4.7 | 1,610 | 10/28/2021 |
3.4.6 | 1,074 | 10/26/2021 |
3.4.5 | 747 | 10/21/2021 |
3.4.4 | 879 | 10/20/2021 |
3.4.3 | 14,413 | 10/14/2021 |
3.4.2 | 1,288 | 10/5/2021 |
3.4.1 | 522 | 10/4/2021 |
3.4.0 | 862 | 10/1/2021 |
3.3.1 | 1,716 | 9/27/2021 |
3.3.0 | 3,484 | 9/16/2021 |
3.3.0-beta-002 | 453 | 8/28/2021 |
3.3.0-beta-001 | 238 | 8/27/2021 |
3.2.14 | 1,366 | 9/11/2021 |
3.2.12 | 4,802 | 8/26/2021 |
3.2.11 | 6,123 | 8/19/2021 |
3.2.10 | 2,850 | 8/2/2021 |
3.2.9 | 47,205 | 7/8/2021 |
3.2.8 | 2,540 | 6/26/2021 |
3.2.7 | 508 | 6/25/2021 |
3.2.6 | 2,702 | 6/22/2021 |
3.2.5 | 866 | 6/21/2021 |
3.2.4 | 723 | 6/16/2021 |
3.2.3 | 678 | 6/11/2021 |
3.2.2 | 944 | 6/3/2021 |
3.2.1 | 16,859 | 5/28/2021 |
3.2.0 | 535 | 5/28/2021 |
3.1.16 | 7,513 | 5/14/2021 |
3.1.15 | 6,782 | 4/16/2021 |
3.1.14 | 4,924 | 4/9/2021 |
3.1.12 | 3,186 | 3/23/2021 |
3.1.11 | 4,936 | 3/17/2021 |
3.1.10 | 1,213 | 3/16/2021 |
3.1.9 | 2,761 | 3/15/2021 |
3.1.8 | 523 | 3/15/2021 |
3.1.7 | 996 | 3/11/2021 |
3.1.6 | 576 | 3/11/2021 |
3.1.5 | 6,942 | 2/18/2021 |
3.1.4 | 933 | 2/12/2021 |
3.1.3 | 518 | 2/12/2021 |
3.1.2 | 10,493 | 1/25/2021 |
3.1.1 | 6,077 | 1/13/2021 |
3.1.0 | 972 | 1/11/2021 |
3.1.0-beta-001 | 377 | 1/8/2021 |
3.0.5 | 1,938 | 12/22/2020 |
3.0.4 | 1,257 | 12/19/2020 |
3.0.3 | 612 | 12/18/2020 |
3.0.2 | 1,103 | 12/16/2020 |
3.0.1 | 1,297 | 12/11/2020 |
3.0.0 | 3,400 | 12/4/2020 |
3.0.0-nagareyama-rc-011 | 615 | 12/2/2020 |
3.0.0-nagareyama-rc-010 | 501 | 11/28/2020 |
3.0.0-nagareyama-rc-009 | 1,045 | 11/25/2020 |
3.0.0-nagareyama-rc-008 | 569 | 11/19/2020 |
3.0.0-nagareyama-rc-007 | 792 | 11/15/2020 |
3.0.0-nagareyama-rc-006 | 591 | 11/13/2020 |
3.0.0-nagareyama-rc-005 | 410 | 11/12/2020 |
3.0.0-nagareyama-rc-004 | 472 | 11/10/2020 |
3.0.0-nagareyama-rc-003 | 441 | 11/9/2020 |
3.0.0-nagareyama-rc-002 | 530 | 11/8/2020 |
3.0.0-nagareyama-rc-001 | 520 | 11/7/2020 |
3.0.0-nagareyama-beta-005 | 450 | 10/31/2020 |
3.0.0-nagareyama-beta-004 | 588 | 10/27/2020 |
3.0.0-nagareyama-beta-003 | 442 | 10/25/2020 |
3.0.0-nagareyama-beta-002 | 570 | 10/23/2020 |
3.0.0-nagareyama-beta-001 | 402 | 10/23/2020 |
3.0.0-nagareyama-alpha-017 | 378 | 10/22/2020 |
3.0.0-nagareyama-alpha-016 | 379 | 10/22/2020 |
3.0.0-nagareyama-alpha-015 | 452 | 10/19/2020 |
3.0.0-nagareyama-alpha-014 | 459 | 10/18/2020 |
3.0.0-nagareyama-alpha-012 | 419 | 10/15/2020 |
3.0.0-nagareyama-alpha-011 | 409 | 10/15/2020 |
3.0.0-nagareyama-alpha-010 | 434 | 10/13/2020 |
3.0.0-nagareyama-alpha-009 | 445 | 10/11/2020 |
3.0.0-nagareyama-alpha-008 | 516 | 10/5/2020 |
3.0.0-nagareyama-alpha-007 | 446 | 10/2/2020 |
3.0.0-nagareyama-alpha-006 | 425 | 9/30/2020 |
3.0.0-nagareyama-alpha-005 | 371 | 9/29/2020 |
3.0.0-nagareyama-alpha-004 | 449 | 9/28/2020 |
3.0.0-nagareyama-alpha-003 | 417 | 9/14/2020 |
3.0.0-nagareyama-alpha-002 | 403 | 9/13/2020 |
3.0.0-nagareyama-alpha-001 | 525 | 9/13/2020 |
## Added
- [JS/TS] Added missing `ResizeArray.CopyTo` replacements (by @ncave)
- [JS/TS] Added missing `Dictionary` constructors from enumerable (by @ncave)
## Fixed
- [Rust] Fixed import path rewrite (by @ncave)
- [Rust] Updated derived interfaces (by @ncave)
- [Rust] Updated string comparisons (by @ncave)
- [Rust] Fixed derived traits mapping (by @ncave)
- [JS/TS] Added missing `ICollection` helpers (#3914) (by @ncave)
- [JS/TS] Added missing `IReadOnlyCollection` helpers (by @ncave)