Fluence Developer Updates
114 subscribers
2 photos
54 links
Updates, announcements, changes, fixes
Download Telegram
Channel photo updated
Channel name was changed to «Fluence Developer Updates»
Update from 3 Sept 21

Updated the marine-rs-sdk-test to the 0.2.0 version with the following changes:

- #[marine_test] defines marine_test_env namespace with module interfaces

- module interface type can be accessed by marine_test_env::<module_name>::ModuleInterface

- structs exported by a module can be accessed by marine_test_env::<module_name>::<StructName>

- functions under #[marine_test] must specify in the arguments modules they use

Chosen naming and passing modules interfaces in arguments should make tests more readable.
Here is an example of a test written in old and new ways:

old:
#[marine_test(config_path = "../Config.toml", modules_dir = "../artifacts")]
fn empty_string() {
let actual = greeting.greeting(String::new());
assert_eq!(actual, "Hi, ");
}

new:
#[marine_test(config_path = "../Config.toml", modules_dir = "../artifacts")]
fn empty_string(greeting: marine_test_env::greeting::ModuleInterface {
let actual = greeting.greeting(String::new());
assert_eq!(actual, "Hi, ");
}


Also the update the solves problem with the same structures from different modules: they are now linked and have the same type.

If you need more examples, please look at tests in call_parameters and greeting, they are already using new interface.
Update from 8 Sept 21

We have released the Aqua compiler 0.3.

Now Aqua compiler runs natively in the javascript environment and distributed as @fluencelabs/aqua NPM package.

The next milestone is to call Aqua funcs from the Aqua itself: we're building Aqua REPL.
See the changelog.
Release of a a new version of Fluence JS (v0.13.0) with the completely redesigned API.

Fluence JS now runs inside browser and nodejs environment. To learn more about updated Fluence JS visit https://doc.fluence.dev/docs/fluence-js

Added support for type-safe service registration. See here for additional info

See changelog
Added a new feature to the marine-rs-sdk-test: services integration testing.

The marine_test macro now allows creating several services and passing data from one to another. It means that testing multi-service applications is now easier and the development may become faster.
See the docs and the example for more information.
Released Aqua compiler 0.3.2

- Experimental feature: now can run Aqua from Aqua CLI

aqua run -i aqua/caller.aqua -f "callFunc(\"arg1\",\"arg2\")"

- Many performance-related updates, compiler now runs faster
- UX improvements for CLI and JS/TS backend

See the full update in changelog
🔔In 10 min: developer community call
Livestream & rec https://youtu.be/uFPHM3JVccs

- intro to AquaVM,
- Q&A,
- project presentations from the community members

📞Via Zoom: https://us06web.zoom.us/meeting/register/tZYtdeytqjwtHNPupTLlURpqIqpKzCeCImJM

🗓Add to your calendar: https://calendar.google.com/calendar/u/0/r?cid=3uo257pe19e8g2vg2910ljcqi0@group.calendar.google.com