gitbook-docs/fluence-js/changelog.md

6.9 KiB
Raw Permalink Blame History

Changelog

Fluence JS versioning scheme is the following: 0.BREAKING.ENHANCING

  • 0 shows that Fluence JS does not meet its vision yet, so API can change quickly
  • BREAKING part is incremented for each breaking API change
  • ENHANCING part is incremented for every fix and update which is compatible on API level

0.20.2 February 23, 2022

Fix copy-avm-public script: include marine-js.wasm to the copy process (#134)

0.20.1 February 21, 2022

Add missing builtins, Implement timestamps_ms and timestamps_sec (#133)

0.20.0 February 18, 2022

Switch to marine-web based AquaVM runner (#132)

0.19.2 February 17, 2022

Using polyfill for Buffer in browsers (#129)

Implement additional builtins: array_length, sha256_string, concat_strings (#130)

Implement debug.stringify service (#125)

Update avm version to 0.20.5 (#131)

0.19.1 February 4, 2022

Sig service redesign. (#126)

0.19.0 January 27, 2022

Update libp2p-related packages versions. Fix 'stream reset' error. (#123)

0.18.0 December 29, 2021

FluencePeer: Update AVM version to 0.20.0 (#120)

0.17.1 December 29, 2021

FluencePeer: Update AvmRunner to 0.1.2 (fix issue with incorrect baseUrl) (#119)

0.17.0 December 28, 2021

JS Peer does not embed AVM interpreter any more. Instead AVM Runner is used to run AVM in background giving huge performance boost. This is a breaking change: all browser applications now not need to bundle avm.wasm file and the runner script. See documentation for more info.

(#111)

0.16.0 December 22, 2021

FluencePeer: Update AVM version to 0.19.3 (#115)

0.15.4 December 13, 2021

FluencePeer: Update AVM version to 0.17.7 (#113)

0.15.3 December 10, 2021

FluencePeer:

  • Add built-in service to sign data and verify signatures (#110)
  • Update AVM version to 0.17.6 (#112)

0.15.2 November 30, 2021

Add particleId to error message when an aqua function times out (#106)

0.15.1 November 28, 2021

FluencePeer:

  • Fix timeout builtin error message (#103)

Compiler support:

Issue fixes for registerService function

  • Throwing error if registerService was called on a non-initialized peer.
  • Fix issue with incorrect context being passed to class-based implementations of user services
  • Fix typo in JSDoc

(#104)

0.15.0 November 17, 2021

FluencePeer:

  • Implement peer.timeout built-in function (#101)
  • Update AVM: add support for the restriction operator (#102)

0.14.3 November 10, 2021

FluencePeer:

  • Extend error handling. Now aqua function calls fail early with the user-friendly error message (#91)

Compiler support:

  • Define and export FnConfig interface (#97)
  • Fix issue with incorrect TTL value in function calls config (#100)

0.14.2 October 21, 2021

FluencePeer: add option to specify default TTL for all new particles (#91)

0.14.1 October 20, 2021

Compiler support: fix issue with incorrect check for missing fields in service registration (#90)

0.14.0 October 20, 2021

Compiler support: added support for asynchronous code in service definitions and callback parameters of functions. (#83)

0.12.1 September 14, 2021

  • KeyPair: add fromBytes, toEd25519PrivateKey (#78)

0.12.0 September 10, 2021

  • The API to work with the default Fluence Peer has been put under the facade Fluence. Method init was renamed to start and uninit renamed to stop. connectionStatus migrated to getStatus.

To migrate from 0.11.0 to 0.12.0

  1. import { Fluence } from "@fluencelabs/fluence"; instead of FluencePeer
  2. replace Fluence.default with just Fluence
  3. replace init with start and uninit with stop
  4. replace connectionInfo() with getStatus()

(#72)

0.11.0 September 08, 2021

  • Update JS SDK api to the new version (#61)