Changelog
Last updated
Was this helpful?
Last updated
Was this helpful?
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
Fix copy-avm-public script: include marine-js.wasm to the copy process ()
Add missing builtins, Implement timestamps_ms and timestamps_sec ()
Switch to marine-web based AquaVM runner ()
Using polyfill for Buffer in browsers ()
Implement additional builtins: array_length, sha256_string, concat_strings ()
FluencePeer:
FluencePeer:
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
FluencePeer:
FluencePeer:
Compiler support:
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
import { Fluence } from "@fluencelabs/fluence"
; instead of FluencePeer
replace Fluence.default
with just Fluence
replace init
with start
and uninit
with stop
replace connectionInfo()
with getStatus()
Implement debug.stringify service ()
Update avm version to 0.20.5 ()
Sig service redesign. ()
Update libp2p-related packages versions. Fix 'stream reset' error. ()
FluencePeer: Update AVM version to 0.20.0 ()
FluencePeer: Update AvmRunner to 0.1.2 (fix issue with incorrect baseUrl) ()
JS Peer does not embed AVM interpreter any more. Instead 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 for more info.
()
FluencePeer: Update AVM version to 0.19.3 ()
FluencePeer: Update AVM version to 0.17.7 ()
Add built-in service to sign data and verify signatures ()
Update AVM version to 0.17.6 ()
Add particleId to error message when an aqua function times out ()
Fix timeout builtin error message ()
()
Implement peer.timeout built-in function ()
Update AVM: add support for the restriction operator ()
Extend error handling. Now aqua function calls fail early with the user-friendly error message ()
Define and export FnConfig interface ()
Fix issue with incorrect TTL value in function calls config ()
FluencePeer: add option to specify default TTL for all new particles ()
Compiler support: fix issue with incorrect check for missing fields in service registration ()
Compiler support: added support for asynchronous code in service definitions and callback parameters of functions. ()
KeyPair
: add fromBytes, toEd25519PrivateKey ()
()
Update JS SDK api to the new version ()