4.10.0
Added
Python
-
GH-3663 Complete rewrite of
DateTimesupports (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.Yeardt.Monthdt.Daydt.Hourdt.Minutedt.Seconddt.Milliseconddt.Microseconddt.ToUniversalTimedt.DayOfWeekdt.DayOfYeardt.ToShortDateStringdt.ToShortTimeStringdt.ToLongDateStringdt.ToLongTimeStringdt.ToStringdt.ToLocalTimedt.Datedt.AddYearsdt.AddMonthsdt.AddDaysdt.AddHoursdt.AddMinutesdt.AddSecondsdt.AddMillisecondsdt.AddMicrosecondsdt.Kind
- Static methods:
DateTime.TodayDateTime.NowDateTime.NowDateTime.UtcNowDateTime.MinValueDateTime.MaxValueDateTime.ParseDateTime.TryParseDateTime.SpecifyKind
- Constructors
JavaScript
Changed
All
- GH-3671 Use
Microsoft.Extensions.Logging(by @nojaf) - GH-3634 Suffix temporary
csprojwith.fable-temp.csprojand 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
.gitignorefile in the generatedfable_modules/folder (by @MangelMaxime) - GH-3684 Re-compile files from
fable_modulesafter 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
DateTimeandTimeSpanaddition (by @dbrattli) - GH-3663 Fix
DateTime.ParseandDateTime.TryParse(by @MangelMaxime)
JavaScript
- Fix
DateTime.Parsewhen 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
selfarg capture in methods (by @ncave) - Fixed 'System.Collections.Generic.Queue' bug (by @PierreYvesR)
- Added support for generic comparers (by @ncave)