211 Commits

Author SHA1 Message Date
LongYinan
0bf30cc77e
ci: fix cargo registry token 2025-07-21 16:19:50 +08:00
LongYinan
c657665a01
ci: pin release-plz action 2025-07-21 10:39:48 +08:00
LongYinan
e12d905ff0
ci: add release-crates job (#2787) 2025-07-21 10:21:18 +08:00
LongYinan
69d28061ff
feat(cli): support ohos (#2773) 2025-07-12 17:29:15 +08:00
LongYinan
3dce1533fd
test(napi): add fixture for re-export complex class (#2733) 2025-06-24 16:31:26 +08:00
LongYinan
21e5580f28
fix(cli): remove require in utils (#2693) 2025-06-05 11:08:05 +08:00
renovate[bot]
d2d8d31c68
chore(deps): update cross-platform-actions/action action to v0.28.0 (#2653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 17:53:23 +00:00
LongYinan
7182db3a81
feat(napi): EscapableHandleScope API (#2652) 2025-05-19 19:52:21 +08:00
LongYinan
0a9980bad5
fix(napi): JsObjectValue::get_property signature (#2628)
* fix(napi): JsObjectValue::get_property signature

* debug
2025-05-12 12:20:06 +08:00
LongYinan
9de545e7a2
refactor!(napi): add lifetime to Object (#2619) 2025-05-11 19:51:29 +08:00
LongYinan
c808386a8f
refactor!(napi): move JsBigint behind compat-mode feature (#2613)
* refactor!(napi): move JsBigint behind compat-mode feature

* reduce asan flaky
2025-05-08 12:04:02 +08:00
LongYinan
95832ff168
refactor!(napi): introduce JsValue and JsObjectValue trait (#2606)
Add lifetime for JsGlobal JsTimeout and JSON
2025-05-06 23:45:37 +08:00
LongYinan
bcf5e14aa8
feat(napi): add from_napi_value for Ref<T: FromNapiValue> (#2603) 2025-05-05 23:38:46 +08:00
LongYinan
d942a6bab9
test: fix flaky (#2601) 2025-05-05 14:56:07 +08:00
LongYinan
872a6e4f1c
ci: pin zig to 0.13 (#2591) 2025-05-03 15:51:01 +08:00
LongYinan
a35f721557
ci: test Windows on ARM (#2566) 2025-04-16 18:42:24 +08:00
LongYinan
bc2e855e8c
test(wasm-runtime): testing fs proxy on CI (#2565) 2025-04-16 14:48:07 +08:00
LongYinan
ff2c64b35d
chore: clippy fix (#2545) 2025-04-04 13:52:49 +08:00
LongYinan
1fe6ad0430
feat(napi): tokio multi-thread mode on wasi (#2501)
* feat(napi): tokio multi-thread mode on wasi

* tokio_unstable flag

* snapshot

* ensure runtime

* oncelock combine lazylock

* noop feature
2025-03-13 23:53:19 +08:00
LongYinan
02205ddbeb
build: workaround for GLIBC pthread_key_create bug (#2494) 2025-03-03 12:22:40 +08:00
LongYinan
ed6da2b741
fix(napi): compile error on noop feature (#2478) 2025-02-24 23:19:47 +08:00
LongYinan
4d77245bab
ci: pin qemu and ubuntu version (#2474)
Ref: https://github.com/actions/runner-images/issues/11471
2025-02-20 15:06:27 +08:00
LongYinan
d96bd288de
fix!(napi): upgrade to ctor 0.3.6 (#2472) 2025-02-20 12:22:29 +08:00
renovate[bot]
7cd7aa81e3
chore(deps): update cross-platform-actions/action action to v0.27.0 (#2443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 09:08:28 +00:00
LongYinan
64bed9af13
ci: fix s390x and ppc64le test (#2435) 2025-01-20 11:40:24 +08:00
LongYinan
24e6bd38f3
chore: remove ts-node in examples/napi test (#2425) 2025-01-12 19:22:37 +08:00
LongYinan
bd131ad2b0
ci: move FreeBSD test into github (#2417) 2025-01-02 09:50:51 +00:00
LongYinan
74013507a7
ci: stop auto build docker images 2024-12-20 21:56:09 +08:00
LongYinan
8fffa49282
fix(napi): resuse threads worker on Node.js (#2399) 2024-12-18 23:48:30 +08:00
LongYinan
af68b685f5
chore: set DISABLE_V8_COMPILE_CACHE in docker test (#2307) 2024-10-14 00:14:09 +08:00
LongYinan
e0811d1644
fix(napi): data maybe null in custom_gc (#2304)
* fix(napi): data maybe null in custom_gc

Sometimes thread has not been disposed but the objects on it have been
recycled, we need to check if the data has been pointed to null before
unref it.

* disable v8 compile cache on CI
2024-10-13 23:33:39 +08:00
LongYinan
41f9e029f1
ci: fix ubuntu 24.04 electron test (#2288) 2024-10-02 10:55:32 +02:00
LongYinan
fc4b6a632d
refactor(napi-derive): expand order (#2265) 2024-09-20 22:44:34 +08:00
LongYinan
cea16807da
ci: run test in Docker with -s (#2264) 2024-09-19 22:13:51 +08:00
LongYinan
b0bf4f00d0
fix(napi): windows function registration timing (#2248)
* fix(napi): windows function registration timing

* fix clippy issue

* upgrade zig version

* pin rust version on zig cross compile ci
2024-09-12 23:18:05 +08:00
LongYinan
82675fb068
ci: fix Address Sanitizer check (#2212) 2024-08-10 14:37:02 +08:00
LongYinan
727f5a831a
test: skip memory exhausting test in wasi env (#2185) 2024-07-13 02:34:04 +08:00
renovate[bot]
4d39940fa0
chore(deps): update vitest monorepo to v2 (major) (#2177)
* chore(deps): update vitest monorepo to v2

* Fix lockfile

* Add playwright

* Update snapshots

* Fix vitest

* Fix vitest

* Fix wasi test

* Fix worker test condition

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-07-11 14:58:46 +08:00
LongYinan
45a404c30b
ci: use shell to run tests in Docker (#2175) 2024-07-08 15:18:50 +08:00
renovate[bot]
f9721584f8
chore(deps): update oven-sh/setup-bun action to v2 (#2153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 11:38:59 +08:00
renovate[bot]
433d27a4e7
chore(deps): update docker/build-push-action action to v6 (#2142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 13:50:02 +08:00
Kreijstal
ac47a92424
feat(build): add windows gnu target (#2026)
* squash  attempt number 2

* Add clang64

this adds clang64 compiler to the test suite

---------

Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-06-09 00:54:59 +08:00
LongYinan
11d075444d
ci: dedupe after renovate job 2024-05-07 15:50:13 +08:00
LongYinan
3fc19fb2a3
style: fix clippy errors (#2090)
* style: fix clippy errors

* ci: rename wasip1 target name
2024-05-06 13:53:49 +08:00
LongYinan
46cbcf3ff1
feat(cli): allow sync fs operation between workers/mainThread (#2064)
* feat(cli): allow sync fs operation between workers/mainThread

* allow sync fs operation between workers/mainThread (#2065)

* Fix

* Update fixture

* flaky test

* Fix cross compile target

* Update zig

* macos-cross test was filtered

---------

Co-authored-by: Toyo Li <lifenglin314@outlook.com>
2024-04-23 12:14:06 +08:00
LongYinan
cd3a850dcb
ci: improve test speed (#2057) 2024-04-19 16:00:20 +08:00
LongYinan
67f03a7fd4
ci: fix flaky tests (#2033)
* ci: fix flaky tests

* chore: remove useless deps

* chore: decresse worker_threads counts
2024-04-10 15:43:05 +08:00
翠 / green
2e0f983ccf
feat(target): add support for s390x-unknown-linux-gnu (#2028)
* feat(target): add support for s390x-unknown-linux-gnu

* chore: rerun CI
2024-04-09 14:16:09 +08:00
翠 / green
0fa755d30a
feat(target): add support for powerpc64le-unknown-linux-gnu (#2023)
* refactor: remove unused ci.ts

* feat(target): add support for powerpc64le-unknown-linux-gnu
2024-04-09 11:27:48 +08:00
翠 / green
7ae562352a
feat(cli): add support for armv7-unknown-linux-muslebihf (#2019) 2024-04-08 21:04:57 +08:00