489 Commits

Author SHA1 Message Date
Victor Adossi a93ecb943e chore(deps): update to v225.0 of wasmtime upstream (#566)
This commit updates the repo to 225.x and related in upstream
wasmtime crates.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2025-02-14 15:17:55 -08:00
Victor Adossi 7074de7efd chore(examples): update to use latest jco version, guest-types (#564) 2025-02-06 15:17:23 -08:00
Victor Adossi 17338d9dbb chore(deps): update upstream deps (#562)
* refactor(deps): avoid default features

This commit updates the deps for jco and related crates to avoid
default features which might unnecessarily add to build times.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* refactor: remove wasmparser * import

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore(deps): update core & bindgen functionality

This commit updates codegen functionality to use the updated versions
of upstream wasm projects (which now include async and some other refactorings)

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore: update wasm-tools component

This commit updates the wasm-tools utility crate to more up-to-date upstreams

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore: throw error for fn bindgen until async impl

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* feat: impl flush instruction bindgen

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* refactor: remove * imports in bindgen modules

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* fix(test): wit component versions in tests

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore: rustfmt

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* fix(tests): increase transpiled code char limit

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

---------

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2025-02-04 10:10:57 -08:00
Calvin Prewitt 5f066309d0 feat: experimental JSPI async option for jco transpile (#561) 2025-01-31 11:36:21 -08:00
Calvin Prewitt 3ed579b8c3 fix: jco opt support for nested components (#560) 2025-01-30 13:22:56 -08:00
Guy Bedford e083d5a069 fix: Wasm opt fix (#558) 2025-01-29 14:07:48 -08:00
Victor Adossi 645cd8d31f fix(tests): intermittent windows CI timeout (#556)
This commit increases the timeout for windows failures in test/cli.js,
which on the windows runner *sometimes* took slightly too long.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2025-01-29 09:21:58 -08:00
Victor Adossi 46e729c838 fix(tests): evaluation of fixture binaries (#553)
This commit fixes the issue with tests that was causing folders to be
picked up when present in the test component fixtures, along with some
quality-of-life changes for error output

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2025-01-28 21:44:20 -08:00
Victor Adossi 73aff9013d chore(deps): use published version of webidl2wit (#552)
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2025-01-28 21:41:16 -08:00
Omar Tawfik 5b2617d20d fix: generate typescript private resource constructors when none are defined (#548) 2025-01-24 18:08:26 -08:00
Guy Bedford eefa6f3216 test: latest ComponentizeJS test (#547) 2025-01-21 18:14:08 -08:00
Guy Bedford dd0631ac74 1.9.1 2025-01-21 17:57:37 -08:00
Guy Bedford 0cdada77d3 deps: WASI@0.2.3, Wasmtime 29 toolchain Upgrade (#545) 2025-01-21 17:55:48 -08:00
Lachlan Heywood fe90d2ff0a feat: add initial support for guest-types command (experimental) (#528) 2024-12-13 12:12:38 -08:00
Victor Adossi c8c04b4727 feat(examples): add HTTP hello world (#533)
* chore(examples): update jco/componentize-js versions

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* feat(examples): add HTTP hello world example

This commit adds an example that uses the WASI http world to build a
HTTP handler to the in-repo examples.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore(examples): update http example wasi deps to 0.2.2

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* fix(examples): remove type generation

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* docs(examples): add warning about jco serve for local/dev use

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

---------

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2024-12-11 13:34:14 -08:00
Victor Adossi 381df49df1 feat: allow custom weval bin (#522)
* feat: allow custom weval bin

This commit enables specifying a custom `weval` binary to use when
performing AOT.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore: set node version to v20.18.0

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* chore(ci): install weval during CI

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

* refactor(ci): get weval version dynamically

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>

---------

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2024-11-25 12:30:12 -08:00
Guy Bedford 7b8adf1969 deps: update to ComponentizeJS@0.15.0 (#527) 2024-11-25 10:06:21 -08:00
Guy Bedford 19f96302a7 1.8.1 2024-11-21 17:53:13 -08:00
Guy Bedford da410875ac fix: top-level resource bindgen (#526) 2024-11-21 17:52:16 -08:00
Guy Bedford 791d1c10d1 1.8.0 2024-11-21 14:44:59 -08:00
Guy Bedford dc01f95c01 feat: support top-level resources (#525) 2024-11-21 14:43:10 -08:00
Guy Bedford 9e784e27f0 deps: update to latest Wasmtime@27 toolchain (#524) 2024-11-20 10:55:02 -08:00
Victor Adossi 7b6e3867b0 fix(examples): mention wac in string-reverse-upper README (#521)
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
2024-11-07 14:38:50 -08:00
Guy Bedford b125d470b6 1.7.2 2024-11-01 17:56:00 -07:00
Guy Bedford 8f860a8e9d deps: update to ComponentizeJS@0.14.0, reenable test (#520) 2024-11-01 17:54:35 -07:00