260 Commits

Author SHA1 Message Date
Valery Antopol
a61ddfc404
feat(marine-js)!: replace old marine-js with common marine-runtime + backend traits impl for JS (#332)
* add js wasm backend crate + blank trait impls

* make wasmtime a default feature for runtime and core

* WIP: mock WASI, greeting almost works

* WIP: added @wasmer/wasi, moved some stuff to JsStore, implementing Caller

* finalize Caller

* remove old code

* changing js API + fmt

* update wasm-bindgen generated and patched code

* update call_module to throw error, fix non-logging tests

* add multi-module test + update js api

* fix last element getting

* refactor interface + pass envs

* get rid of make_*_result

* small refactor

* support passing log function

* get rid of some todos

* use String instead of Vec<u8> for wasi envs

* use Strings for wasi envs in marine js

* little fix

* self-review fixes, import ordering

* self-review fixes, import ordering

* make clippy happy + fmt

* self-review fixes

* self-review fixes

* self-review fixes

* revert example artifact change

* pr fixes

* add __wbg_adapter_N updating code

* add all-types test

* fix build

* update marine_js.js

* Fix I64 handling

* pr fixes

* fix import order

* add copyrights

* Add comments, slightly beautify code

* fmt

* make clippy happy

* update js interface

* split function interface, improve naming

* update Cargo.lock

* update to new wasm-backend traits

* wip

* js glue code update

* improve comment

* use typed index collection

* Add more comments

* Add more comments

* Fix warnings

* pr fixes

* pr fixes
2023-07-25 19:49:55 +03:00
Valery Antopol
0f9979ae11
feat(wasm-backend)!: split Function trait, improve naming (#347)
split function interface, improve naming
2023-07-25 18:23:54 +03:00
renovate[bot]
d4ccc72748
chore(deps): update rust crate anyhow to 1.0.71 (#326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 20:42:35 +03:00
Valery Antopol
4a71b89263
chore(deps): update rust crate walrus to 0.20.1 (#336)
update walrus
2023-07-11 20:23:20 +03:00
renovate[bot]
4a0cddab1e
chore(deps): update rust crate uuid to 1.4.0 (#271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:29:24 +03:00
renovate[bot]
2b9c46f619
chore(deps): update rust crate chrono to 0.4.26 (#328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:27:42 +03:00
renovate[bot]
aa19d0e81c
chore(deps): update rust crate env_logger to 0.10.0 (#303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:26:46 +03:00
renovate[bot]
35b32dc4c4
chore(deps): update rust crate paste to 1.0.13 (#330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:25:52 +03:00
renovate[bot]
e2a350ddb2
chore(deps): update rust crate cargo_metadata to 0.15.4 (#327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:25:16 +03:00
renovate[bot]
6ef5032e2c
chore(deps): update rust crate log to 0.4.19 (#329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:22:48 +03:00
renovate[bot]
17fa81c920
chore(deps): update rust crate reqwest to 0.11.18 (#331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:20:52 +03:00
fluencebot
9b582ba2ed
chore: release master (#319)
* chore: release master

* chore: Bump marine-js version to 0.4.1
2023-04-04 17:18:19 +03:00
Anatolios Laskaris
f745a70214
chore(release-please): Fix marine-js version update [fixes FLU-302] (#320)
* Copy getImport function

* Fix manifest

* Exit with 1 on errors

* Regenerate Cargo.lock correctly
2023-04-04 17:14:45 +03:00
Anatolios Laskaris
27e8658e77
chore: Release fixes (#318)
* Revert "chore: release master (#317)"

This reverts commit 26ab445b5978e66e7a4ea26c3758bd531acff1cd.

* Update

* Fix
2023-04-04 14:08:25 +03:00
fluencebot
26ab445b59
chore: release master (#317)
* chore: release master

* chore: Bump marine-js version to 0.3.5
2023-04-04 13:34:35 +03:00
fluencebot
66e42ef4c4
chore: release master (#313)
* chore: release master

* update Cargo.lock

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-03-29 17:46:49 +03:00
fluencebot
29e73931f6
chore: release master (#309)
* chore: release master

* Fix lock

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-03-22 17:37:42 +02:00
Anatolios Laskaris
51e062cbd8
chore: Revert latest release (#308)
* Revert "chore: release master (#296)"

This reverts commit b23e1654f626ed856be2202867933db3acc0aef5.

* Fix binary build

* Fix
2023-03-22 17:25:37 +02:00
Valery Antopol
e36ffbd582
chore: update Cargo.lock (#307)
update lockfile
2023-03-22 17:30:48 +03:00
fluencebot
b23e1654f6
chore: release master (#296) 2023-03-22 16:58:53 +03:00
Valery Antopol
defd165b86
fix(cli): use proper wit syntax for set it command (#305)
update interface-types crates
2023-03-22 16:17:00 +03:00
Valery Antopol
b9dbf67376
fix(runtime): support new wasm opcodes by removing unused memory limit setting (#299)
remove unused max memory setting
2023-03-17 15:34:55 +03:00
fluencebot
f7ecddafd5
chore: release master (#292)
* chore: release master

* chore: Bump marine-js version to 0.3.4

* update marine-js and lockfile

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-03-15 01:30:12 +03:00
Valery Antopol
d3a773df4f
feat!: decouple wasmer from Marine, replace it with generic backend interface (#219) 2023-03-15 00:43:51 +03:00
fluencebot
299382fa72
chore: release master (#289) 2023-03-03 19:30:10 +03:00
Valery Antopol
fc384a477c
feat(cli)!: use sdk dependency version from Cargo.lock instead of Cargo.toml (#286) 2023-03-02 22:23:05 +03:00
fluencebot
5e91bfca90
chore: release master (#285) 2023-02-20 22:35:03 +03:00
fluencebot
c54fce7c7b
chore: release master (#280) 2023-02-10 19:26:17 +02:00
fluencebot
6260c4d42f
chore: release master (#275) 2023-02-08 17:13:40 +03:00
fluencebot
594ebf3876
chore: release master (#258) 2023-01-27 16:32:32 +02:00
Valery Antopol
6ee6697ed8
fix: support workspace dependencies by using cargo_toml 0.14.0 (#256) 2023-01-27 17:21:57 +03:00
Valery Antopol
a022a30442
chore(master): release (#245) 2022-12-06 16:52:49 +03:00
renovate[bot]
ee514fb8fc
chore(deps): update all non-major rust dependencies (#211)
* chore(deps): update all non-major rust dependencies

* fix build

* fmt

* update generated code in marine-js

* bump marine-runtime version

* update gitignore

* Revert "bump marine-runtime version"

This reverts commit 7cf9f0b6d489408d35b3f86807d9ad7684f0708a.

* bump versions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-11-28 18:37:07 +03:00
Valery Antopol
03393545cc
fix(runtime): detect mapped/preopened dirs conflicts before wasmer-wasi crashes (#223) 2022-10-18 16:56:42 +03:00
Valery Antopol
fd47800cca
chore(build): fix clippy warnings (#213) 2022-09-19 19:13:38 +03:00
renovate[bot]
684bf7cb38
Update Rust crate semver to v1 (#198)
* Update Rust crate semver to v1

* bump all the deps

* update wasmer-it and fix build

* bump more versions + fix marine-js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-13 16:25:11 +03:00
Valery Antopol
853bc595ec
fix!: bump minor versions where it was required in #189 (#212)
* fix!: bump minor versions where it was required in #189

* update marine-js build
2022-09-12 16:55:33 +03:00
Pavel
7aacb8eb9d
Update marine-js public interface. Replace any with generic JSON types. Doing se\desalinization work insine marine-js (#207) 2022-09-09 17:28:30 +03:00
renovate[bot]
c674c92104
Update Rust crate serde_with to v2 (#203)
* Update Rust crate serde_with to v2

* bump versions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-09 16:05:09 +03:00
renovate[bot]
1d8dd292c4
Update Rust crate cmd_lib to v1 (#194)
* Update Rust crate cmd_lib to v1

* remove cmd_lib dependency

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-08 22:56:27 +03:00
renovate[bot]
28e059c506
Update Rust crate uuid to v1 (#205)
* Update Rust crate uuid to v1

* bump repl version

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-08 21:50:04 +03:00
renovate[bot]
dc134a224a
Update Rust crate rustyline to v10 (#197)
* Update Rust crate rustyline to v10

* use new rustyline API

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-08 00:42:29 +03:00
renovate[bot]
a1bb6c4a95
Update Rust crate pretty_assertions to v1 (#196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-07 00:15:45 +03:00
renovate[bot]
b3a8898893
Update all non-major Rust dependencies (#189)
* Update all non-major Rust dependencies

* fix tokio features

* add rt tokio feature

* bump bytes crate version to keep up with reqwest

* update tokio to 1.21.0

* bump crate versions

* use latest rust toolchain always

* update wasm-bindgen generated and patched code

* revert toolchaijn version change

* revert toolchaijn version change

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-02 18:48:25 +03:00
Valery Antopol
71b5953c22
feat(fluence-app-service): make base path field optional in ConfigContext interface (#202) 2022-08-31 14:14:43 +03:00
Valery Antopol
f41b23dd5c
fix(repl): crash when given relative path to config in non-current directory (#201) 2022-08-30 16:59:40 +03:00
Valery Antopol
650aec50d5
feat(repl): allow partial call_parameters specification in call (#200)
* add partial call_parameters support, fix work with config not in the same dir

* move path fixes to another PR
2022-08-30 16:40:01 +03:00
Valery Antopol
3449a34e35
Use sdk version from cargo manifest, instead of hardcoded value (#186) 2022-08-03 18:26:45 +03:00
Valery Antopol
17e8bf041e
Rework module searching on filesystem (#184) 2022-07-29 17:09:54 +03:00
Valery Antopol
d4a4d53bd5
bump crate versions that used marine-rs-sdk-main 0.6.15 (#185) 2022-07-27 21:58:47 +03:00