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 (#134arrow-up-right )
Add missing builtins, Implement timestamps_ms and timestamps_sec (#133arrow-up-right )
Switch to marine-web based AquaVM runner (#132arrow-up-right )
Using polyfill for Buffer in browsers (#129arrow-up-right )
Implement additional builtins: array_length, sha256_string, concat_strings (#130arrow-up-right )
Implement debug.stringify service (#125arrow-up-right )
Update avm version to 0.20.5 (#131arrow-up-right )
Sig service redesign. (#126arrow-up-right )
Update libp2p-related packages versions. Fix 'stream reset' error. (#123arrow-up-right )
FluencePeer: Update AVM version to 0.20.0 (#120arrow-up-right )
FluencePeer: Update AvmRunner to 0.1.2 (fix issue with incorrect baseUrl) (#119arrow-up-right )
JS Peer does not embed AVM interpreter any more. Instead AVM Runnerarrow-up-right 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.
(#111arrow-up-right )
FluencePeer: Update AVM version to 0.19.3 (#115arrow-up-right )
FluencePeer: Update AVM version to 0.17.7 (#113arrow-up-right )
FluencePeer:
Add particleId to error message when an aqua function times out (#106arrow-up-right )
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
(#104arrow-up-right )
FluencePeer:
FluencePeer:
Extend error handling. Now aqua function calls fail early with the user-friendly error message (#91arrow-up-right )
Compiler support:
FluencePeer: add option to specify default TTL for all new particles (#91arrow-up-right )
Compiler support: fix issue with incorrect check for missing fields in service registration (#90arrow-up-right )
Compiler support: added support for asynchronous code in service definitions and callback parameters of functions. (#83arrow-up-right )
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()
(#72arrow-up-right )