Skip to content

Commit

Permalink
Release 4.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Jan 30, 2024
1 parent d8a832e commit 0c25611
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 93 deletions.
4 changes: 3 additions & 1 deletion 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.11.0 - 2024-01-30

### Changed

#### All
Expand All @@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

#### All

* [GH-3723](https://github.com/fable-compiler/Fable/pull/3723) Fix logging initialisation to allow `--version` to work (by @MangelMaxime)
* [GH-3723](https://github.com/fable-compiler/Fable/pull/3723) Fix logger initialisation to allow `--version` to work (by @MangelMaxime)

#### JavaScript

Expand Down
95 changes: 6 additions & 89 deletions src/Fable.Cli/Fable.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,108 +4,25 @@
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Version>4.10.0</Version>
<PackageReleaseNotes>## Added


### Python

- [GH-3663](https://github.com/fable-compiler/Fable/pull/3663) Complete rewrite of `DateTime` supports (by @MangelMaxime)
*Special thanks to @dbrattli and @ncave for their help*

* Constructors
* From `(year, month, day)` up to `(year, month, day, hour, minute, second, millisecond, microsecond)` (with and without `DateTimeKind`)
* From `ticks` (with and without `DateTimeKind`)
* Instance methods:
* `dt.Year`
* `dt.Month`
* `dt.Day`
* `dt.Hour`
* `dt.Minute`
* `dt.Second`
* `dt.Millisecond`
* `dt.Microsecond`
* `dt.ToUniversalTime`
* `dt.DayOfWeek`
* `dt.DayOfYear`
* `dt.ToShortDateString`
* `dt.ToShortTimeString`
* `dt.ToLongDateString`
* `dt.ToLongTimeString`
* `dt.ToString`
* `dt.ToLocalTime`
* `dt.Date`
* `dt.AddYears`
* `dt.AddMonths`
* `dt.AddDays`
* `dt.AddHours`
* `dt.AddMinutes`
* `dt.AddSeconds`
* `dt.AddMilliseconds`
* `dt.AddMicroseconds`
* `dt.Kind`
* Static methods:
* `DateTime.Today`
* `DateTime.Now`
* `DateTime.Now`
* `DateTime.UtcNow`
* `DateTime.MinValue`
* `DateTime.MaxValue`
* `DateTime.Parse`
* `DateTime.TryParse`
* `DateTime.SpecifyKind`

### JavaScript

- [GH-3715](https://github.com/fable-compiler/Fable/pull/3715) Add support for System.Array.Resize (by @chkn)

## Changed
<Version>4.11.0</Version>
<PackageReleaseNotes>## Changed


### All

- [GH-3671](https://github.com/fable-compiler/Fable/pull/3671) Use `Microsoft.Extensions.Logging` (by @nojaf)
- [GH-3634](https://github.com/fable-compiler/Fable/issues/3634) Suffix temporary `csproj` with `.fable-temp.csproj` and include a comment in the file (by @MangelMaxime)

### Dart

- Fix `DateTime.DayOfWeek` (by @MangelMaxime)
- [GH-3719](https://github.com/fable-compiler/Fable/issues/3719) Restore dependencies against the `.fsproj` after evaluating the `fable-temp.csproj` file (Improves IDE supports) (by @MangelMaxime)
- Don't delete `fable_modules` when re-evaluating the project file after a changes has been detected (Improves HMR experience) (by @MangelMaxime)

## Fixed


### All

- Fixed function composition types (by @ncave)
- [GH-3668](https://github.com/fable-compiler/Fable/pull/3668) Normalize fable-library argument (by @nojaf)
- [GH-3682](https://github.com/fable-compiler/Fable/pull/3682) Support some custom unary math operors (Acos, Asin, Atan, Atan2, Cos, Cosh, Exp, Log, Log2, Log10, Sin, Sinh, Sqrt, Tan, Tanh) (by @PierreYvesR)
- [GH-3603](https://github.com/fable-compiler/Fable/issues/3603) Port back fixes for missing `.gitignore` file in the generated `fable_modules/` folder (by @MangelMaxime)
- [GH-3684](https://github.com/fable-compiler/Fable/pull/3684) Re-compile files from `fable_modules` after changing the project file in watch mode (by @OrfeasZ)

### Javascript

- Fixed 'System.Collections.Generic.Queue' bug (by @PierreYvesR)
- Fixed instance calls for generic comparers (by @ncave)

### Python

- Fixed nested type with custom hashcode (by @dbrattli)
- Add 'Double.IsPositiveInfinity' (by @PierreYvesR)
- [GH-3666](https://github.com/fable-compiler/Fable/pull/3666) Fix for `DateTime` and `TimeSpan` addition (by @dbrattli)
- [GH-3663](https://github.com/fable-compiler/Fable/pull/3663) Fix `DateTime.Parse` and `DateTime.TryParse` (by @MangelMaxime)
- [GH-3723](https://github.com/fable-compiler/Fable/pull/3723) Fix logger initialisation to allow `--version` to work (by @MangelMaxime)

### JavaScript

- Fix `DateTime.Parse` when providing a 1 digit hour for PM times (`3:5:34 PM`) (by @MangelMaxime)

### Rust

- Fixed unary negation for signed integer MinValue (by @ncave)
- Fixed excluding signature files from imports (by @ncave)
- Fixed generic try_catch closure trait (by @ncave)
- Fixed `self` arg capture in methods (by @ncave)
- Fixed 'System.Collections.Generic.Queue' bug (by @PierreYvesR)
- Added support for generic comparers (by @ncave)
- [GH-3716](https://github.com/fable-compiler/Fable/pull/3716) System.Array.Resize: also handle the case where the array is null (by @chkn)

</PackageReleaseNotes>
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Transforms/Global/Compiler.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ open System

module Literals =
[<Literal>]
let VERSION = "4.10.0"
let VERSION = "4.11.0"

[<Literal>]
let JS_LIBRARY_VERSION = "1.1.1"
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.

0 comments on commit 0c25611

Please sign in to comment.