4.10.0
Added
Python
-
GH-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 withoutDateTimeKind
) - From
ticks
(with and withoutDateTimeKind
)
- From
- 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
- Constructors
JavaScript
Changed
All
- GH-3671 Use
Microsoft.Extensions.Logging
(by @nojaf) - GH-3634 Suffix temporary
csproj
with.fable-temp.csproj
and include a comment in the file (by @MangelMaxime)
Dart
- Fix
DateTime.DayOfWeek
(by @MangelMaxime)
Fixed
All
- Fixed function composition types (by @ncave)
- GH-3668 Normalize fable-library argument (by @nojaf)
- GH-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 Port back fixes for missing
.gitignore
file in the generatedfable_modules/
folder (by @MangelMaxime) - GH-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 Fix for
DateTime
andTimeSpan
addition (by @dbrattli) - GH-3663 Fix
DateTime.Parse
andDateTime.TryParse
(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)