Skip to content

Releases: fable-compiler/Fable

4.2.0

29 Sep 09:07
Compare
Choose a tag to compare
  • Fix #3480: Function decorated with [<NamedParams>] without arguments provided should take an empty object

  • Fix #3494: Calling an attached parametrized getter fails in transpiled javascript

  • Remove fable-py support

  • Fix #3461: Don't default to javascript if the language requested by the user is unknown (help detect typo)

  • Improve --help message for the --lang section

  • Fix #3464: Invalidate cache when the target language changes

  • Always delete the fable_modules folder when the cache is invalidated

  • Remove --typescript options support, use --lang <target> instead

  • Fix #3441: Don't ignore error when loading plugin

  • Fix #3482: Remove Py.python and Py.expr_python use emitPyStatement and emitPyExpr instead

  • Restrict replacements to accept only functions from their target language module

  • Fix #3528: Consider functions hidden by a signature file as private (@nojaf)

  • Improve error message when Fable doesn't find the fable-library folder.

    This is especially useful when working on Fable itself, and should save time to others.
    Each time I got this is error, I needed several minutes to remember the cause of it.

4.1.4

16 May 13:19
Compare
Choose a tag to compare
  • Fix #3438: Source maps
  • Fix #3440: Don't curry arity-1 functions
  • Fix #3452: DateTimeOffset conversion to DateTime
  • Fix regression: Don't type test interfaces declared in F# code
  • Rust: Added no_std test build
  • Rust: Added regex support
  • Rust: Fixed no_std support
  • Rust: Fixed uncurried options
  • Rust: Enabled some applicative tests
  • Rust: Enabled some tests
  • Rust: Updated switch transform (#3449)
  • Rust: Updated dependencies (#3447)
  • Rust: Fixed interface properties (#3445)
  • Rust: Updated object equality (#3444)
  • Rust: Enabled some Comparison tests (#3442)
  • Rust: Added DateOnly, TimeOnly tests
  • Rust: Added DateTimeOffset tests
  • Rust: Updated TimeSpan
  • Rust: Added DateTimeOffset

3.7.22

11 May 16:19
Compare
Choose a tag to compare
  • Fix typo in error message when using Fable 3 from .NET 7 @MangelMaxime

3.7.21

11 May 16:03
Compare
Choose a tag to compare

4.1.3

28 Apr 18:07
Compare
Choose a tag to compare
  • JS/TS/Rust: Added bigint log, log2, log10, minMag, maxMag
  • TS: Fix extension of files in fable_modules with out dir
  • TS: Support annotations of StringEnum and TypeScriptTaggedUnion types
  • JS/TS: Output JS docs
  • Fix range of inlined functions

4.1.2

22 Apr 08:59
Compare
Choose a tag to compare
  • Print minimum fable-library version from npm

4.1.1

22 Apr 01:22
Compare
Choose a tag to compare
  • Fix fable-library package.json

4.1.0

18 Apr 22:39
Compare
Choose a tag to compare
  • Set TypeScript compilation as stable
  • Added Map.minKeyValue and maxKeyValue

4.1.0-beta-001

16 Apr 00:21
Compare
Choose a tag to compare
  • Fix #3418: Single-Case Union Reflection
  • Include declaration .d.ts files in fable-library
  • Update FCS
  • Python: Implement missing bigint functions @johannesmols
  • TS: Fix #3415: ident type of uncurried lambdas
  • TS: Don't use const enums to represent union tags
  • TS: Fix function type annotation
  • TS: Get generic types of generated members
  • TS/JS: Sanitize class fields

4.0.6

10 Apr 15:20
Compare
Choose a tag to compare
  • JS Hotfix: Skip compiler generated decls
  • TS: Fixes for unions, pattern matching and interface function getters