Skip to content

Latest commit

 

History

History
840 lines (559 loc) · 63.4 KB

CHANGELOG.md

File metadata and controls

840 lines (559 loc) · 63.4 KB
last_commit_released 1b98e05f7319e14827edfa6a1c27db52e99ac766
pre_release beta
include
../Fable.Transforms/
../fcs-fable/
../Fable.AST/
../fable-library-ts/
updaters
package.json
file
package.json
regex
file pattern
../fable-compiler-js/package.json
(?<="@fable-org/fable-standalone": "\^)[^"]+

Changelog

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.

4.0.0-beta.7 - 2026-11-20

🐞 Bug Fixes

  • (all) Pass defaults for DefaultValue fields to ctors (#5267) (cc94c9cc)
  • (all) Copy mutable struct records by value (#5270) (f9657ad3)
  • (all) groupBy and countBy with NaN keys (#5307) (d422d3d2)
  • (all) Match .NET for float ranges with a step (#5310) (2b5aa6e3)
  • (all) Distinguish delegates in overload suffixes (#5274) (40bd93ca)
  • (all) Read more for loop bounds once like .NET (#5287) (1d9fe050)
  • (all) Name anonymous record types in reflection (#5322) (bb8f745e)
  • (all) Stop integer ranges at the bounds of their type (#5324) (e9c68b6b)
  • (dart) Compile nan and infinity to Dart constants (#5325) (93e0ce70)
  • (js/ts) Keep TimeSpan.Ticks exact for big values (#5250) (3c1cea99)
  • (js/ts) Evaluate the Array.create count once (66ace468)
  • (js/ts) Evaluate for loop bound once (#5282) (62378c8b)
  • (js/ts) Truncate 8/16-bit bitwise results and mask shift counts (#5302) (eea3ef98)
  • (js/ts) IReadOnlyList indexer and failed Regex match members (#5301) (0adb969d)
  • (js/ts) Wrap integer arithmetic like .NET (#5304) (e453d983)
  • (js/ts) Print valid regex literal for Regex("") (#5306) (a0b15375)
  • (js/ts) string and ToString() on DateTimeOffset like .NET (#5308) (4f1c7016)
  • (js/ts) Throw OverflowException in abs and pown (#5309) (e7333e81)
  • (js/ts) Make String.Replace and 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 NumberStyles in integer Parse and Convert (#5313) (0506b4b5)
  • (js/ts) Ignore matchTimeout in static Regex calls (9dbc68bb)
  • (js/ts) Wrap -0.0 in parens when negated (#5296) (13f1f621)
  • (js/ts) Add Regex group members, .NET group order (#5314) (103875f6)
  • (js/ts) Regex.Matches/Split hang and startat like .NET (#5320) (a62efd32)
  • (js/ts) Keep Char.ToUpper/ToLower to one char like .NET (#5319) (235bb0ff)
  • (js/ts/python) Support explicit constructors with as and then (#5235) (f8bfce33)
  • (js/ts/python) Handle cyclic records in formatting (#5298) (78a006a5)
  • (js/ts/python) Support Option.count and Match.NextMatch (#5300) (22a8ee46)
  • (js/ts/python/beam) Make a failed Regex.Match behave like Match.Empty (#5321) (1644eeb7)
  • (python) Respect maxDegreeOfParallelism and cancel on failure in Async.Parallel (#5316) (d512a7c2)
  • (python) Compile ContainsKey to in in any position (#5326) (1b98e05f)
  • (rust) Wrap async test bodies with runSynchronously (#5289) (f51333f4)
  • (rust) Mask shift counts like .NET (#5303) (c353f703)

⚡ Performance Improvements

  • (js/ts) Read arrays at the call site (#5264) (dd668b28)
  • (js/ts) Read string chars at the call site (07a38e76)

View changes on Github

4.0.0-beta.6 - 2026-11-03

🚀 Features

  • (js/ts/python/dart/rust/beam) Support Convert.ToHexString, ToHexStringLower and FromHexString (#5204) (3a3acf4e)

🐞 Bug Fixes

  • (all) Keep reads of imported mutable values in place (#5242) (1190dfa5)
  • (all) Rename idents of a witness inlined twice (#5249) (1e41dcc5)
  • (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) Match Dictionary/HashSet array keys by reference (#5239) (1d77d628)
  • (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) Escape */ in JSDoc comments (#5255) (1072231c)
  • (js/ts) Write floats like .NET's ToString (#5246) (c958156c)
  • (js/ts) Keep format of interpolated StringFormat (#5248) (03712db9)
  • (js/ts) Write negated integer zero without a sign (#5256) (ce7fc717)
  • (js/ts) Evaluate reflection parents lazily (#5243) (7d46c714)
  • (js/ts/python) Call base ctor from explicit constructors (#5226) (508026e7)
  • (js/ts/python) Clamp negative slice bounds like .NET (#5232) (7319a994)
  • (js/ts/python/dart/rust/beam) Use FSharp.Core's algorithms for random collection functions (#5197) (dd860cc1)
  • (rust) Inline hashing, more Decimal tests (#5236) (705b6b70)
  • (ts) Declare Mangle(false) interface members unmangled (#5234) (86c00004)
  • (ts) Extend library classes for BCL collection bases (#5240) (d82ef893)

View changes on Github

4.0.0-beta.5 - 2026-10-29

🚀 Features

  • (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)

View changes on Github

4.0.0-beta.4 - 2026-10-29

🚀 Features

  • (all) Error on unsupported RegexOptions at compile time (#5180) (a8cbc5dc)
  • (js/ts/python/dart) Support Nullable conversions (#5183) (6efa86d3)
  • (js/ts/python/dart/beam) Support System.Array.BinarySearch and ResizeArray.BinarySearch (#5172) (d332e7d4)

🐞 Bug Fixes

  • (all) Warn on duplicate names in erased unions (#5169) (459166d2)
  • (all) Recompile inline users of a file with a signature (#5179) (b383673d)
  • (all) Accept RegexOptions.NonBacktracking (#5178) (a61ec8a1)
  • (beam) Raise ArgumentNullException from nullArg (0b8f77f9)
  • (beam) Keep parameter name in ArgumentException (9e5d34f7)
  • (js/ts) Format DateTimeOffset in its own offset (#5171) (04ddbd20)
  • (js/ts) Support %o in sprintf and interpolated strings (#5175) (e13e7b0f)
  • (js/ts) Zero-fill Array.zeroCreate for numeric types without a typed array (#5211) (d96b6ab8)
  • (js/ts) Throw on out-of-range string indexer (#5214) (d5f1f8fd)
  • (js/ts) Parse numbers like .NET and raise its exception types (#5200) (82e606e9)
  • (js/ts) Honor NumberStyles when parsing floats (#5217) (82b935f3)
  • (js/ts/dart) Float to small integer and char conversions (#5182) (bb0faa79)
  • (js/ts/python) Compare ReferenceEquality types by ref (#5174) (9c351626)
  • (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)
  • (python/beam/rust) Implicit DateTime to DateTimeOffset (#5173) (401c881f)
  • (ts) Annotate Fable.Core typed arrays with native TS types (e35d06c3)
  • (ts) Give Uint8ClampedArray its own Fable.Core type (f790bf53)

⚡ Performance Improvements

  • (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) Cast erased option unwraps in TypeScript output (#5181) (65cd419d)
  • (js/ts) List node as a class with a shared empty node (#5185) (187f8985)
  • (js/ts) Compile isNull to a plain null check (#5186) (71a0ad92)
  • (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) Throw invalidArg and invalidOp at the call site (#5194) (e6a742b1)
  • (js/ts) Hash unions without allocating (#5195) (2b66a5d2)
  • (js/ts) Probe dictionary buckets without allocating (#5196) (9517eafd)
  • (js/ts) Pass array literals to typed array constructors as plain arrays (#5209) (cb7d6d6e)

View changes on Github

4.0.0-beta.3 - 2026-10-22

🚀 Features

  • (all) Support suppressing warnings via // fable-disable comments (#4808) (f4a1a8cd)
  • (all) Warn on duplicate CompiledName on union cases (2098f64a)
  • (js/ts) Map static Decimal conversion methods (#5129) (cd63e57e)
  • (js/ts) Support System.Diagnostics.Stopwatch (#5100) (eb68225f)
  • (js/ts) Add JSX.spread for JSX.create props (#5141) (28427d62)
  • (js/ts) Derive case tests for TypeScriptTaggedUnion cases sharing a tag (#5130) (3b8a9e21)
  • (js/ts) Support CaseTest on Erase union cases (#5131) (8cc21077)
  • (js/ts) Derive erased union tests from interfaces (#5133) (3a295308)

🐞 Bug Fixes

  • (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) Warn on type test against Pojo class (#5128) (798df101)
  • (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) Inline interface cases of TypeScriptTaggedUnion (#5146) (2be66611)

View changes on Github

4.0.0-beta.2 - 2026-10-21

🚀 Features

  • (js/ts) Add CaseTest attribute for TypeScriptTaggedUnion cases that share a tag (#5076) (5ee8bbb8)

🐞 Bug Fixes

  • (standalone) Warn and skip plugins instead of throwing (#5114) (021ab65c)

View changes on Github

4.0.0-beta.1 - 2026-10-16

🏗️ Breaking changes

  • (standalone) Return tagged tooltips instead of text (#5088) (6b995913)
  • (standalone) Keep file name in declaration locations (#5089) (b210461c)
  • (standalone) Return full completions with lazy docs (#5102) (53849cc5)
  • (standalone) Report error codes and severities (#5103) (4ec83ff4)
  • (standalone) Drop GetErrors, use Errors on results (#5111) (ec72286d)
  • (standalone) Take 0-based columns in positional APIs (#5112) (e33c5787)

🚀 Features

  • (js/ts/python/beam) Support Async.TryCancelled (#5083) (1643297d)
  • (standalone) Expose symbol lookup and uses in file (#5101) (9eff071c)
  • (standalone) Expose lexer tokens and classification (#5110) (e65d42c0)

🐞 Bug Fixes

  • (all) Recompile dependents on signature change in watch (#5084) (87fc89f7)
  • (beam) Make lazy sequence wrappers process-portable (#5063) (9e78a3b3)
  • (js/ts) Avoid full array copy in Encoding.GetString (#5069) (e6b72ec7)
  • (js/ts/python) Preserve cancelled cleanup and generic unit callbacks (#5062) (5dd6b497)
  • (python) Settle cancelled tasks awaited by async workflows (#5064) (52186937)
  • (python) Preserve reusable replies and unit continuations (#5082) (f19e2c56)
  • (python) Emit widening integer casts (#5087) (07989b16)
  • (rust) Support inref struct unions (#5060) (a3f27e0e)

⚡ Performance Improvements

  • Update inline expressions incrementally in watch mode (#5080) (594d17b4)

View changes on Github

3.7.2 - 2026-10-12

🐞 Bug Fixes

  • (all) Support implicit conversion to erased unions (#5058) (5d15141e)
  • (beam) Preserve async cancellation and finalize resources once (#5057) (617f7111)

View changes on Github

3.7.1 - 2026-10-12

🐞 Bug Fixes

  • (beam) Disambiguate property accessors from ordinary methods (#5049) (b30dc89d)
  • (beam) Normalize exception messages and string split separators (#5053) (f13a9e14)
  • (js/ts/python) Synchronize cancellation registrations (#5036) (07db576c)
  • (js/ts/python) Preserve JS/TS generic unit arguments and Python unit continuations (#5037) (e05bc752)
  • (js/ts/python) Settle cancelled delays and finalizers once (#5038) (a9802484)
  • (rust) Fix tailcall elimination for members (#5051) (4eb21772)
  • (rust) Fix temporary struct locals type (#5052) (17b36588)
  • (rust) Add main function for no_std (#5054) (10fdccc0)

View changes on Github

3.7.0 - 2026-10-07

🚀 Features

  • (python) Give System exceptions native Python bases (#5040) (4ee31586)

🐞 Bug Fixes

  • (beam) Recognize boxed discriminated unions in type tests (#5033) (dcfaa3d6)
  • (beam) Prevent identifier collisions and atom overflow (#5017) (b9ce2fdb)

View changes on Github

3.6.0 - 2026-10-03

🚀 Features

  • (dart) Add support for System.Text.Rune (#3860) (#4969) (389edefb)

🐞 Bug Fixes

  • (all) Minor type const strings cleanup (#5029) (9b69e5be)
  • (beam) Honor custom ToString in %O (#4994) (58b79e0a)
  • (beam) Support AggregateException (#4999) (e2120e10)
  • (beam) Preserve unmatched filtered exceptions (#5001) (682b235b)
  • (beam) Support integer Log2 (#5002) (dc964762)
  • (beam) Support DivRem ref arguments (#5003) (902870b1)
  • (beam) Range-check integer parsing (#5005) (d5696304)
  • (beam) Check System.Convert integer conversions (#5006) (3ebe4802)
  • (beam) Support Decimal bit constructors (#5007) (dfecebc5)
  • (beam) Share cancellation state across processes (#5010) (01eeded2)
  • (beam) Close BigInteger API gaps (#5011) (358548d8)
  • (beam) Preserve array identity hashing (#5014) (63a6f12a)
  • (beam) Eliminate unsupported expression placeholders (#5013) (7b3d762d)
  • (beam) Preserve union collection ordering (#5016) (67b63244)
  • (js/python/dart) Handle Rune in non-Rust builtin matches (#5024) (79bed98d)
  • (python) Import union cases for reflection (#5028) (96325894)
  • (python) Avoid name collisions in nested tuple matches (#5027) (ff71a8c7)
  • (rust) Add support for System.Text.Rune (#4997) (bc367c0b)
  • (rust) Add missing Decimal members Abs, Sign, CopySign, GetTypeCode, FromOACurrency, ToOACurrency and tests (#4998) (ec8d4c27)
  • (rust) Add proper UnicodeCategory support (#5009) (426892ec)
  • (rust) Remove trailing comma from macro args (#5031) (e6e9f54c)

View changes on Github

3.5.0 - 2026-09-25

🚀 Features

  • (dart) Add Async runtime and Future interop for dart (#4978) (b5a337d0)

🐞 Bug Fixes

  • (beam) Preserve local spawn calls (#4992) (70278ec6)
  • (dart) Prefix file scope names shadowed by class members (#4982) (ece7b071)
  • (js/ts) Fix Dictionary.Remove and HashSet.Remove to remove empty buckets (#4985) (aea61b56)
  • (js/ts) Clear custom System.Collections.IList implementations (2369fbd2)
  • (python) Keep the payload type when reading an erased union field (#4981) (e0536ecd)
  • (rust) Less allocations when enumerating strings (#4970) (5d62380c)
  • (rust) Remove reflection registration on boxing (#4983) (50a37f78)

⚡ Performance Improvements

  • (js/ts) Faster resizeArray.Clear() in JS/TS (32d85add)

View changes on Github

3.4.0 - 2026-09-11

🐞 Bug Fixes

  • (python) Preserve record field names in structured formatting (#4952) (fbc162d6)
  • (python) Reflect an erased union as the type it erases to (0f564c74)
  • (ts) Declare the type parameter of a flexible-type overload (6f1f1b8a)

⚡ Performance Improvements

  • (standalone) Accumulate compile errors in a ResizeArray (f282ab48)

View changes on Github

3.3.0 - 2026-09-08

🚀 Features

  • Add Temporal dates and times (opt-in) (#4759) (3e8f56f7)

🐞 Bug Fixes

  • (js/ts) Allow the E format specifier on Int64 and UInt64 (c49d1ec5)
  • (python) Build typed arrays from lists and sequences (#4944) (5af37779)
  • (rust) Fix IEnumerable casting, interop and type testing (#4946) (93c2df5b)
  • (rust) Restore missing bindings (#4947) (2fb46a26)
  • (ts) Declare local function type params only reachable via constraints (#4943) (8aa6d3b9)
  • (ts/python) Erase byref from struct copy-and-update locals (#4945) (19a6522e)

View changes on Github

3.2.0 - 2026-09-03

🚀 Features

  • (all) Quotations: DerivedPatterns, and captured locals as Value nodes (#4919) (fae5093f)
  • (rust) Observables, Events and IEnumerable (PR 6 of 7 Rust improvements) (#4789) (20175eea)
  • (rust) System.Uri (PR 7 of 7 Rust improvements) (#4790) (8a551bc9)

🐞 Bug Fixes

  • (all) Emit instance calls for virtual methods inherited from Object (#4926) (2fb535a7)
  • (all) Allow private inline functions to use private values (#4915) (b0740ba9)
  • (python) Emit Python names for float32 specials (#4938) (b4c45a93)
  • (rust) Observables and Events cleanup (#4908) (ca165045)
  • (rust) Support string on a tuple (#4916) (510c8a43)
  • (rust) Decimal culture overloads, and mutables assigned in try/finally (#4918) (58402471)
  • (rust) Let a string be enumerated (#4921) (395c152b)
  • (rust) F# exceptions, non-exhaustive matches and obj type tests (#4917) (28da1d76)
  • (rust) Cleanup AsyncBuilder and TaskBuilder (#4936) (3e6bc9bd)
  • (rust) Fix interface casting, move reflection into declarations (#4939) (04299157)

View changes on Github

3.1.0 - 2026-08-25

🚀 Features

  • (standalone) Publish the Fable version the bundle was built from (#4905) (b517d52d)

🐞 Bug Fixes

  • (all) Find a core entity recorded under a facade assembly (#4903) (60210b86)

View changes on Github

3.0.0 - 2026-08-25

🏗️ Breaking changes

  • (standalone) Separate a project's files from the files to emit (#4897) (1207cadd)
  • (standalone) Reference a precompiled library (#4899) (faec805f)
  • (standalone) Reference a precompiled library (#4900) (90359c31)

🚀 Features

  • (python) Represent Int32 and Float64 as plain Python int and float (#4856) (ca361ea3)

🐞 Bug Fixes

  • (all) Error on member reference from a source-less dll (#4894) (065a88d8)
  • (all) Match entity refs across the precompiled boundary (#4895) (96783631)
  • (all) Say why an inline member's body could not be found (#4901) (e5b0488e)
  • (beam) Escape quotes and backslashes in quoted atoms (#4866) (5d5231b3)
  • (beam) Compile [] cases to atoms instead of binaries (#4867) (366919a7)
  • (beam) Parse ISO-8601 numeric zone offsets and compare dates by instant (#4868) (bb3c86d7)
  • (python) Keep original F# field names in record reflection (#4852) (90c1798b)
  • (standalone) Compile each file on a fresh stack (#4896) (2f282ccb)
  • (standalone) Match fcs-fable's assembly identity to what callers look up (#4898) (95e3aecf)

⚡ Performance Improvements

  • (python) Back int64 arrays with typed storage (#4864) (78a5d479)
  • (python) Hash numbers without the safeHash detour (#4865) (32b42b2a)
  • (python) Elide int32 normalizations that cannot change their argument (#4859) (7e9cd96a)

View changes on Github

2.11.0 - 2026-07-24

🐞 Bug Fixes

  • (all) Eliminate dead bindings left by CE/inline lowering (#4837) (9f694e97)
  • (beam) Make reflection metadata agree with record/union codegen (#4849) (ec6a3df0)
  • (js/ts) Resolve generic params when reflecting erased union fields (#4851) (619d7afd)
  • (js/ts,python) Inline Option/ValueOption combinators to avoid closures and allocations (#4836) (61cac646)

⚡ Performance Improvements

  • (all) Lower constant ±1 step ranges to counted for-loops (#4838) (ab28daec)

View changes on Github

2.10.0 - 2026-07-22

🚀 Features

  • (beam) Render %A in F# syntax instead of dumping Erlang terms (#4814) (218e0c40)

🐞 Bug Fixes

  • (beam) Correct char-to-string conversion and console Unicode encoding (#4812) (df8e01d6)
  • (beam) Isolate each top-level effect's variables in main/0 (#4815) (8d708633)
  • (beam) Decode UTF-8 codepoints in ToCharArray and related String functions (b2ce3067)

View changes on Github

2.9.0 - 2026-07-17

🚀 Features

🐞 Bug Fixes

  • (python) Make class declarations and references agree on type names (#4807) (ae4b910b)

View changes on Github

2.8.0 - 2026-07-16

🚀 Features

  • (beam) Support Environment.CurrentDirectory and GetEnvironmentVariable (#4801) (55b9d560)

  • (beam) Support setting Environment.CurrentDirectory (#4783) (7b2a262f)

  • (rust) Various codegen and runtime improvements (#4781) (ae10cd2c)

    • Cast bool to integer types; support ** via .powf
    • Add Decimal.IsInteger/IsEvenInteger/IsOddInteger/IsCanonical
    • Fix two-switch decision trees dispatching to the wrong target
    • Fix reference-typed match bindings panicking via mem::zeroed
    • Fix string and non-ident option pattern matches emitting invalid Rust match arms
    • Fix Convert.ToXxx(bool)
    • Fix Char.ToUpper/ToLower truncating multi-char case mappings
    • Fix Random.nextDouble panic message
    • Fix Map.find/tryFind panicking on reference-typed values

🐞 Bug Fixes

  • (all) Skip translating unreachable branch of constant-condition if/then/else (#4799) (53c06de1)

View changes on Github

2.7.0 - 2026-07-15

🚀 Features

  • (js/ts) Add System.IO.Directory support (Exists, CreateDirectory) (#4798) (6568f35e)
  • (js/ts/python/beam) Preserve member calls and pattern matches in quotations (#4780) (55482e6b)

🐞 Bug Fixes

  • (beam) Make Assert.AreEqual/NotEqual raise, and stop emitting reflection calls for erased types (#4775) (d9711d4c)

View changes on Github

2.6.2 - 2026-07-13

🐞 Bug Fixes

  • (beam) Make F# reflection work on the Beam target (#4766) (b15b280d)
  • (beam) Give sized integers .NET fixed-width semantics (#4769) (2ed39630)
  • (beam) Qualify Erlang module names by their OTP app (#4770) (5516c8d8)
  • (beam) Entry point argv and exit code, bigint from float, option reflection (#4772) (ea915541)

View changes on Github

2.6.1 - 2026-07-11

🐞 Bug Fixes

  • (beam) Order discriminated union comparison by declaration order (#4761) (3597a582)
  • (beam) Preserve function-value identity for PhysicalEquality (#4762) (727673f3)
  • (js/ts) Don't drop unsupported jsOptions statements when inlining as POJO (#4754) (4cbc44fc)
  • (python) Propagate [] return value as process exit code (#4763) (a8d9bf5f)

View changes on Github

2.6.0 - 2026-07-09

🐞 Bug Fixes

  • (all) Include original exception message when loading a Fable plugin fails (#4739) (659e73a4)
  • (all) Add Seq.enumerateTryWith for try/with in seq, list, array comprehensions (#4750) (448c90d7)
  • (js/ts) Represent union cases with no fields as singletons (3f6e618e)
  • (python) Represent union cases with no fields as singletons (0211b4cc)
  • (python) Emit forward reference for self-referencing static union members (#4752) (452b85f2)
  • (python) Match .NET NaN and signed-zero semantics in comparison, min and max (383bb93c)
  • (python) LastIndexOf(value, startIndex) off-by-one on inclusive boundary (bad6bcac)

⚡ Performance Improvements

  • (python) Use native operators for int64/uint64 arithmetic (#4727) (f062d668)
  • (python) Rewrite hot Seq combinators as native Python generators (#4728) (73e0eab9)
  • (python) Read union case fields directly instead of rebuilding Array (#4725) (e4eaa80b)

View changes on Github

2.5.0 - 2026-07-05

🚀 Features

  • (all) Allow [<Emit>] on StringEnum cases (#4711) (0b1f61ee)
  • (js/ts) Optimize printfn with constant string to console.log (#4718) (2d6d083a)
  • (js/ts) Add Path.Combine support (b1b1e273)
  • (js/ts) Add System.IO.Path and System.IO.File API support (ec99fac5)
  • (js/ts/python) Warn on duplicate attached member names (#4715) (fd06aa64)
  • (js/ts/python) Add Environment and Console.Error support (6e082f95)
  • (py) Add Path.Combine support (4c901c65)
  • (python) Add Directory.Exists, Directory.CreateDirectory (f4b4eabc)
  • (ts) [] interfaces extend parent [] type (#4717) (4f4243cd)

🐞 Bug Fixes

  • Generate an error on erased union case typed as obj (#4710) (bf2134d5)
  • (all) Include return type in overload suffix for op_Implicit/op_Explicit (#4712) (a6846010)
  • (js/ts) DateTime.ToString() and %A are now consistent across all DateTimeKind values (#4714) (de98b0e4)
  • (python) Accept allowAccessToPrivateRepresentation in FSharpType.IsUnion/IsRecord/GetUnionCases (#4722) (7f915f1d)
  • (ts) Strip byref annotation from compiler-generated copy-update locals (#4716) (1e072ed2)

⚡ Performance Improvements

  • Split Fable.Transforms into per-target projects for faster incremental builds (#4720) (260c962f)

View changes on Github

2.4.0 - 2026-06-30

🚀 Features

  • (all) Add Compiler.is* target detection flags for conditional branching (#4692) (621dea31)
  • (js/ts) Map task { } to Promise (97f54d36)

🐞 Bug Fixes

  • (all) Pass raw value for optional arguments of native bindings (#4688) (a4c75483)
  • (all) Support .NET format specifiers and alignment in interpolated strings (#4695) (7c50a3af)
  • (all) Error on inline function referencing private value (#4701) (cea6806e)
  • (beam) Support module-level mutable variables via process dictionary (#4676) (535b9af0)
  • (beam) Namespace module-level mutable state keys by module (#4683) (1ec28ab1)
  • (js) Respect StringComparison in String.IndexOf/LastIndexOf (#4681) (7cb92d52)
  • (js/ts) Decompress F#-compressed signature data in fcs-fable (#4684) (62bfc612)
  • (js/ts) Implicit DateTime to DateTimeOffset conversion (#4697) (fcbd9b91)
  • (js/ts) Hoist emitJsStatement imports with trailing comments (#4702) (e820eb72)
  • (js/ts) Uncurry mutable module value alias calls (#4703) (0de0d218)
  • (js/ts) Pass TypeInfo to getRecordFields to handle None fields in anonymous records (#4704) (c977d78b)
  • (js/ts/python) Drop allowAccessToPrivateRepresentation arg from reflection calls (#4689) (ec3cded7)
  • (ts) Use declared type-param names in object expression generic methods (#4685) (1c3e7d99)
  • (ts) Use signature type-param names when implementing generic interface methods (#4686) (03e5deee)
  • (ts) Bound enum-constrained type parameters with extends number (#4687) (15daf624)
  • (ts) Keep enclosing type parameters in scope for nested members (#4691) (f5723a2d)
  • (ts) Re-declare class type params on generic static attached members (#4696) (2da50780)
  • (ts) Filter class type params from attached let-binding methods (#4700) (d3a6a1dd)

View changes on Github

2.3.0 - 2026-06-24

🚀 Features

  • (all) Support Exception.InnerException across all targets (#4677) (c9b3ee24)

🐞 Bug Fixes

  • (beam) Make immutable class instances process-portable (#4670) (182eebef)

View changes on Github

2.2.0 - 2026-06-16

🚀 Features

  • (beam) Add !^ erased-cast operator to BeamInterop (#4659) (206776b)

🐞 Bug Fixes

  • Add type specifiers to interpolated strings (#4646) (512ae4d)
  • (all) Align invalidArg error message with .NET format (#4662) (e672eb7)
  • (beam) Preserve element type through Option.Value for interface dispatch (#4661) (e5521b6)
  • (python) Emit wildcard default for union or-patterns (#4649) (#4653) (c96f0ec)

View changes on Github

2.1.0 - 2026-06-10

🚀 Features

  • (beam) Support Erlang/BEAM target in standalone compiler (#4644) (30310e4)

🐞 Bug Fixes

  • (beam) Collapse array-literal process-dict ref round-trips in FFI/Emit calls (#4626) (234ee08)
  • (beam) Make Emit $N substitution a single left-to-right pass (#4631) (48af8db)
  • (js/ts) Throw an error when trying to set non-property memeber inside of jsOptions (#4624) (2d9673f)
  • (python) Avoid union case field name collision with Union.name (#4647) (ff5df24)
  • (python) Make [] union static members work (#4634) (#4636) (15eb83e)

View changes on Github

2.0.1 - 2026-05-28

🐞 Bug Fixes

  • [JS/TS/Tests] Remove mocha to resolve package vulnerabilities (#4604) (092324b)
  • [Rust] Update hashing and datetime tests (#4613) (9d39037)
  • (all) Duplicate LetRec bindings during inline expansion (#4592) (62612a5)
  • (all) Fix super call in multi-level generic class hierarchy using wrong mangled name (#4414) (db1d4d2)
  • (js/ts) Fix JSX props with long string values causing compile error (fixes #3839) (#4545) (d828a46)
  • (js/ts) Add support for match clauses in JSX.create (#4620) (616edca)
  • (js/ts) Don't spread last arg in String.Concat call (#4621) (3de580e)
  • (js/ts) Inline AttachMembers members at call sites (#4622) (63bcd3d)
  • (python) Avoid duplicate captured argument in hoisted guards (#4610) (#4611) (90aec48)

View changes on Github

2.0.0 - 2026-04-21

  • Fable 5.0.0

2.0.0-rc.7 - 2026-04-07

  • Fable 5.0.0-rc.7

2.0.0-rc.6 - 2026-03-31

  • Fable 5.0.0-rc.6

2.0.0-rc.5 - 2026-03-20

  • Fable 5.0.0-rc.5

2.0.0-rc.4 - 2026-03-19

  • Fable 5.0.0-rc.4

2.0.0-rc.3 - 2026-03-10

  • Fable 5.0.0-rc.3

2.0.0-rc.2 - 2026-03-03

  • Fable 5.0.0-rc.2

2.0.0-rc.1 - 2026-02-26

  • Fable 5.0.0-rc.1

2.0.0-beta.15 - 2026-02-13

  • Fable 5.0.0-alpha.24

2.0.0-beta.14 - 2026-02-03

  • Fable 5.0.0-alpha.23

2.0.0-beta.13 - 2025-12-26

  • Fable 5.0.0-alpha.22

2.0.0-beta.12 - 2025-12-15

  • Fable 5.0.0-alpha.21

2.0.0-beta.11 - 2025-12-08

  • Fable 5.0.0-alpha.20

2.0.0-beta.10 - 2025-12-04

  • Fable 5.0.0-alpha.19

2.0.0-beta.9 - 2025-12-03

  • Fable 5.0.0-alpha.18

2.0.0-beta.8 - 2025-11-27

  • Fable 5.0.0-alpha.17

2.0.0-beta.7 - 2025-11-25

  • Fable 5.0.0-alpha.16

2.0.0-beta.6 - 2025-11-19

  • Fable 5.0.0-alpha.15

2.0.0-beta.5 - 2025-07-25

  • Fable 5.0.0-alpha.14

2.0.0-beta.4 - 2025-05-04

  • Fable 5.0.0-alpha.13 - 2025-05-04

2.0.0-beta.3 - 2025-03-14

  • Fable 5.0.0-alpha.12

2.0.0-beta.2 - 2025-03-03

  • Fable 5.0.0-alpha.11

2.0.0-beta.1 - 2025-02-16

  • Fable 5.0.0-alpha.10
  • Replace FABLE_COMPILER_4 with FABLE_COMPILER_5 as the compiler directive

1.12.0 - 2024-11-19

  • Fable 4.24.0

1.11.0 - 2024-10-28

  • Fable 4.23.0

1.10.0 - 2024-10-02

  • Fable 4.22.0

1.9.0 - 2024-09-19

  • Fable 4.21.0

1.9.0 - 2024-09-04

  • Fable 4.20.0

1.8.1 - 2024-06-17

  • Fable 4.19.3

1.8.0 - 2024-06-13

Changed

  • Fable 4.19.1

1.7.0 - 2024-06-10

Changed

  • Fable 4.19.0

1.6.0 - 2024-05-23

Fixed

  • Make dirname-filename-esm a dependency instead of a devDependency

Changed

  • Fable 4.18.0

1.5.0 - 2024-03-20

Changed

  • Fable 4.17.0

1.4.0 - 2024-03-20

Changed

  • Fable 4.16.0

1.3.0 - 2024-03-18

Changed

  • Fable 4.15.0

1.2.0 - 2024-03-01

Changed

  • Fable 4.14.0

1.1.0 - 2024-02-20

Changed

  • Fable 4.13.0

1.0.0 - 2024-02-12

  • Release stable version

1.0.0-beta-001 - 2024-02-12

Changed

  • First release as part of @fable-org scope
  • Released as part of Fable 4.12.0