Skip to content

Commit

Permalink
Release 5.0.0-alpha.11
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Mar 3, 2025
1 parent 38b3ebd commit 0191340
Show file tree
Hide file tree
Showing 15 changed files with 82 additions and 32 deletions.
2 changes: 2 additions & 0 deletions src/Fable.Cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 5.0.0-alpha.11 - 2025-03-03

### Added

* [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)
Expand Down
38 changes: 27 additions & 11 deletions src/Fable.Cli/Fable.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,41 @@
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Version>5.0.0-alpha.10</Version>
<Version>5.0.0-alpha.11</Version>
<PackageReleaseNotes>## Added

- [Python] Print root module and module function comments (by @alfonsogarciacaro)
- [Rust] Add support for module comments (by @ncave)
- [Rust] Add support for null strings (by @ncave)
- [TS/JS] `Pojo` attribute support (by @alfonsogarciacaro)
- [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)
- [Rust] Support Rust 2024 language edition (by @ncave)
- [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
- [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
- [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
- [JS/TS] Generate compiler error when detecting an invalid/unsupported format specifier for numeric types (by @MangelMaxime)

## Changed

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

## Fixed

- [JS/TS] - Fix anonymous record printing (#4029) (by @alfonsogarciacaro)
- [Python] - Fix #3998: PhysicalEquality (by @alfonsogarciacaro)
- [Python] Resolve relative paths for non-qualified imports (#3481) (by @alfonsogarciacaro)
- [Python] `importSideEffects` shouldn't generate identifier (#3965) (by @alfonsogarciacaro)
- [JS/TS] Fix #4031: Hoist vars locally in for and while loops (@alfonsogarciacaro)
- [JS/TS] Fix #4025: No reflection info for pojos (by @alfonsogarciacaro)
- [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
- [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
- [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
- [JS/TS] Report an error at compilation time when trying to use `Async.RunSynchronously` (by @MangelMaxime)
- [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
- [All] Don't scan system packages for plugins (by @MangelMaxime)
- [JS/TS] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
- [Python] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
- [JS/TS] Fix #4010: Supports direct nested types when using `jsOptions` (by @MangelMaxime)
```fs
let opts =
jsOptions&lt;Level1&gt; (fun o -&gt;
o.level2.level3.valueA &lt;- 10
o.level2.level3.valueB &lt;- 20
o.topValueA &lt;- 20
)
```
- [JS/TS] Fix numeric formats (by @MangelMaxime)

</PackageReleaseNotes>
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
Expand Down
2 changes: 2 additions & 0 deletions src/Fable.Compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 5.0.0-alpha.11 - 2025-03-03

### Added

* [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)
Expand Down
38 changes: 27 additions & 11 deletions src/Fable.Compiler/Fable.Compiler.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,41 @@
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<RootNamespace>Fable.Compiler</RootNamespace>
<Version>5.0.0-alpha.10</Version>
<Version>5.0.0-alpha.11</Version>
<PackageReleaseNotes>## Added

- [Python] - Print root module and module function comments (by @alfonsogarciacaro)
- [Rust] Add support for module comments (by @ncave)
- [Rust] Add support for null strings (by @ncave)
- [TS/JS] `Pojo` attribute support (by @alfonsogarciacaro)
- [JS/TS] Add support for `CaseRules.LowerAll` on `StringEnums` (by @shayanhabibi)
- [Rust] Support Rust 2024 language edition (by @ncave)
- [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
- [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
- [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
- [JS/TS] Generate compiler error when detecting an invalid/unsupported format specifier for numeric types (by @MangelMaxime)

## Changed

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

## Fixed

- [JS/TS] - Fix anonymous record printing (#4029) (by @alfonsogarciacaro)
- [Python] - Fix #3998: PhysicalEquality (by @alfonsogarciacaro)
- [Python] Resolve relative paths for non-qualified imports (#3481) (by @alfonsogarciacaro)
- [Python] `importSideEffects` shouldn't generate identifier (#3965) (by @alfonsogarciacaro)
- [JS/TS] Fix #4031: Hoist vars locally in for and while loops (@alfonsogarciacaro)
- [JS/TS] Fix #4025: No reflection info for pojos (by @alfonsogarciacaro)
- [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
- [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
- [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
- [JS/TS] Report an error at compilation time when trying to use `Async.RunSynchronously` (by @MangelMaxime)
- [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
- [All] Don't scan system packages for plugins (by @MangelMaxime)
- [JS/TS] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
- [Python] Fix date formatting when repeating a format token more than the known format (example repeating 'd' more than 4 times) (by @MangelMaxime)
- [JS/TS] Fix #4010: Supports direct nested types when using `jsOptions` (by @MangelMaxime)
```fs
let opts =
jsOptions&lt;Level1&gt; (fun o -&gt;
o.level2.level3.valueA &lt;- 10
o.level2.level3.valueB &lt;- 20
o.topValueA &lt;- 20
)
```
- [JS/TS] Fix numeric formats (by @MangelMaxime)

</PackageReleaseNotes>
<DebugType>embedded</DebugType>
Expand Down
2 changes: 2 additions & 0 deletions src/Fable.Core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 4.5.0 - 2025-03-03

### Added

* [JS/TS] Add `CaseRules.LowerAll` (by @shayanhabibi)
Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Core/Fable.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description>Fable Core Library</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>4.4.0</Version>
<Version>4.5.0</Version>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Fable.Transforms/Global/Compiler.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ namespace Fable

module Literals =
[<Literal>]
let VERSION = "5.0.0-alpha.10"
let VERSION = "5.0.0-alpha.11"

[<Literal>]
let JS_LIBRARY_VERSION = "2.0.0-beta.1"
let JS_LIBRARY_VERSION = "2.0.0-beta.2"

type CompilerOptionsHelper =
static member Make
Expand Down
4 changes: 2 additions & 2 deletions src/fable-compiler-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/fable-library-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 2.0.0-beta.2 - 2025-03-03

* [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
* [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
* [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
* [JS/TS] Remove `Async.RunSynchronously` (by @MangelMaxime)
* [JS/TS] Change signature of `startWithContinuations` to always require all its arguments (by @MangelMaxime)
* [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
* [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
* [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
* [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
* [JS/TS] Fix numeric formats (by @MangelMaxime)

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

Expand Down
2 changes: 1 addition & 1 deletion src/fable-library-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": false,
"type": "module",
"name": "@fable-org/fable-library-ts",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Core library used by F# projects compiled with fable.io",
"author": "Fable Contributors",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions src/fable-metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 2.0.0-beta.2 - 2025-03-03

* Update `Fable.Core.dll` to support `CaseRules.LowerAll` (by @MangelMaxime)

## 2.0.0-beta.1 - 2025-02-16
Expand Down
2 changes: 1 addition & 1 deletion src/fable-metadata/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fable-org/fable-metadata",
"private": false,
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Assemblies needed to compile F# projects with Fable",
"main": "index.js",
"type": "module",
Expand Down
4 changes: 4 additions & 0 deletions src/fable-standalone/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 2.0.0-beta.2 - 2025-03-03

* Fable 5.0.0-alpha.11

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

* Fable 5.0.0-alpha.10
Expand Down
4 changes: 2 additions & 2 deletions src/fable-standalone/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/fable-standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "module",
"name": "@fable-org/fable-standalone",
"private": false,
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"main": "./dist/bundle.min.js",
"description": "Fable compiler",
"keywords": [
Expand Down

0 comments on commit 0191340

Please sign in to comment.