Skip to content

4.10.0

Compare
Choose a tag to compare
@MangelMaxime MangelMaxime released this 25 Jan 07:47
· 166 commits to main since this release

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 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

Changed

All

Dart

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 generated fable_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

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)