Commit Graph

529 Commits

Author SHA1 Message Date
Mike Voronov
221e5e94b4
Use impl AsRef instead generics params in Marine interface (#166) 2022-05-26 23:05:58 +03:00
Mike Voronov
07167b2b7f
Fix marine build output (#164) 2022-05-21 00:22:36 +03:00
Mike Voronov
6da8509fe0
Add generate subcommand to mrepl (#163) 2022-05-21 00:03:03 +03:00
Mike Voronov
e4ebf1d0fb
Update readme (#160)
Co-authored-by: boneyard93501 <4523011+boneyard93501@users.noreply.github.com>
2022-05-15 12:09:11 +03:00
Mike Voronov
7c793917cf
Add developer notes about PR reviewing (#157) 2022-04-26 16:20:02 +03:00
Mike Voronov
ac26937778
Impl some traits for ModuleMemoryStat (#159) 2022-04-26 14:41:53 +03:00
Valery Antopol
515fa655ad
update interface-types; add tests for lilo at offsets > 2GB (#158) 2022-04-26 12:27:54 +03:00
Pavel
68438eadc0
Marine JS: add possibility to pass environment variables to WASM services (#153)
* Setting logging level

* Fix variable name

* try different logging levels

* Add tests for logging in wasm modules

* Finish unit tests for logging in wasm

* specifying marine service id in message format

* better message format

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-04-23 16:34:45 +03:00
Pavel
87542dde45
Add more tests for void function result for marine-js (#152) 2022-04-22 20:01:08 +03:00
Pavel
0476950681
Marine-js milestone 2: implementation of single-module wasm services (#148) 2022-04-20 20:33:55 +03:00
Valery Antopol
4e4f40cc8c
Update interface types (#149) 2022-04-06 22:55:33 +03:00
Mike Voronov
e7bdfe9947
add max_memory_size api function (#147) 2022-03-31 00:17:49 +03:00
Valery Antopol
5ab0f377c7
bump crate versions (#144)
* bump minor crate versions

* fix marine-web build

* sort deps
2022-03-25 20:45:19 +03:00
Valery Antopol
e37e475663
Fix panics when services have more than 2gb memory allocated (#143)
* add test for allocation at offset more than 2gb

* update wasmer-it version and use u32 instead of usize where needed

* remove cargo.toml patch
2022-03-25 18:40:50 +03:00
Valery Antopol
614a4cb078
add module and function names to errors about invalid arguments (#142) 2022-02-24 13:07:52 +03:00
Valery Antopol
bbd006ed3c
Add js version of runtime that supports interface types and runs in browser (#137) 2022-02-18 18:26:06 +03:00
Mike Voronov
6dfeecd572
Disable memory limits (#140) 2022-01-31 18:15:01 +03:00
Mike Voronov
dd0a667c38
fix api (#139) 2022-01-26 14:40:06 +03:00
Mike Voronov
45b9fc445a
Add API for Wasm modules heap footprint (#138) 2022-01-25 18:22:41 +03:00
Mike Voronov
7b0686ab2e
Introduce wasm_pages_to_bytes; rename max_heap_size to max_heap_pages_count (#136) 2021-12-15 11:12:08 +03:00
Mike Voronov
5e07fe0876
bump marine-utils crate (#135) 2021-12-14 12:52:35 +03:00
Mike Voronov
c7c8d611d9
Allow runtime to set maximum memory count (#127) 2021-12-03 20:33:46 +03:00
vms
e09a167bc7 update sdk version 2021-11-04 16:45:27 +03:00
Valery Antopol
d1ed552d80
Add marine test examples for build.rs and marine_test on mod (#130) 2021-10-18 20:15:51 +03:00
Mike Voronov
db84af1c1f
Bump crate versions (#129) 2021-10-05 18:20:41 +03:00
Valery Antopol
ccdbbd0044
Add multi-service marine_test example (#128) 2021-10-05 18:14:35 +03:00
Mike Voronov
0ccf5eda5b
Add call_with_ivalues method to FluenceAppService (#125) 2021-09-29 13:05:26 +03:00
Mike Voronov
4072de7b60
Fix clippy warnings (#126) 2021-09-29 12:58:10 +03:00
Mike Voronov
6fef752281
fix MError error messages (#123) 2021-09-28 16:30:40 +03:00
Valery Antopol
5747a6cc70
update update message in cli tools (#119) 2021-09-16 15:47:23 +03:00
folex
1f20f9ea49
Introduce tag-based draft releases (#117)
The release scheme is as follows.

## Tags
A release is created on a tag push. The tag must be prefixed with `v`, e.g., `v0.2.3`.

Tags can be pushed either manually or via `tag.yml` GitHub Action via a press of the button. 

Tags can be moved if needed, like this:
```
# Remove tag
git push -d origin v0.2.3 && git tag -d v0.2.3 
# Mark current commit with a tag and push
git tag v0.2.3 && git push origin v0.2.3
```
In such a case, the release action will be executed against the new commit and the existing `v0.2.3` release will be moved to Draft status. One would rarely need such a trick, but it's useful to know of it.

## Changelog
On each release, a changelog is generated. The changelog is calculated from Pull Requests merged between a previous semver-looking tag and a newly pushed one. So, given that there was a release `v0.2.2`, on a push of `v0.2.3` changelog will be generated from PRs that were merged since `v0.2.2` until the commit marked with `v0.2.3`.

Changelog format can be easily changed in the `changelog_config.json` file. It is also possible to set up PR grouping by labels or by regex.

## Release
GitHub release is created in status 'Draft' to avoid notifying repository watchers. Repository maintainers must review the release and make it public manually.

## Publishing
On each release, all publishable crates are published to crates.io. Their versions are published as is, i.e. exactly as specified in Cargo.toml's. Because of that, it is possible that the same versions of crates exist in different releases. It gives maintainers the finest control over publishing.
2021-09-15 18:52:31 +03:00
Valery Antopol
14d38e2c7b
Remove serde version lock on 1.0.118 (#118) 2021-09-15 16:27:48 +03:00
Mike Voronov
44a886d348
add badge (#116) 2021-09-09 16:43:14 +03:00
Mike Voronov
23b79abbcd
Add module header to generated aqua code (#113) 2021-09-08 14:11:43 +03:00
folex
02b8622db2
Make releases manual (#112) 2021-09-08 13:29:40 +03:00
boneyard93501
f97a4f7eba
update stack png (#109) 2021-09-04 13:39:39 +03:00
Mike Voronov
c54975bef0
move to wasmer-it 0.20.2 (#110) 2021-09-03 20:10:44 +03:00
Valery Antopol
8d2b37b1b5
update to marine-rs-sdk-test 0.2.0 (#108) 2021-09-02 19:53:30 +03:00
Valery Antopol
0d4888e2a8 update rust version to nightly-2021-05-21 2021-09-02 15:49:02 +03:00
folex
57782d2998
README: update documentation link (#106) 2021-08-13 10:57:43 +03:00
Valery Antopol
17826b2f2b
Support call parameters in repl (#105) 2021-08-10 17:06:40 +03:00
Mike Voronov
44898d929c
move to wasmer 0.17.1 (#104) 2021-08-05 21:17:26 +03:00
Aleksey Proshutisnkiy
bb48fe35c3
bump marine-module-info-parser to 0.2.0 (#99) 2021-07-14 15:20:59 +03:00
Aleksey Proshutisnkiy
9fc907c062
CI: enable publishing (#97) 2021-07-05 14:50:43 +03:00
Aleksey Proshutisnkiy
faf374cb9f
change to pascal case for service names (#96) 2021-07-05 13:36:41 +03:00
Mike Voronov
2f4cefc0d8
Bump minor versions (#95) 2021-06-17 14:36:58 +03:00
Mike Voronov
beaa118b1e
Lexicographical sort record types before topological sort (#94) 2021-06-17 14:06:01 +03:00
Mike Voronov
fb67fc0c91
Update sdk to marine-rs-sdk (#93) 2021-06-16 09:37:45 +03:00
folex
56a53d3b08
Aqua: remove -> () + CI: add automatic releases (#92) 2021-06-09 23:21:08 +03:00
Mike Voronov
17eedfd525
Sort funcs (#91) 2021-06-01 19:27:21 +03:00