| last_commit_released | 1b98e05f7319e14827edfa6a1c27db52e99ac766 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| updaters |
|
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- (all) Pass defaults for DefaultValue fields to ctors (#5267) (cc94c9cc)
- (all)
groupByandcountBywith NaN keys (#5307) (d422d3d2) - (all) Match .NET for float ranges with a step (#5310) (2b5aa6e3)
- (all) Distinguish delegates in overload suffixes (#5274) (40bd93ca)
- (all) Name anonymous record types in reflection (#5322) (bb8f745e)
- (all) Stop integer ranges at the bounds of their type (#5324) (e9c68b6b)
- (js/ts) Keep TimeSpan.Ticks exact for big values (#5250) (3c1cea99)
- (js/ts)
IReadOnlyListindexer and failedRegexmatch members (#5301) (0adb969d) - (js/ts)
stringandToString()onDateTimeOffsetlike .NET (#5308) (4f1c7016) - (js/ts) Throw
OverflowExceptioninabsandpown(#5309) (e7333e81) - (js/ts) Make
String.Replaceand ignore-case comparisons match .NET (#5283) (a29dbb69) - (js/ts) Reject integer formats .NET rejects (#5273) (f6144e89)
- (js/ts) Support NumberStyles in BigInteger parsing (#5276) (e3a5cc50)
- (js/ts) Follow
NumberStylesin integerParseandConvert(#5313) (0506b4b5) - (js/ts) Add
Regexgroup members, .NET group order (#5314) (103875f6) - (js/ts)
Regex.Matches/Splithang andstartatlike .NET (#5320) (a62efd32) - (js/ts) Keep Char.ToUpper/ToLower to one char like .NET (#5319) (235bb0ff)
- (js/ts/python) Handle cyclic records in formatting (#5298) (78a006a5)
- (js/ts/python) Support
Option.countandMatch.NextMatch(#5300) (22a8ee46) - (js/ts/python/beam) Make a failed
Regex.Matchbehave likeMatch.Empty(#5321) (1644eeb7)
- (js/ts/python/dart/rust/beam) Support Convert.ToHexString, ToHexStringLower and FromHexString (#5204) (3a3acf4e)
- (js/ts) Round float32 results like .NET (#5222) (7b176e7e)
- (js/ts) Unescape doubled braces in String.Format (#5231) (24e01fd3)
- (js/ts) Treat null as empty in String.Join and Concat (#5230) (a7dcab8d)
- (js/ts) Support MidpointRounding in Math.Round (#5233) (5a7ea990)
- (js/ts) Print null strings as empty (6c22c162)
- (js/ts) Round exact midpoints to even in numeric formats (#5245) (350a3900)
- (js/ts) Round Math.Round ties on the exact value (#5254) (8014fb20)
- (js/ts) Write floats like .NET's ToString (#5246) (c958156c)
- (js/ts) Keep format of interpolated StringFormat (#5248) (03712db9)
- (js/ts) Evaluate reflection parents lazily (#5243) (7d46c714)
- (js/ts/python/dart/rust/beam) Use FSharp.Core's algorithms for random collection functions (#5197) (dd860cc1)
- (js/ts) Support the "R" numeric format and choose "G" notation like .NET (#5212) (24d9c41a)
- (js/ts/python/dart/beam) Support ArgumentException.ParamName (#5203) (8ed77788)
- (js/ts/python/dart/beam) Support System.Array.BinarySearch and ResizeArray.BinarySearch (#5172) (d332e7d4)
- (all) Accept RegexOptions.NonBacktracking (#5178) (a61ec8a1)
- (js/ts) Format DateTimeOffset in its own offset (#5171) (04ddbd20)
- (js/ts) Support %o in sprintf and interpolated strings (#5175) (e13e7b0f)
- (js/ts) Parse numbers like .NET and raise its exception types (#5200) (82e606e9)
- (js/ts) Honor NumberStyles when parsing floats (#5217) (82b935f3)
- (js/ts/python/dart/beam) Raise typed exceptions from invalidArg and invalidOp (60f2f5b9)
- (js/ts/python/dart/beam) Align collection exception types with FSharp.Core (#5153) (7d7ceb33)
- (js/ts/python/dart/beam) Add FSharp.Core's argument checks to collection functions (#5154) (5185e654)
- (js/ts) Standard library combine numeric hash from snapshot of object instead of mapping (#5151) (44495104)
- (js/ts) Standard library remove .map result array from record hash using snapshot (#5150) (0ceb5e9e)
- (js/ts) Standard library one pass List.append builder (#5148) (2ed9d6dd)
- (js/ts) List node as a class with a shared empty node (#5185) (187f8985)
- (js/ts) Check array bounds only on undefined reads (#5188) (435fc0bb)
- (js/ts) Closure-free ref cells and out-arg value cells (#5189) (91bca925)
- (js/ts) Keep the curried original on its adapter (#5191) (bfb4a2a4)
- (js/ts) Walk arrays by index when enumerated as seq (#5192) (d88621c3)
- (js/ts) Hash unions without allocating (#5195) (2b66a5d2)
- (js/ts) Probe dictionary buckets without allocating (#5196) (9517eafd)
- (js/ts) Support System.Diagnostics.Stopwatch (#5100) (eb68225f)
- (js/ts) Round decimals below 0.1 correctly (fca4c408)
- (js/ts) Keep decimal zero scale without leading zeros (3076b45a)
- (js/ts) Hash decimals by value in collections (32a69e0d)
- (js/ts) Keep .NET decimal scale through arithmetic (#5126) (bdf0a6c8)
- (js/ts) Accept decimal integers up to 2^96 (c9feb339)
- (js/ts) Align decimal conversion, parsing and G format (6430cdac)
- (js/ts) Add missing Async and Task members, cancel timed-out StartChild, bind Async in task { } (#5097) (d063630d)
- (js/ts) Respect maxDegreeOfParallelism and cancel on failure in Async.Parallel (#5098) (5de3271d)
- (js/ts/python/beam) Support Async.TryCancelled (#5083) (1643297d)
- (js/ts) Avoid full array copy in Encoding.GetString (#5069) (e6b72ec7)
- (js/ts/python) Preserve cancelled cleanup and generic unit callbacks (#5062) (5dd6b497)
- (js/ts/python) Synchronize cancellation registrations (#5036) (07db576c)
- (js/ts/python) Settle cancelled delays and finalizers once (#5038) (a9802484)
- (js/ts) Fix Dictionary.Remove and HashSet.Remove to remove empty buckets (#4985) (aea61b56)
- (js/ts) Clear custom System.Collections.IList implementations (2369fbd2)
- (js/ts) Faster
resizeArray.Clear()in JS/TS (32d85add)
- (js/ts) Keep the sign of negative decimals below 0.1 (91d80f18)
- (js/ts) Respect the precision when formatting decimals below 0.1 (1c02557e)
- (js/ts) Omit the decimal sign when the rounded result is zero (ef63087d)
- Add Temporal dates and times (opt-in) (#4759) (3e8f56f7)
- (js/ts) Match .NET for G, E and custom numeric formats (6fb03090)
- (js/ts) Allow the E format specifier on Int64 and UInt64 (c49d1ec5)
- (all) Quotations: DerivedPatterns, and captured locals as Value nodes (#4919) (fae5093f)
- (all) Emit instance calls for virtual methods inherited from Object (#4926) (2fb535a7)
- (js/ts,python) Inline Option/ValueOption combinators to avoid closures and allocations (#4836) (61cac646)
- (js/ts) Add
System.IO.Directorysupport (Exists, CreateDirectory) (#4798) (6568f35e) - (js/ts/python/beam) Preserve member calls and pattern matches in quotations (#4780) (55482e6b)
- (js/ts) Async cancellation propagation and continuation double-resolve (#4746) (c78a9a8e)
- (js/ts) Date arithmetic: PM parsing, AddMonths day clamp, AddYears offset (#4744) (be0558eb)
- (js/ts) Int64 non-decimal parsing and BitConverter .NET mismatches (#4748) (2704d9c5)
- MailboxProcessor dropping falsy messages and unit replies (8299b2e7)
- (all) Add
Seq.enumerateTryWithfor try/with in seq, list, array comprehensions (#4750) (448c90d7) - (js/ts) Match .NET NaN semantics in JS comparison, min and max (7e5106f9)
- (js/ts) BigInteger byte-array corruption, checked conversions, gcd, log2 (#4743) (f3cb7f2b)
- (js/ts) Observable/Event dropping null/undefined/unit values (#4742) (75bff73b)
- (js/ts) EndsWith regression for empty pattern with non-ordinal comparison (7793ed7b)
- (js/ts/python) Quote strings with the %A format specifier (#4749) (75321f3b)
- (ts/js)
Regex.Replacecount/substitutions andRegex.Splitsemantics (#4741) (d6ae6bd3)
- (js/ts) Add
System.IO.PathandSystem.IO.FileAPI support (ec99fac5) - (js/ts/python) Add Environment and Console.Error support (6e082f95)
- (js/ts) DateTime.ToString() and %A are now consistent across all DateTimeKind values (#4714) (de98b0e4)
- (js/ts) Map task { } to Promise (97f54d36)
- (js/ts/python/beam) Add support for
Async.AwaitEvent(#4693) (71c98179)
- (js) Respect StringComparison in String.IndexOf/LastIndexOf (#4681) (7cb92d52)
- (js/ts) Int list is not a union type (#4698) (ecbecbe7)
- (js/ts) Pass TypeInfo to getRecordFields to handle None fields in anonymous records (#4704) (c977d78b)
- (ts) Widen isEnumDefined value parameter to accept any value (#4690) (0d6498dd)
- (all) Support Exception.InnerException across all targets (#4677) (c9b3ee24)
- (js/ts) Reject JS-permissive date strings that .NET TryParse rejects (#4588) (09003de)
- (js/ts) Make Exception.ToString() return the message instead of "Exception" (#4635) (4c36f76)
- (js/ts/python) Add missing standard DateTime format specifiers for JS/TS and Python (#4547) (90f5eb7)
- (js/ts/python) Add missing StringBuilder.Append overloads for numeric types (#4568) (b402c30)
- [JS/TS] Fix DatetimeOffset.ToString("s") (#4596) (3ce6f3f)
- (js/ts) Fix datetime custom format off by one year (#4558) (83bdbb5)
- (js/ts) Hex format specifier uses no padding unless precision is specified (#4603) (ba9857a)
- (js/ts) Fix Decimal.GetBits returning incorrect mantissa after round arithmetic result (#4561) (345bcd4)
- (js/ts) Fix G/g format specifier corrupting exponential notation when trimming trailing zeros (#4587) (773c098)
- (js/ts/python) Fix FSharpOption not recognized as union type in F# reflection (#4529) (d78a37d)
- (ts) Enforce browser-only compatibility in fable-library-ts tsconfig (#4563) (10c81c1)
- [JS/TS] Fix
ResizeArray(System.Collections.Generic.List) equality to use reference equality instead of structural equality (fixes #3718) - [JS/TS] Fix
String.ContainsignoringStringComparisonargument (second argument was silently discarded)
- [JS/TS] Fix
Async.StartChildwith timeout always timing out even when the computation finishes before the deadline (fixes #4481) (by @MangelMaxime)
- [JS/TS] Improve
Regex.EscapeandRegex.Unescapehandling (by @MangelMaxime) - [JS/TS] Fixed quotation for union string cases (by @MangelMaxime)
- [JS/TS] Fix
Unchecked.defaultof<char>being emitted asnullinstead of'\0'(by @MangelMaxime)
- [TS] Expose optional
stackproperty onException(by @MangelMaxime)
- [JS/TS] Allows compiling
fable-library-tsfor Browser environment (by @goswinr)
- [JS/TS] Fix
StringBuilder.Charsgetter and setter (by @MangelMaxime)
- [JS/TS] Fix #4305
DateTimeOffset.Nowreturns wrong time (by @ncave)
- [JS/TS] Replace the deprecated
substrmethod withslice(by @Thorium)
- [JS/TS] Initial support for Nullable Reference Types (by @ncave)
- [JS/TS] Make
nullArgCheckreport the same error message as on .NET (by @MangelMaxime)
- [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
- [JS/TS] Fix
decimaltocharconversion checks (by @ManngelMaxime) - [JS/TS] Propagate non-captured exception when running
Async.StartorAsync.StartImmediate(by @MangelMaxime) - [JS/TS] Remove
Async.RunSynchronously(by @MangelMaxime) - [JS/TS] Change signature of
startWithContinuationsto always require all its arguments (by @MangelMaxime) - [JS/TS] Fix short
DateTimeandDateTimeOffsetshort format strings (by @MangelMaxime) - [JS/TS] Add
Candcformat for numeric types (by @MangelMaxime) - [JS/TS] Add
Bandbformat for numeric types (by @MangelMaxime) - [JS/TS] Add
nformat for numeric types (by @MangelMaxime) - [JS/TS] Fix numeric formats (by @MangelMaxime)
- Compiled with Fable 5.0.0-alpha.10
- [JS/TS] Add
StringBuiler.Append(c: char, repeatCount: int)overload (by @roboz0r)
- [JS/TS] Add new
TimSpaneoverload support coming from .NET 9 (by @MangelMaxime)
- [JS/TS] Fix
DateTimeOffset.ToLocalTime(by @MangelMaxime)
- [JS/TS] Fix
hinDateTime.ToString(@MangelMaxime) - [JS/TS] Fix
hhinDateTime.ToString(@MangelMaxime)
- [JS/TS] Added missing IReadOnlyCollection helpers (#3953)
- Remove
Async(fromAsync.ts) class (by @MangelMaxime)
- Renamed
IAsynctoAsyncinAsyncBuilder.ts(#3906) (by @ncave)
- [JS/TS] Add support for
OrdinalIgnoreCaseoverload forString.EndsWith(#3892) (by @goswinr) - [JS/TS] Add
uri.Port,uri.IsDefaultPort(by @MangelMaxime)
- [JS/TS] Fix escaping of
{and}in FormattableString (#3890) (by @roboz0r) - [JS/TS] Fix
uri.Hostto return the host name without the port (by @MangelMaxime) - [JS/TS] Fix TypeScript compilation by resolving type of
jsOptions(#3894) (by @MangelMaxime)
- [JS/TS] Fixed Decimal comparisons (#3884) (by @ncave)
- [JS/TS] Fixed BigInt.ToDecimal with negative values (#3500) (by @ncave)
- [JS/TS] Fixed DateTime.MinValue, DateTime.MaxValue (#3836) (by @ncave)
- [JS/TS] Add
ConditionalWeakTable(by @chkn)
- [JS/TS]
Boolean.tryParseshould not crash onnullstring (@goswinr)
-
GH-3772 [JS/TS] Re-implement
DateTime.ToStringcustom format handling (by @MangelMaxime)It now supports all custom format specifiers, and behave as if
CultureInfo.InvariantCulturewas used (Fable does not support Globalization).
- GH-3759 Add
StringBuilder.Chars(by @MangelMaxime) - Add
StringBuilder.AppendFormat(by @ncave) - GH-3748 Add
Array.getItemandArray.setItem(by @MangelMaxime)
- Release stable version
- Separate
ResultfromChoice - Released as part of Fable 4.12.0