Valery Antopol
be8293bc06
fix(versions)!: enforce minor version bumps ( #430 )
...
bump versions manually
2024-04-11 01:28:02 +04:00
Valery Antopol
13cf85ba36
feat!: move to async execution ( #396 )
...
* wip
* WIP
* WIP
* compiles, async mrepl works
* add Send
* Updating marine-js
* FuncGetter compiles
* wow it compiles
* marine-js compiles but does not work
* marine-js tests almost pass
* marine-runtime and marine-core tests pass
* fmt
* epoch interruption works in mrepl
* WIP: switching from async_trait to box_future
* move from async_trait to BoxFuture
* self-review fixes
* self-review fixes
* merge memory limits
* pr fixes
* pr fixes
* pr fixes
* pr fixes
* update cargo lock
* use published interface-types
* remove patch deps
* fix factory and make AppService generic
* fix marine-js
* try locking deps
* add debug prints to workflow
* fix workflow
* update workflow
* make marine-js bindings patcher update all __wbg_adapter_* functions
* remove debug prints from workflows
* self-review fixes
* self-review fixes
* self-review fixes
* final fixes
* fix mrepl
* fix pr comments, fmt and clippy
* fix Cargo.toml and Cargo.lock after merge
* test fixes after merge
* update rust toolchain to match one in no
* fixes for nox integration
* reexport MError
* update js bindings
* fix warning
* fmt
2024-04-11 00:34:34 +04:00
fluencebot
12733f298a
chore: release master ( #425 )
...
* chore: release master
* chore: Bump marine-js version to 0.13.2
2024-03-27 18:31:26 +04:00
Valery Antopol
ee39ce07bc
feat(deps): reexport types from toml crate, so users don't have to depend on it ( #427 )
...
reexport toml table type, so users don't have to directly depend on the same version of toml crate
2024-03-27 16:26:49 +04:00
fluencebot
e5c56190be
chore: release master ( #423 )
...
* chore: release master
* chore: Bump marine-js version to 0.13.1
* set correct versions
* update changelogs
* rollback wasms
---------
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-29 12:05:11 +04:00
fluencebot
9bfcb6a772
chore: release master ( #422 )
...
* chore: release master
* chore: Bump marine-js version to 0.13.0
* bump minor versions
---------
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-22 20:00:53 +04:00
Valery Antopol
f54ca715a3
feat!: rework wasi mapped dirs handing, relax restrictions ( #421 )
...
* add config field to allow absolute wasi paths
* remove config field
* use current dir as default workind_dir
* fix
* remove /tmp /local logic as well as preopened_files
* fix greeting example
* fix greeting example
* fix greeting example
* remove unused var
* return import
2024-02-22 19:33:28 +04:00
fluencebot
9ea687545e
chore: release master ( #420 )
...
* chore: release master
* chore: Bump marine-js version to 0.12.0
* bump minor app-service version
* bump manifest
---------
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-21 17:40:01 +04:00
Valery Antopol
b20a27f8b6
feat: support marine-rs-sdk 0.14 ( #419 )
...
* uodate sdk
* add cp v3 test
2024-02-21 16:59:49 +04:00
fluencebot
ead3c7dd31
chore: release master ( #418 )
...
* chore: release master
* chore: Bump marine-js version to 0.11.0
2024-02-20 16:51:05 +04:00
Valery Antopol
220c028045
feat!: support particle parameters in CallParameters (__marine_host_api_v2) ( #417 )
...
* support call_parameters v2
* fmt
* fix warnings; require exact version for sdk v0 and v1
* support json_path
* update lockfile
* bump sdk versions and fix mrepl
* fix call_parameters example
* fix marine-js
* fmt
2024-02-20 16:06:44 +04:00
fluencebot
07e5696050
chore: release master ( #413 )
...
* chore: release master
* chore: Bump marine-js version to 0.10.0
* update app-service version
---------
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-08 18:06:36 +04:00
Valery Antopol
c948b8b866
feat(ABI)!: support marine-rs-sdk host api versions, support worker_id in CallParamaters ( #409 )
...
* use marine-rs-sdk with worker_id in CallParameters
* add example
* fix tests
* update sdk version
* add v0/v1 imports
* fix bugs
* update examples
* use git dependency
* fix effects extractor
* fix marine-js build
* fix marine-js tests
* fix style
* make clippy happy
* update marine-rs-sdk
* add version type
* put v1 call_parameters import into right place
2024-02-08 17:40:57 +04:00
fluencebot
ac4a59985b
chore: release master ( #412 )
...
* chore: release master
* chore: Bump marine-js version to 0.9.2
2024-02-05 20:45:43 +04:00
Valery Antopol
9ad73df554
feat(module-info-parser): add effects extractor ( #410 )
...
* add effects extractor
* revert debug changes
2024-02-05 20:40:47 +04:00
fluencebot
ea51c78133
chore: release master ( #405 )
...
* chore: release master
* chore: Bump marine-js version to 0.9.1
2024-01-09 21:32:08 +04:00
Valery Antopol
ebb0bcb1d1
fix(docs): add correct repository link for every published crate ( #403 )
2024-01-07 17:43:24 +03:00
fluencebot
c4b0d49624
chore: release master ( #399 )
...
* chore: release master
* chore: Bump marine-js version to 0.9.0
2023-12-14 16:31:19 +03:00
Valery Antopol
597ef4f80d
fix(versions)!: enforce minor version bumps ( #400 )
...
* fix(versions)!: enforce major version bumps
* fix(versions)!: enforce major version bumps
2023-12-14 15:14:52 +03:00
Valery Antopol
662a49204f
feat!: add memory limiting ( #391 )
...
* memory limits iteration 1
* correct counting
* update to wasmtime 13.0.0
* wip stats recording
* adding memory limit tests
* fix build
* fix build
* fix build
* fix tests
* add configs
* update Cargo.lock
* self-review fixes
* self-review fixes, cleanup
* fix tests build
* fix tests, remove wee_alloc form lockfile
* fix build
* format tests
* pr fixes
* make tests more robust
* pr fixes
* Add OOM check into marine-runtime
* Use new error variant in tests
* add handy error message
* fix error msg
* fix tests
* check for OOM more precisely
* improve readability
* add "inifinity" memory limit, make memory limit mandatory, stop persisting allocation rejects
* add forgotten allocation stats clear
* pr fixes
* pr fixes
* use bytesize in tests
2023-12-13 19:51:58 +03:00
fluencebot
cec976de88
chore: release master ( #379 )
...
* chore: release master
* chore: Bump marine-js version to 0.8.0
2023-11-07 17:36:17 +03:00
Valery Antopol
8c217c7c3d
fix(versions)!: enforce minor version bumps ( #397 )
...
bump versions
2023-11-07 16:49:49 +03:00
Valery Antopol
a94494b042
feat!: propagate errors from linked modules ( #388 )
...
* propagate errors
* pregare for merge
* support new interface in js backend
* use wasmer-it from crates.io
* fix marine-js tests + update aquavm version for tests
2023-11-03 17:43:14 +03:00
raftedproc
0f5d08aba8
feat(wasmtime-backend): host stack size for WASM modules runtime has been increased to manage with AIR fold
over 1023 elements in AquaVM ( #390 )
2023-11-01 14:39:48 +03:00
Valery Antopol
3145078fbf
feat!: update wasmtime rust crate 13.0.0 ( #377 )
...
* update to wasmtime 13.0.0
* merge from master
2023-10-23 20:29:43 +03:00
renovate[bot]
44b8e96362
feat(deps): update rust crate anyhow to 1.0.75 ( #372 )
...
chore(deps): update rust crate anyhow to 1.0.75
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:50:28 +03:00
renovate[bot]
0b88b23601
chore(deps): update rust crate thiserror to 1.0.50 ( #346 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:23:50 +03:00
renovate[bot]
7b666aeb40
chore(deps): update rust crate semver to 1.0.20 ( #342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:23:07 +03:00
renovate[bot]
1e5cb4e175
chore(deps): update rust crate chrono to 0.4.31 ( #373 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:20:47 +03:00
renovate[bot]
0c1d3780b0
chore(deps): update rust crate serde_json to 1.0.107 ( #345 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:18:40 +03:00
renovate[bot]
8a6035f2f1
chore(deps): update rust crate log to 0.4.20 ( #374 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:17:38 +03:00
renovate[bot]
e75dafe7c2
chore(deps): update rust crate paste to 1.0.14 ( #375 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:16:54 +03:00
fluencebot
040071c5a3
chore: release master ( #369 )
...
* chore: release master
* chore: Bump marine-js version to 0.7.4
2023-09-13 22:41:30 +03:00
Valery Antopol
036c3348e3
feat(deps)!: update marine-rs-sdk-to 0.10.0 ( #364 )
...
* feat!: update marine-rs-sdk-to 0.9.0
* bump versions manually
* update lockfile
* update rust toolchain, so wasm-pack can be installed
* use marine-rs-sdk from git
* update Cargo.lock
* update sqlite-wasm-connector
* use marine-rs-sdk 0.10.0
* update marine version in examples
* update Cargo.lock
* fmt
2023-09-13 19:14:24 +03:00
Valery Antopol
854397a6c3
feat(module-info-parser): implement PartialEq for ManifestError ( #368 )
...
feat(modile-info-parser): implement PartialEq for ManifestError
2023-09-04 14:31:23 +03:00
fluencebot
398d704928
chore: release master ( #361 )
...
* chore: release master
* chore: Regenerate Cargo.lock
* chore: Bump marine-js version to 0.7.3
2023-08-09 16:38:41 +03:00
Valery Antopol
bf8e2e9114
fix(versions)!: enforce minor version bump on minor dependency update ( #362 )
2023-08-09 16:21:02 +03:00
Valery Antopol
e7861f5613
feat(deps)!: update marine-rs-sdk
2023-08-09 15:46:46 +03:00
Valery Antopol
550f7d3851
feat(marine-js): use wasmparser instead of walrus to parse module exports ( #359 )
...
* WIP
* WIP
* WIP
* refactor module passing soit does not take too much time
* WIP switched to wasmparser for ModuleInfo
* cleanup
* cleanup
* Fix clippy
2023-08-04 21:07:35 +03:00
fluencebot
ec7fcbc232
chore: release master ( #358 )
...
* chore: release master
* chore: Regenerate Cargo.lock
* chore: Bump marine-js version to 0.7.1
2023-08-04 14:45:52 +03:00
Valery Antopol
71e138dce3
fix!: update versions to comply with semver ( #357 )
...
bump versions
2023-08-04 14:27: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
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]
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]
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]
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
Valery Antopol
aeae703229
feat(wasm-backend, app-service)!: use String for wasi env vars + require Clone for Function trait ( #333 )
...
* use String instead of Vec<u8> for wasi envs
* require Clone for Function trait
* fmt
* pr fixes
2023-06-14 17:47:14 +03:00