Skip to content

Commit 227f6b4

Browse files
committed
Release 5.0.0-alpha.12
1 parent ac5a91f commit 227f6b4

File tree

10 files changed

+34
-66
lines changed

10 files changed

+34
-66
lines changed

src/Fable.Cli/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 5.0.0-alpha.12 - 2025-03-14
11+
1012
### Added
1113

1214
* [Python] Add support for `nullArgCheck`(by @MangelMaxime)

src/Fable.Cli/Fable.Cli.fsproj

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,21 @@
44
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
55
<OutputType>Exe</OutputType>
66
<TargetFramework>net8.0</TargetFramework>
7-
<Version>5.0.0-alpha.11</Version>
7+
<Version>5.0.0-alpha.12</Version>
88
<PackageReleaseNotes>## Added
99

10-
- [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)
11-
- [Rust] Support Rust 2024 language edition (by @ncave)
12-
- [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
13-
- [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
14-
- [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
15-
- [JS/TS] Generate compiler error when detecting an invalid/unsupported format specifier for numeric types (by @MangelMaxime)
16-
17-
## Changed
18-
19-
- [JS/TS] Throw an error is an invalid Numeric format is provided (mimic .NET behavior) (by @MangelMaxime)
10+
- [Python] Add support for `nullArgCheck`(by @MangelMaxime)
11+
- [All] Add support for F# `nullness` (by @MangelMaxime)
12+
- [JS/TS] Add support for `Unchecked.nonNull` (by @MangelMaxime)
13+
- [All] Add support for `TreatWarningsAsErrors` (by @MangelMaxime)
14+
- [All] Print help message on unexpected arguments (by @MangelMaxime)
2015

2116
## Fixed
2217

23-
- [JS/TS] Fix #4025: No reflection info for pojos (by @alfonsogarciacaro)
24-
- [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
25-
- [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
26-
- [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
27-
- [JS/TS] Report an error at compilation time when trying to use `Async.RunSynchronously` (by @MangelMaxime)
28-
- [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
29-
- [All] Don't scan system packages for plugins (by @MangelMaxime)
30-
- [JS/TS] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
31-
- [Python] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
32-
- [JS/TS] Fix #4010: Supports direct nested types when using `jsOptions` (by @MangelMaxime)
33-
```fs
34-
let opts =
35-
jsOptions&lt;Level1&gt; (fun o -&gt;
36-
o.level2.level3.valueA &lt;- 10
37-
o.level2.level3.valueB &lt;- 20
38-
o.topValueA &lt;- 20
39-
)
40-
```
41-
- [JS/TS] Fix numeric formats (by @MangelMaxime)
18+
- [JS/TS] Make `nullArgCheck` report the same error message as on .NET (by @MangelMaxime)
19+
- [TS] Sanitize DUs case names when generating constructor function (by @MangelMaxime)
20+
- [All] Don't print help message on failed compilation (by @MangelMaxime)
21+
- [JS] Don't generate an import statement for pojos defined in another file (by @shayanhabibi)
4222

4323
</PackageReleaseNotes>
4424
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->

src/Fable.Compiler/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 5.0.0-alpha.12 - 2025-03-14
11+
1012
### Added
1113

1214
* [Python] Add support for `nullArgCheck`(by @MangelMaxime)

src/Fable.Compiler/Fable.Compiler.fsproj

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,19 @@
66
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
77
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
88
<RootNamespace>Fable.Compiler</RootNamespace>
9-
<Version>5.0.0-alpha.11</Version>
9+
<Version>5.0.0-alpha.12</Version>
1010
<PackageReleaseNotes>## Added
1111

12-
- [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)
13-
- [Rust] Support Rust 2024 language edition (by @ncave)
14-
- [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
15-
- [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
16-
- [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
17-
- [JS/TS] Generate compiler error when detecting an invalid/unsupported format specifier for numeric types (by @MangelMaxime)
18-
19-
## Changed
20-
21-
- [JS/TS] Throw an error is an invalid Numeric format is provided (mimic .NET behavior) (by @MangelMaxime)
12+
- [Python] Add support for `nullArgCheck`(by @MangelMaxime)
13+
- [All] Add support for F# `nullness` (by @MangelMaxime)
14+
- [JS/TS] Add support for `Unchecked.nonNull` (by @MangelMaxime)
15+
- [All] Add support for `TreatWarningsAsErrors` (by @MangelMaxime)
16+
- [JS] Don't generate an import statement for pojos defined in another file (by @shayanhabibi)
2217

2318
## Fixed
2419

25-
- [JS/TS] Fix #4025: No reflection info for pojos (by @alfonsogarciacaro)
26-
- [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
27-
- [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
28-
- [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
29-
- [JS/TS] Report an error at compilation time when trying to use `Async.RunSynchronously` (by @MangelMaxime)
30-
- [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
31-
- [All] Don't scan system packages for plugins (by @MangelMaxime)
32-
- [JS/TS] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
33-
- [Python] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
34-
- [JS/TS] Fix #4010: Supports direct nested types when using `jsOptions` (by @MangelMaxime)
35-
```fs
36-
let opts =
37-
jsOptions&lt;Level1&gt; (fun o -&gt;
38-
o.level2.level3.valueA &lt;- 10
39-
o.level2.level3.valueB &lt;- 20
40-
o.topValueA &lt;- 20
41-
)
42-
```
43-
- [JS/TS] Fix numeric formats (by @MangelMaxime)
20+
- [JS/TS] Make `nullArgCheck` report the same error message as on .NET (by @MangelMaxime)
21+
- [TS] Sanitize DUs case names when generating constructor function (by @MangelMaxime)
4422

4523
</PackageReleaseNotes>
4624
<DebugType>embedded</DebugType>

src/Fable.Transforms/Global/Compiler.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ namespace Fable
22

33
module Literals =
44
[<Literal>]
5-
let VERSION = "5.0.0-alpha.11"
5+
let VERSION = "5.0.0-alpha.12"
66

77
[<Literal>]
8-
let JS_LIBRARY_VERSION = "2.0.0-beta.2"
8+
let JS_LIBRARY_VERSION = "2.0.0-beta.3"
99

1010
type CompilerOptionsHelper =
1111
static member Make

src/fable-library-ts/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 2.0.0-beta.3 - 2025-03-14
11+
1012
### Fixed
1113

1214
* [JS/TS] Make `nullArgCheck` report the same error message as on .NET (by @MangelMaxime)

src/fable-library-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": false,
44
"type": "module",
55
"name": "@fable-org/fable-library-ts",
6-
"version": "2.0.0-beta.2",
6+
"version": "2.0.0-beta.3",
77
"description": "Core library used by F# projects compiled with fable.io",
88
"author": "Fable Contributors",
99
"license": "MIT",

src/fable-standalone/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 2.0.0-beta.3 - 2025-03-14
11+
12+
* Fable 5.0.0-alpha.12
13+
1014
## 2.0.0-beta.2 - 2025-03-03
1115

1216
* Fable 5.0.0-alpha.11

src/fable-standalone/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/fable-standalone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"name": "@fable-org/fable-standalone",
44
"private": false,
5-
"version": "2.0.0-beta.2",
5+
"version": "2.0.0-beta.3",
66
"main": "./dist/bundle.min.js",
77
"description": "Fable compiler",
88
"keywords": [

0 commit comments

Comments
 (0)