Repository navigation
Fickl 0.9.0
Changes that can affect existing code
decimalis a native BigInt instead of big.js (#320). JavaScript that calls big.js methods on an F# decimal, such asd.toFixed(2), or reads itsc/e/sfields, no longer works. Decimal arithmetic now matches .NET where it did not, and is faster.- A single-parameter
[<JSX.Component>]passed as a render prop is passed as itself, not wrapped in a lambda (#310). - Option-typed interface properties are optional in TypeScript output (#105).
- The project's
LangVersionis enforced, including for package sources compiled with it (#255). - Same-file extensions of an
[<AttachMembers>]class are attached to it, not exported as module functions (#285).
Documentation is now at https://shayanhabibi.github.io/fickl/ (#430).
What's Changed
- chore: land #258, #256, #257 by @shayanhabibi in #325
- fix(js/ts): report Emit $N! with an argument that is not a string literal by @shayanhabibi in #256
- chore: merge upstream Fable main (17 commits) by @shayanhabibi in #258
- feat(js/ts): support and! in jsAsync and add a promise alias by @shayanhabibi in #257
- chore: land #330, #331, #332, #333 by @shayanhabibi in #335
- chore: merge upstream Fable main (f51333f) by @shayanhabibi in #330
- fix(js/ts): compute float range items from the start by @shayanhabibi in #331
- fix(js/ts): keep the offset when DateTimeOffset.Parse reads an ISO string by @shayanhabibi in #332
- fix(js/ts): do not skip a run that follows a failed compilation by @shayanhabibi in #333
- chore: land #338 by @shayanhabibi in #339
- feat(js/ts): add --checkedDivision to raise DivideByZeroException by @shayanhabibi in #338
- chore: land #340, #341, #342 by @shayanhabibi in #344
- fix(js/ts): reject out-of-range day, month and time in DateTime parsing by @shayanhabibi in #340
- fix(js/ts): make the members of a failed Regex match null-safe by @shayanhabibi in #341
- fix(js/ts): support NumberStyles in BigInteger.Parse and TryParse by @shayanhabibi in #342
- chore: land #345 by @shayanhabibi in #346
- fix(js/ts): treat a null
string | nulloperand as empty in concatenation by @shayanhabibi in #345 - chore: land #347, #348, #349, #350, #351, #352 by @shayanhabibi in #353
- fix(js/ts): report unsupported DateTime members at compile time by @shayanhabibi in #347
- fix(ts): annotate IDictionary<'K,'V> as IMap<K, V> instead of any by @shayanhabibi in #348
- fix(js/ts): implement Match.NextMatch() by @shayanhabibi in #349
- fix(js/ts): emit root-absolute import paths as written by @shayanhabibi in #350
- fix(cli): regenerate an output file that was deleted by @shayanhabibi in #351
- fix(js/ts): support tupled and curried functions in importValueDynamic by @shayanhabibi in #352
- chore: land #354, #355, #356, #357, #358 by @shayanhabibi in #359
- fix(js/ts): honour [] when printing by @shayanhabibi in #355
- fix(cli): explain an undefined name caused by an assembly-level AutoOpen by @shayanhabibi in #356
- fix(js/ts): use a custom operator of an erased union on constructed operands by @shayanhabibi in #357
- fix(js/ts): give function and delegate overloads different names by @shayanhabibi in #358
- fix(ts): type the static singletons of fieldless union cases by @shayanhabibi in #354
- chore: land #360, #361, #362, #363, #364, #365 by @shayanhabibi in #366
- fix(js/ts): keep union and record equality across hot reloads by @shayanhabibi in #360
- fix(cli): keep watching when a source file is briefly locked by @shayanhabibi in #361
- fix(js/ts): allow referencing a project that has an [] by @shayanhabibi in #362
- fix(js/ts): support functions with more than 20 curried arguments by @shayanhabibi in #363
- fix(js/ts): reject signs and prefixes .NET rejects when parsing integers by @shayanhabibi in #364
- fix(js/ts): uncurry a function that reaches
==>or?<-through a parameter by @shayanhabibi in #365 - chore: land #367, #368, #369, #370, #371, #372 by @shayanhabibi in #373
- fix(js/ts): report a constructor call on an [] class at compile time by @shayanhabibi in #367
- fix(ts): emit a cast for dynamic access, unbox and !! by @shayanhabibi in #368
- fix(js/ts): pass the member's own name to a ReflectedDecorator by @shayanhabibi in #369
- fix(js/ts): give anonymous record types a Name and FullName by @shayanhabibi in #370
- fix(js/ts): sort strings like String.CompareTo in the .NET comparer paths by @shayanhabibi in #371
- fix(js/ts): compile
for i in a .. step .. bwith a constant step to a loop by @shayanhabibi in #372 - chore: land #374, #375, #376, #377, #378 by @shayanhabibi in #379
- fix(js/ts): compile explicit constructors with a BCL base or [] correctly by @shayanhabibi in #375
- fix(js/ts): read fields of a mutable struct through its address correctly by @shayanhabibi in #377
- fix(cli): honour the project's LangVersion by @shayanhabibi in #378
- fix(ts): emit valid type arguments for an SRTP call to a generic static member by @shayanhabibi in #374
- fix(js/ts): keep sub-millisecond ticks and the Int64 limits in TimeSpan by @shayanhabibi in #376
- chore: land #380, #381, #382, #383, #384, #385 by @shayanhabibi in #386
- feat(js/ts): attach same-file extension members of [] classes by @shayanhabibi in #385
- fix(js/ts): resolve a recursive trait call that ends in an overload taking obj by @shayanhabibi in #380
- feat(js/ts): accept conditional props in JSX.create by @shayanhabibi in #381
- feat(js/ts): map InnerException to Error.cause and AggregateException to AggregateError by @shayanhabibi in #382
- feat(js/ts): support two-dimensional arrays by @shayanhabibi in #383
- feat(ts): declare option-typed interface properties as optional by @shayanhabibi in #384
- chore: land #387, #388, #389, #390 by @shayanhabibi in #391
- fix(js/ts): reject date and time members the runtime does not implement by @shayanhabibi in #387
- feat(js/ts): flatten
yield!of static lists in createObj into one object literal by @shayanhabibi in #388 - feat(ts): add erased intersection types I2, I3 and I4 to Fickl.Core by @shayanhabibi in #389
- feat(ts): add a typed constructor type, JsConstructor<'T>, to Fickl.Core by @shayanhabibi in #390
- chore: land #392, #393, #394, #395, #396 by @shayanhabibi in #397
- feat(js/ts): add jsSpread and jsMerge for structural copies of JS objects by @shayanhabibi in #392
- feat(js/ts): support System.Text.Rune by @shayanhabibi in #394
- docs(js/ts): explain the JSX props list rules and link the page from its errors by @shayanhabibi in #395
- feat(js): re-export an imported member directly by @shayanhabibi in #393
- feat(js/ts): support the System.Array.Sort overloads and System.Numerics.Complex by @shayanhabibi in #396
- chore: land #399, #400, #401, #402, #403, #404, #405 by @shayanhabibi in #406
- feat(js/ts): support UnionCaseInfo.GetCustomAttributes by @shayanhabibi in #399
- test(js): run the date and time tests under fixed non-UTC time zones by @shayanhabibi in #400
- feat(js/ts): emit
static letinitialisers as native static class fields by @shayanhabibi in #401 - feat(js/ts): pass a single-use list literal to a spread call as direct arguments by @shayanhabibi in #402
- feat(js/ts): pass a JSX.Component by reference in JSX positions by @shayanhabibi in #403
- feat(ts): emit F# type abbreviations as TypeScript type aliases by @shayanhabibi in #404
- feat(cli): allow a per-file output extension with --fileExtension by @shayanhabibi in #405
- chore: land #410, #411, #412, #413, #414 by @shayanhabibi in #415
- feat(js/ts): add JSX.el to render a plain function as a component tag by @shayanhabibi in #410
- fix(js/ts): do not move a binding with effects past or into a throw by @shayanhabibi in #411
- feat(js/ts): add JsInterop.keepBinding to stop a let binding being inlined by @shayanhabibi in #412
- feat(js/ts): add [] to give a non-inline function its type arguments by @shayanhabibi in #413
- feat(js/ts): resolve Type.GetMethod and MethodInfo.Invoke at compile time by @shayanhabibi in #414
- chore: land #418, #419, #420, #421 by @shayanhabibi in #422
- feat(js/ts): add --debugPipelines to compile pipelines as one statement per stage by @shayanhabibi in #418
- feat(cli): add --redirect to import a reference from an npm package by @shayanhabibi in #419
- feat(js/ts): represent decimal with native BigInt instead of big.js by @shayanhabibi in #420
- fix(ts): compile a JSX template with one interpolated value by @shayanhabibi in #421
- chore: land #423, #424 by @shayanhabibi in #425
- fix(cli): keep the target language per compilation, not per process by @shayanhabibi in #423
- fix(cli): crack a multi-targeting reference for the framework MSBuild picks by @shayanhabibi in #424
- chore: land #426 by @shayanhabibi in #427
- feat(js/ts): support reflection on class constructors by @shayanhabibi in #426
- chore: land #429, #432, #430, #428 by @shayanhabibi in #434
- chore(all): prepare Fickl 0.9.0 release by @shayanhabibi in #428
- fix(all): keep the plain overload name for members of a type known only as an assembly by @shayanhabibi in #429
- docs: add a documentation site built with Nacara by @shayanhabibi in #430
- test(js): track the fixes of 2026-11-11 against Fable 5.27.0 by @shayanhabibi in #432
Full Changelog: v0.8.0...v0.9.0