Skip to content

Commit

Permalink
Release 4.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Mar 1, 2024
1 parent f5da9ec commit c287b15
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 40 deletions.
3 changes: 3 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

## 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)
Expand All @@ -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

Expand Down
46 changes: 10 additions & 36 deletions src/Fable.Cli/Fable.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,20 @@
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Version>4.13.0</Version>
<PackageReleaseNotes>## Added
<Version>4.14.0</Version>
<PackageReleaseNotes>## 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)

</PackageReleaseNotes>
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
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 = "4.13.0"
let VERSION = "4.14.0"

[<Literal>]
let JS_LIBRARY_VERSION = "1.1.0"
let JS_LIBRARY_VERSION = "1.2.0"

type CompilerOptionsHelper =
static member Make
Expand Down
8 changes: 8 additions & 0 deletions src/fable-library-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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": "1.1.0",
"version": "1.2.0",
"description": "Core library used by F# projects compiled with fable.io",
"author": "Fable Contributors",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions src/fable-standalone/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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": "1.1.0",
"version": "1.2.0",
"main": "./dist/bundle.min.js",
"description": "Fable compiler",
"keywords": [
Expand Down

0 comments on commit c287b15

Please sign in to comment.