|
4 | 4 | <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> |
5 | 5 | <OutputType>Exe</OutputType> |
6 | 6 | <TargetFramework>net6.0</TargetFramework> |
7 | | - <Version>4.9.0</Version> |
8 | | - <PackageReleaseNotes>## Fixed |
| 7 | + <Version>4.10.0</Version> |
| 8 | + <PackageReleaseNotes>## Added |
9 | 9 |
|
10 | 10 |
|
11 | 11 | ### Python |
12 | 12 |
|
13 | | -- [GH-3655](https://github.com/fable-compiler/Fable/issues/3655) Fix for Python output file names (by @dbrattli) |
14 | | -- [GH-3660](https://github.com/fable-compiler/Fable/issues/3660) Fix for decimal to string with culture (by @dbrattli) |
| 13 | +- [GH-3663](https://github.com/fable-compiler/Fable/pull/3663) Complete rewrite of `DateTime` supports (by @MangelMaxime) |
| 14 | + *Special thanks to @dbrattli and @ncave for their help* |
| 15 | + |
| 16 | + * Constructors |
| 17 | + * From `(year, month, day)` up to `(year, month, day, hour, minute, second, millisecond, microsecond)` (with and without `DateTimeKind`) |
| 18 | + * From `ticks` (with and without `DateTimeKind`) |
| 19 | + * Instance methods: |
| 20 | + * `dt.Year` |
| 21 | + * `dt.Month` |
| 22 | + * `dt.Day` |
| 23 | + * `dt.Hour` |
| 24 | + * `dt.Minute` |
| 25 | + * `dt.Second` |
| 26 | + * `dt.Millisecond` |
| 27 | + * `dt.Microsecond` |
| 28 | + * `dt.ToUniversalTime` |
| 29 | + * `dt.DayOfWeek` |
| 30 | + * `dt.DayOfYear` |
| 31 | + * `dt.ToShortDateString` |
| 32 | + * `dt.ToShortTimeString` |
| 33 | + * `dt.ToLongDateString` |
| 34 | + * `dt.ToLongTimeString` |
| 35 | + * `dt.ToString` |
| 36 | + * `dt.ToLocalTime` |
| 37 | + * `dt.Date` |
| 38 | + * `dt.AddYears` |
| 39 | + * `dt.AddMonths` |
| 40 | + * `dt.AddDays` |
| 41 | + * `dt.AddHours` |
| 42 | + * `dt.AddMinutes` |
| 43 | + * `dt.AddSeconds` |
| 44 | + * `dt.AddMilliseconds` |
| 45 | + * `dt.AddMicroseconds` |
| 46 | + * `dt.Kind` |
| 47 | + * Static methods: |
| 48 | + * `DateTime.Today` |
| 49 | + * `DateTime.Now` |
| 50 | + * `DateTime.Now` |
| 51 | + * `DateTime.UtcNow` |
| 52 | + * `DateTime.MinValue` |
| 53 | + * `DateTime.MaxValue` |
| 54 | + * `DateTime.Parse` |
| 55 | + * `DateTime.TryParse` |
| 56 | + * `DateTime.SpecifyKind` |
| 57 | + |
| 58 | +### JavaScript |
| 59 | + |
| 60 | +- [GH-3715](https://github.com/fable-compiler/Fable/pull/3715) Add support for System.Array.Resize (by @chkn) |
| 61 | + |
| 62 | +## Changed |
| 63 | + |
| 64 | + |
| 65 | +### All |
| 66 | + |
| 67 | +- [GH-3671](https://github.com/fable-compiler/Fable/pull/3671) Use `Microsoft.Extensions.Logging` (by @nojaf) |
| 68 | +- [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) |
| 69 | + |
| 70 | +### Dart |
| 71 | + |
| 72 | +- Fix `DateTime.DayOfWeek` (by @MangelMaxime) |
| 73 | + |
| 74 | +## Fixed |
| 75 | + |
| 76 | + |
| 77 | +### All |
| 78 | + |
| 79 | +- Fixed function composition types (by @ncave) |
| 80 | +- [GH-3668](https://github.com/fable-compiler/Fable/pull/3668) Normalize fable-library argument (by @nojaf) |
| 81 | +- [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) |
| 82 | +- [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) |
| 83 | +- [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) |
| 84 | + |
| 85 | +### Javascript |
| 86 | + |
| 87 | +- Fixed 'System.Collections.Generic.Queue' bug (by @PierreYvesR) |
| 88 | +- Fixed instance calls for generic comparers (by @ncave) |
| 89 | + |
| 90 | +### Python |
| 91 | + |
| 92 | +- Fixed nested type with custom hashcode (by @dbrattli) |
| 93 | +- Add 'Double.IsPositiveInfinity' (by @PierreYvesR) |
| 94 | +- [GH-3666](https://github.com/fable-compiler/Fable/pull/3666) Fix for `DateTime` and `TimeSpan` addition (by @dbrattli) |
| 95 | +- [GH-3663](https://github.com/fable-compiler/Fable/pull/3663) Fix `DateTime.Parse` and `DateTime.TryParse` (by @MangelMaxime) |
| 96 | + |
| 97 | +### JavaScript |
| 98 | + |
| 99 | +- Fix `DateTime.Parse` when providing a 1 digit hour for PM times (`3:5:34 PM`) (by @MangelMaxime) |
| 100 | + |
| 101 | +### Rust |
| 102 | + |
| 103 | +- Fixed unary negation for signed integer MinValue (by @ncave) |
| 104 | +- Fixed excluding signature files from imports (by @ncave) |
| 105 | +- Fixed generic try_catch closure trait (by @ncave) |
| 106 | +- Fixed `self` arg capture in methods (by @ncave) |
| 107 | +- Fixed 'System.Collections.Generic.Queue' bug (by @PierreYvesR) |
| 108 | +- Added support for generic comparers (by @ncave) |
15 | 109 |
|
16 | 110 | </PackageReleaseNotes> |
17 | 111 | <!-- Allow users with newer dotnet SDK to run Fable, see #1910 --> |
|
0 commit comments