36 Commits

Author SHA1 Message Date
Valery Antopol
4136ff8d37 Merge branch 'feat/marine-js-perf-update' into feat/marine-instrumenting
# Conflicts:
#	marine-js/npm-package/src/marine_js.js
2023-08-03 01:10:49 +03:00
Valery Antopol
3d774e5b22 refactor module passing soit does not take too much time 2023-08-02 23:01:19 +03:00
Valery Antopol
949c1071ee WIP 2023-08-02 21:54:13 +03:00
fluencebot
600bbc555d
chore: release master (#352)
* chore: release master

* chore: Bump marine-js version to 0.6.0
2023-08-02 14:30:53 +03:00
Akim
49a095a99b
feat(marine-js)!: Export wasm file from package.json (#353)
* Import wasm from the package

* Add newline to tsconfig.build.json

* update package-lock.json
2023-08-02 14:09:23 +03:00
Valery Antopol
456521bf8b
feat(marine-js)!: support call parameters (#351) 2023-07-27 18:39:31 +03:00
fluencebot
6000feca71
chore: release master (#337)
* chore: release master

* chore: Regenerate Cargo.lock

* chore: Bump marine-js version to 0.5.0
2023-07-25 21:57:16 +03:00
Valery Antopol
08508ac9a3
fix(build): add imports update into marine-js bindgen glue code patcher (#348)
* add imports update into marine-js bindgen glue code patcher

* return copyright
2023-07-25 21:06:36 +03:00
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
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
Anatolios Laskaris
4fddb9f55d
chore: Fix marine-js release (#297)
* Fix marine-js release

* Fix

* Do not bump
2023-03-15 14:28:12 +02: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
fluencebot
8fe67ead0a
chore: release master (#283)
* chore: release master

* chore: Bump marine-js version to 0.3.45
2023-02-15 15:11:59 +03:00
Valery Antopol
cc430a0735
fix(marine-js): add empty index.js as main entry point (#282)
* add empty index.js as main entry point for marine-ks

* update package-lock.json

* Revert "update package-lock.json"

This reverts commit 4296a8bacea13fb807913507dccaf82d289d927d.
2023-02-15 15:10:12 +03:00
fluencebot
1c150cd2d2
chore: release master (#273)
* chore: release master

* chore: Bump marine-js version to 0.3.44
2023-02-06 12:45:47 +02:00
Anatolios Laskaris
dce6333f43
fix(ci): Fix marine-js release build (#272)
* Fix marine-js release

* Trigger marine-js release
2023-02-06 11:52:12 +02:00
fluencebot
68b3eb6d26
chore: release master (#266)
* chore: release master

* chore: Bump marine-js version to 0.3.43
2023-02-06 11:40:55 +03:00
Pavel
9e2dd3912e
feat(marine-js): Switch MarineJS package From CJS to ESM format (#265) 2023-02-02 17:11:49 +03:00
Pavel
0b1fe64f67
Move non-relevant code from Marine repo into FluenceJS (#235) 2022-12-06 09:50:07 +03:00
Anatolios Laskaris
9f2e28a416
chore(marine-js): Pin browser-or-node to 2.0.0 (#240)
* Pin browser-or-node to 2.0.0

* Pin dependencies
2022-12-01 15:56:39 +02: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
492b4365b5
chore(CI): update AquaVM version for tests, enable nodejs and browser tests (#222) 2022-11-01 16:39:55 +04:00
Pavel
53c887a186
Marine-js: writing logs into stderr in nodejs env (#227) 2022-11-01 11:27:26 +03:00
renovate[bot]
809f5df12d
Update all non-major JS dependencies (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 20:15:57 +03:00
renovate[bot]
651c030382
Update dependency @types/node to v16 (#206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 20:03:09 +03:00
renovate[bot]
82177a0f0b
chore(build): pin JS dev dependencies (#188) 2022-09-19 19:27:42 +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]
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
d9c8de35aa
Support marine-rs-sdk 0.7.0 (#180) 2022-07-27 18:01:30 +03:00
Valery Antopol
b4e76cb0cd
fix marine js build and get rid of marine-web occurrences (#173) 2022-06-09 13:20:34 +03:00
Mike Voronov
82217b332e
Rename FaaS to Marine, Runtime to Core (#172) 2022-06-02 19:51:27 +03:00