diff --git a/src/Fable.Cli/CHANGELOG.md b/src/Fable.Cli/CHANGELOG.md index 509cfd15fa..8e3b7e3ed5 100644 --- a/src/Fable.Cli/CHANGELOG.md +++ b/src/Fable.Cli/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 4.14.0 - 2024-03-01 + ### Fixed * [GH-3769](https://github.com/fable-compiler/Fable/pull/3769) [All] Local plugin build does not run indefinably. (by @nojaf) @@ -17,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Make compilation fails if calling `DateTime` constructor with microseconds (by @MangelMaxime) JavaScript `Date` does not support microseconds, we need to wait for `Temporal` to be widely supported before reconsidering this. +* [GH-3773](https://github.com/fable-compiler/Fable/pull/3773) [Python] Fix `DateTime` custom format `fffffff` and `FFFFFFF` (by @MangelMaxime) ### Changed diff --git a/src/Fable.Cli/Fable.Cli.fsproj b/src/Fable.Cli/Fable.Cli.fsproj index 5abf3b2f5f..dcf688dabb 100644 --- a/src/Fable.Cli/Fable.Cli.fsproj +++ b/src/Fable.Cli/Fable.Cli.fsproj @@ -4,46 +4,20 @@ true Exe net6.0 - 4.13.0 - ## Added + 4.14.0 + ## Changed - -### JavaScript - -- [GH-3759](https://github.com/fable-compiler/Fable/issues/3759) Add `StringBuilder.Chars` (by @MangelMaxime) -- Added range overload for `String.ToCharArray` (by @ncave) - -### Rust - -- [GH-3761](https://github.com/fable-compiler/Fable/pull/3761) Added `StringBuilder.Chars`, `StringBuilder.Remove` and tests. (by @ncave) - -### Dart - -- [GH-3761](https://github.com/fable-compiler/Fable/pull/3761) Added `StringBuilder` support and tests. (by @ncave) - -## Changed - - -### JavaScript - -- [GH-3761](https://github.com/fable-compiler/Fable/pull/3761) Updated `StringBuilder` to remove allocations where possible. (by @ncave) - -### Python - -- [GH-3761](https://github.com/fable-compiler/Fable/pull/3761) Updated `StringBuilder` to remove allocations where possible. (by @ncave) +- [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Split replacement for `DateTime` and `DateTimeOffset` (by @MangelMaxime) ## Fixed - -### JavaScript - -- [GH-3748](https://github.com/fable-compiler/Fable/pull/3748) Accessing an array out of bounds should emit an exception (by @MangelMaxime) -- [GH-3748](https://github.com/fable-compiler/Fable/pull/3748) Setting an array out of bounds should emit an exception (by @MangelMaxime) -- [GH-3761](https://github.com/fable-compiler/Fable/pull/3761) Fixed incorrect `StringBuilder.Remove` implementation. (by @ncave) - -### Python - -- [GH-3761](https://github.com/fable-compiler/Fable/pull/3761) Fixed incorrect `StringBuilder.Remove` implementation. (by @ncave) +- [GH-3769](https://github.com/fable-compiler/Fable/pull/3769) [All] Local plugin build does not run indefinably. (by @nojaf) +- [GH-3769](https://github.com/fable-compiler/Fable/pull/3769) [JS/TS] Types hidden by signature files should not be exported. (by @nojaf) +- [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Re-implement `DateTime.ToString` custom format handling (by @MangelMaxime) + It now supports all custom format specifiers, and behave as if `CultureInfo.InvariantCulture` was used (Fable does not support Globalization). +- [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Make compilation fails if calling `DateTime` constructor with microseconds (by @MangelMaxime) + JavaScript `Date` does not support microseconds, we need to wait for `Temporal` to be widely supported before reconsidering this. +- [GH-3773](https://github.com/fable-compiler/Fable/pull/3773) [Python] Fix `DateTime` custom format `fffffff` and `FFFFFFF` (by @MangelMaxime) diff --git a/src/Fable.Transforms/Global/Compiler.fs b/src/Fable.Transforms/Global/Compiler.fs index 86b9a20172..8d07f7d398 100644 --- a/src/Fable.Transforms/Global/Compiler.fs +++ b/src/Fable.Transforms/Global/Compiler.fs @@ -2,10 +2,10 @@ namespace Fable module Literals = [] - let VERSION = "4.13.0" + let VERSION = "4.14.0" [] - let JS_LIBRARY_VERSION = "1.1.0" + let JS_LIBRARY_VERSION = "1.2.0" type CompilerOptionsHelper = static member Make diff --git a/src/fable-library-ts/CHANGELOG.md b/src/fable-library-ts/CHANGELOG.md index 8f86eba3c8..3eeaa87efc 100644 --- a/src/fable-library-ts/CHANGELOG.md +++ b/src/fable-library-ts/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 1.2.0 - 2024-03-01 + +### Fixed + +* [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Re-implement `DateTime.ToString` custom format handling (by @MangelMaxime) + + It now supports all custom format specifiers, and behave as if `CultureInfo.InvariantCulture` was used (Fable does not support Globalization). + ## 1.1.0 - 2024-02-20 ### Added diff --git a/src/fable-library-ts/package.json b/src/fable-library-ts/package.json index ba7b340c63..c02b8a0a33 100644 --- a/src/fable-library-ts/package.json +++ b/src/fable-library-ts/package.json @@ -3,7 +3,7 @@ "private": false, "type": "module", "name": "@fable-org/fable-library-ts", - "version": "1.1.0", + "version": "1.2.0", "description": "Core library used by F# projects compiled with fable.io", "author": "Fable Contributors", "license": "MIT", diff --git a/src/fable-standalone/CHANGELOG.md b/src/fable-standalone/CHANGELOG.md index 19403c85b0..9c9d8910e5 100644 --- a/src/fable-standalone/CHANGELOG.md +++ b/src/fable-standalone/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 1.2.0 - 2024-03-01 + +### Changed + +* Fable 4.14.0 + ## 1.1.0 - 2024-02-20 ### Changed diff --git a/src/fable-standalone/package.json b/src/fable-standalone/package.json index 450fb4c9be..1fa9cb2c7d 100644 --- a/src/fable-standalone/package.json +++ b/src/fable-standalone/package.json @@ -2,7 +2,7 @@ "type": "module", "name": "@fable-org/fable-standalone", "private": false, - "version": "1.1.0", + "version": "1.2.0", "main": "./dist/bundle.min.js", "description": "Fable compiler", "keywords": [