Skip to content

Commit 0191340

Browse files
committed
Release 5.0.0-alpha.11
1 parent 38b3ebd commit 0191340

File tree

15 files changed

+82
-32
lines changed

15 files changed

+82
-32
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.11 - 2025-03-03
11+
1012
### Added
1113

1214
* [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)

src/Fable.Cli/Fable.Cli.fsproj

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

10-
- [Python] Print root module and module function comments (by @alfonsogarciacaro)
11-
- [Rust] Add support for module comments (by @ncave)
12-
- [Rust] Add support for null strings (by @ncave)
13-
- [TS/JS] `Pojo` attribute support (by @alfonsogarciacaro)
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)
1416

1517
## Changed
1618

17-
- [JS/TS] In `JSX`, generate self closing element when element has no children (#4037) (by @shayanhabibi)
19+
- [JS/TS] Throw an error is an invalid Numeric format is provided (mimic .NET behavior) (by @MangelMaxime)
1820

1921
## Fixed
2022

21-
- [JS/TS] - Fix anonymous record printing (#4029) (by @alfonsogarciacaro)
22-
- [Python] - Fix #3998: PhysicalEquality (by @alfonsogarciacaro)
23-
- [Python] Resolve relative paths for non-qualified imports (#3481) (by @alfonsogarciacaro)
24-
- [Python] `importSideEffects` shouldn't generate identifier (#3965) (by @alfonsogarciacaro)
25-
- [JS/TS] Fix #4031: Hoist vars locally in for and while loops (@alfonsogarciacaro)
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)
2642

2743
</PackageReleaseNotes>
2844
<!-- 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.11 - 2025-03-03
11+
1012
### Added
1113

1214
* [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)

src/Fable.Compiler/Fable.Compiler.fsproj

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

12-
- [Python] - Print root module and module function comments (by @alfonsogarciacaro)
13-
- [Rust] Add support for module comments (by @ncave)
14-
- [Rust] Add support for null strings (by @ncave)
15-
- [TS/JS] `Pojo` attribute support (by @alfonsogarciacaro)
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)
1618

1719
## Changed
1820

19-
- [JS/TS] In `JSX`, generate self closing element when element has no children (#4037) (by @shayanhabibi)
21+
- [JS/TS] Throw an error is an invalid Numeric format is provided (mimic .NET behavior) (by @MangelMaxime)
2022

2123
## Fixed
2224

23-
- [JS/TS] - Fix anonymous record printing (#4029) (by @alfonsogarciacaro)
24-
- [Python] - Fix #3998: PhysicalEquality (by @alfonsogarciacaro)
25-
- [Python] Resolve relative paths for non-qualified imports (#3481) (by @alfonsogarciacaro)
26-
- [Python] `importSideEffects` shouldn't generate identifier (#3965) (by @alfonsogarciacaro)
27-
- [JS/TS] Fix #4031: Hoist vars locally in for and while loops (@alfonsogarciacaro)
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)
2844

2945
</PackageReleaseNotes>
3046
<DebugType>embedded</DebugType>

src/Fable.Core/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+
## 4.5.0 - 2025-03-03
11+
1012
### Added
1113

1214
* [JS/TS] Add `CaseRules.LowerAll` (by @shayanhabibi)

src/Fable.Core/Fable.Core.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Description>Fable Core Library</Description>
66
<TargetFramework>netstandard2.0</TargetFramework>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8-
<Version>4.4.0</Version>
8+
<Version>4.5.0</Version>
99
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1010
</PropertyGroup>
1111
<ItemGroup>

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.10"
5+
let VERSION = "5.0.0-alpha.11"
66

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

1010
type CompilerOptionsHelper =
1111
static member Make

src/fable-compiler-js/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-library-ts/CHANGELOG.md

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

88
## Unreleased
99

10+
## 2.0.0-beta.2 - 2025-03-03
11+
1012
* [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
1113
* [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
1214
* [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
1315
* [JS/TS] Remove `Async.RunSynchronously` (by @MangelMaxime)
1416
* [JS/TS] Change signature of `startWithContinuations` to always require all its arguments (by @MangelMaxime)
1517
* [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
18+
* [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
19+
* [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
20+
* [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
21+
* [JS/TS] Fix numeric formats (by @MangelMaxime)
1622

1723
## 2.0.0-beta.1 - 2025-02-16
1824

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.1",
6+
"version": "2.0.0-beta.2",
77
"description": "Core library used by F# projects compiled with fable.io",
88
"author": "Fable Contributors",
99
"license": "MIT",

src/fable-metadata/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.2 - 2025-03-03
11+
1012
* Update `Fable.Core.dll` to support `CaseRules.LowerAll` (by @MangelMaxime)
1113

1214
## 2.0.0-beta.1 - 2025-02-16

src/fable-metadata/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@fable-org/fable-metadata",
33
"private": false,
4-
"version": "2.0.0-beta.1",
4+
"version": "2.0.0-beta.2",
55
"description": "Assemblies needed to compile F# projects with Fable",
66
"main": "index.js",
77
"type": "module",

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.2 - 2025-03-03
11+
12+
* Fable 5.0.0-alpha.11
13+
1014
## 2.0.0-beta.1 - 2025-02-16
1115

1216
* Fable 5.0.0-alpha.10

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.1",
5+
"version": "2.0.0-beta.2",
66
"main": "./dist/bundle.min.js",
77
"description": "Fable compiler",
88
"keywords": [

0 commit comments

Comments
 (0)