Commit Graph

1459 Commits

Author SHA1 Message Date
c6ab1e5f56 feat: Partial support for unnamed packages
* Change PackageId to support both named and unnamed package
* Update the package resolver logic with unnamed package support
* Update the "package download" command
2024-04-09 22:31:26 +02:00
a7478d9b3d Expose store::StoreObjects 2024-04-08 15:19:57 +01:00
a180dade7f Release 4.2.8 2024-04-05 18:45:47 +03:30
b4b18c650b Various fixes detected in the build 2024-04-03 11:00:08 +11:00
b5000207b4 Release 4.2.7 2024-03-19 11:44:09 +03:30
adab70e4d8 fix: fix feature = "cargo-clippy" deprecation 2024-03-04 14:32:36 +02:00
209968b205 Release 4.2.6 2024-03-03 11:26:50 +03:30
323d7de1e4 Merge pull request #4444 from chipshort/fix-wasm-ref-docs
Fix note about unaligned references in `WasmRef` docs
2024-02-07 16:48:00 +01:00
3ac237a02d Fixed linting 2024-02-07 14:06:26 +01:00
83bb209a81 Increased artifact version 2024-02-07 14:06:26 +01:00
e2cd9a97ce Fixed all linting errors 2024-02-07 14:06:26 +01:00
ebfd642b2e Fix WasmRef docs 2024-02-07 11:15:30 +01:00
290ab9f381 chore(api): De-duplicate module info polyfill
The module was copy-pasted between js and jsc backends.

This commit lifts the module up to the root and shares it.
2024-01-31 22:14:27 +01:00
a478f81d02 deps: Unify wasmparser usage to a single version
Upgrade the wasmparser version used by all crates to 0.121.0, and switch
to a shared workspace dependency.
2024-01-31 22:14:27 +01:00
b857789cc1 Merge branch 'master' into make-public-api-consistent 2024-01-30 01:05:39 +03:30
8caa0c1db8 make the deprecation message more clear 2024-01-29 22:40:13 +03:30
47dfb141c3 gate the re-exports 2024-01-29 01:35:43 +03:30
f6818fb9a1 deprecate sys specific types 2024-01-29 01:18:34 +03:30
626390313a deps: Upgrade h2 due to vulnerability 2024-01-23 12:27:15 +01:00
2bdf002dc4 chore: Fix doc comments 2024-01-23 12:27:15 +01:00
968b473b3a chore: Rename Memory::to_shared to as_shared 2024-01-23 12:27:15 +01:00
4dddd90255 tests: Add SharedMemory tests 2024-01-23 12:27:15 +01:00
c6a2553b40 Refactor SharedMemoryOps to SharedMemory
Provide a wrapper around Memory that also holds the SharedMemoryOps.
2024-01-23 12:27:15 +01:00
9a3616ee6f feat(api): Add SharedMemoryHandle::{wait/notify} 2024-01-23 12:27:15 +01:00
febe60331a Use a weak reference to threadconditions in the sys SharedMemoryHandle
Prevents prolonging the thread conditions lifetime unneccessarily.
2024-01-23 12:27:15 +01:00
5fc6599aa6 feat(api): Add SharedMemoryHandle
Allows to trigger atomics related operations on a memory that supports
interacting with the atomics layer.

It adds a shared_handle() method to `Memory`.

Right now only final operations are exposed that wake up all atomic
waiters, and that allow disabling atomics.

This is required for forceful shutdown of instances that keep
hot-looping on atomics, and will be used from WASIX.
2024-01-23 12:27:15 +01:00
80ce9acb39 Fixed a broken tracing::warn!() 2024-01-12 14:58:06 +08:00
0cbb022276 Use tracing unconditionally in the wasmer crate 2024-01-12 14:42:26 +08:00
a1f2b27957 chore: Fix clippy lints in API create
Fix clippy lints in the API crate.

The fixes are in test code, which is ingored on CI, but the warnings are
annoying when developing.
2024-01-06 02:07:57 +01:00
0a32ca701a Merge remote-tracking branch 'origin/master' into dcgi 2023-12-23 20:51:47 +11:00
893f96acae Release 4.2.5 2023-12-23 11:45:27 +03:30
472d9180ad More linting and compile fixes 2023-12-23 13:20:27 +11:00
9caf4bfd78 Lint fixes and compile fixes 2023-12-23 11:28:45 +11:00
017459204f Merge remote-tracking branch 'origin/master' into dcgi 2023-12-23 11:01:21 +11:00
a90f66f98c lib/api/src/js/store.rs: fix typo
Fixes a small typo in lib/api/src/js/store.rs (taht -> that)
2023-12-21 11:22:02 +01:00
7d796101f7 Merge remote-tracking branch 'origin/master' into dcgi 2023-12-20 11:45:27 +11:00
b36378a451 Bumping the shared-buffer dependency so virtual_fs::StaticFile can use an OwnedBuffer while not breaking users of StaticFile::new() 2023-12-15 00:13:27 +08:00
4d63febf9d Release 4.2.4 (#4337) 2023-11-30 21:16:20 +03:30
a41c9966b9 Added some linting fixes and fix for compile erors 2023-11-28 10:15:49 +11:00
fd4f55eddb Implemented fixes so the journal restoration works properly 2023-11-27 17:04:08 +11:00
4abc21556d More compile fixes 2023-11-24 11:59:05 +11:00
4baa50a393 Added safety to the journal restore code 2023-11-24 10:37:20 +11:00
bce86dde4c Added better error handling that reduces a panic 2023-11-24 00:41:19 +11:00
7cef3703b7 Merge remote-tracking branch 'origin/master' into dcgi 2023-11-12 06:00:24 +11:00
8bad850de0 Made the js-only current_thread_id() polyfill available 2023-10-27 22:08:24 +08:00
d156bce818 Added more JS conversions for Memory 2023-10-27 22:08:24 +08:00
43acff5ad8 Improve the error messages you get when memory creation fails 2023-10-27 22:08:22 +08:00
69f6aa024c Made sure downcast_from_ptr() correctly consumes the Trap wrapper class 2023-10-27 22:08:22 +08:00
411bcaf688 Remove the wasm-bindgen-downcast dependency 2023-10-27 22:08:20 +08:00
7b3847cc58 fix: Update some links that are broken when compiling for the browser 2023-10-27 22:07:40 +08:00