From 98bf8288b154cbae4ebfc29db79ad9ac163906e1 Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Tue, 20 Feb 2024 20:26:20 +0000 Subject: [PATCH] Release 4.13.0 --- src/Fable.Cli/CHANGELOG.md | 2 ++ src/Fable.Cli/Fable.Cli.fsproj | 42 +++++++++++++++++++++++-- src/Fable.Transforms/Global/Compiler.fs | 2 +- src/fable-compiler-js/package-lock.json | 4 +-- src/fable-standalone/package-lock.json | 4 +-- 5 files changed, 46 insertions(+), 8 deletions(-) diff --git a/src/Fable.Cli/CHANGELOG.md b/src/Fable.Cli/CHANGELOG.md index 3ddcc6febd..643ac3bb8b 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.13.0 - 2024-02-13 + ### Added #### JavaScript diff --git a/src/Fable.Cli/Fable.Cli.fsproj b/src/Fable.Cli/Fable.Cli.fsproj index f4688cfa66..5abf3b2f5f 100644 --- a/src/Fable.Cli/Fable.Cli.fsproj +++ b/src/Fable.Cli/Fable.Cli.fsproj @@ -4,10 +4,46 @@ true Exe net6.0 - 4.12.2 - ## Changed + 4.13.0 + ## Added -- Update to Fable.AST 4.4.0 + +### 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) + +## 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) diff --git a/src/Fable.Transforms/Global/Compiler.fs b/src/Fable.Transforms/Global/Compiler.fs index b90ce0842e..86b9a20172 100644 --- a/src/Fable.Transforms/Global/Compiler.fs +++ b/src/Fable.Transforms/Global/Compiler.fs @@ -2,7 +2,7 @@ namespace Fable module Literals = [] - let VERSION = "4.12.2" + let VERSION = "4.13.0" [] let JS_LIBRARY_VERSION = "1.1.0" diff --git a/src/fable-compiler-js/package-lock.json b/src/fable-compiler-js/package-lock.json index 303079dbd2..33deab4176 100644 --- a/src/fable-compiler-js/package-lock.json +++ b/src/fable-compiler-js/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fable-org/fable-compiler-js", - "version": "1.0.0", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@fable-org/fable-compiler-js", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "dependencies": { "fable-metadata": "^2.0.0", diff --git a/src/fable-standalone/package-lock.json b/src/fable-standalone/package-lock.json index 49681d395c..fdbb9a9e41 100644 --- a/src/fable-standalone/package-lock.json +++ b/src/fable-standalone/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fable-org/fable-standalone", - "version": "1.0.0", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@fable-org/fable-standalone", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "devDependencies": { "esbuild": "^0.19.5",