Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
05545bd
chore: update quickjs-ng to latest
ammarahm-ed Jul 1, 2026
5055b2d
rewrite v8 host objects implementation
ammarahm-ed Jul 1, 2026
4f31c2c
feat: runtime optimize
ammarahm-ed Jul 1, 2026
99f96bd
update helpers
ammarahm-ed Jul 1, 2026
84ba313
chore: update properties
ammarahm-ed Jul 1, 2026
2053296
mobile: disable useHostObjects
ammarahm-ed Jul 1, 2026
ec7051d
auto enable host objects on build
ammarahm-ed Jul 1, 2026
ef20f1d
fix(URL): allow undefined 2nd args
ammarahm-ed Jul 1, 2026
b46586b
fix: `exit(0)` causes ANR due to destroyed mutex
ammarahm-ed Jul 3, 2026
6f01665
fix: gradle error when compileSdk or targetSdk is provided
ammarahm-ed Jul 3, 2026
ca93e66
feat: support 16 KB page sizes
ammarahm-ed Jul 3, 2026
8109ff9
feat: Ada 3.3.0 + URLPattern API
ammarahm-ed Jul 3, 2026
cc580c2
feat: Java 21 source compatibility
ammarahm-ed Jul 3, 2026
ebf167e
feat: update libzip to 1.11.4
ammarahm-ed Jul 3, 2026
3bfb07a
feat: kotlin 2.2.x support
ammarahm-ed Jul 3, 2026
3459c6e
feat: queueMicrotask support
ammarahm-ed Jul 3, 2026
de4e794
fix: prevent crash when jweak points to null
ammarahm-ed Jul 3, 2026
65c671d
fix: improve reThrowToJava exception handling
ammarahm-ed Jul 3, 2026
e5c679a
fix: proguard builds
ammarahm-ed Jul 3, 2026
c9920e4
fix: URLSearchParams.forEach() duplicate-key handling
ammarahm-ed Jul 3, 2026
252c3e0
feat: log uncaught native exceptions before aborting
ammarahm-ed Jul 4, 2026
de9c2bc
fix: multithreadedJS should use concurrent java maps
ammarahm-ed Jul 4, 2026
7df02d6
docs(migration): defer @CriticalNative/@FastNative pair (#1921 + #1942)
ammarahm-ed Jul 4, 2026
d008377
fix: select correct runtime when calling from different threads
ammarahm-ed Jul 4, 2026
9db6492
fix(jsparser): sourcemap off, report empty webpack output, skip non-I…
ammarahm-ed Jul 4, 2026
a175913
fix: circular dependencies when using proguard
ammarahm-ed Jul 4, 2026
a8c0d72
fix: ensure dex cache directory exists before proxy generation
ammarahm-ed Jul 4, 2026
5987fa7
docs(migration): defer DexFactory parent-classloader pair (#1951 + #1…
ammarahm-ed Jul 4, 2026
2e0ad39
docs(migration): triage remaining commits to HEAD (ESM deps, workers,…
ammarahm-ed Jul 4, 2026
fda1c2f
feat: @CriticalNative/@FastNative for hot JNI methods with safe regis…
ammarahm-ed Jul 4, 2026
127191e
fix(DexFactory): inject generated proxies into the app class loader f…
ammarahm-ed Jul 4, 2026
9664c31
docs(migration): mark @CriticalNative + DexFactory pairs as ported (2…
ammarahm-ed Jul 4, 2026
af90398
fix(timers): order timers with the Java MessageQueue instead of ALoop…
ammarahm-ed Jul 4, 2026
45b84d4
fix: URLSearchParams construction and iteration spec compliance
ammarahm-ed Jul 4, 2026
5700515
feat(workers): move worker threading and messaging to C++
ammarahm-ed Jul 4, 2026
9721bb5
fix: build all engines with C++20 (ada 3.3.0 requires it)
ammarahm-ed Jul 4, 2026
f8bc822
feat(inspector): serve source maps to DevTools + attach DevTools to W…
ammarahm-ed Jul 4, 2026
5038e14
fix: add missing try/catch handlers
ammarahm-ed Jul 5, 2026
867e4a7
fix: crash in finalizers and failing tests
ammarahm-ed Jul 5, 2026
7eb4388
fix(workers): propagate both errors when a worker onerror handler throws
ammarahm-ed Jul 5, 2026
3fc4026
fix: do not inject duplicate dex if class is already present in class…
ammarahm-ed Jul 5, 2026
0fbb9c3
fix(metadata): resolve companion objects with nested classes
ammarahm-ed Jul 5, 2026
4d93438
fix: finalizer callback arguments error
ammarahm-ed Jul 6, 2026
0c3111b
feat: update to hermes latest
ammarahm-ed Jul 6, 2026
fb87bbc
chore: bump version to 9.0.0
ammarahm-ed Jul 6, 2026
3330c49
chore: update js_native_api headers
ammarahm-ed Jul 6, 2026
f8e92ab
feat(hermes): host objects
ammarahm-ed Jul 6, 2026
3cd93d0
fix napi_post_finalizer args
ammarahm-ed Jul 8, 2026
22496e2
feat(jsc): Update to newer version of JSC and add support for host ob…
ammarahm-ed Jul 8, 2026
2f7790e
feat(primjs): update to the latest version of primjs and rewrite napi…
ammarahm-ed Jul 8, 2026
30203a4
chore: misc updates to runtime
ammarahm-ed Jul 8, 2026
f921827
fix ts_helpers to use globalThis
ammarahm-ed Jul 8, 2026
5122d34
fix abis in test-app when jsc engine is enabled
ammarahm-ed Jul 8, 2026
c409c34
show warning when using JSC engine
ammarahm-ed Jul 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/npm_trusted_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
set -euo pipefail
case "$ENGINE" in
all)
echo 'engines=["v8","hermes","jsc","quickjs","quickjs-ng","shermes","primjs"]' >> "$GITHUB_OUTPUT"
echo 'engines=["v8","hermes","jsc","quickjs","quickjs-ng","primjs"]' >> "$GITHUB_OUTPUT"
;;
v8|hermes|jsc|quickjs|quickjs-ng|shermes|primjs)
printf 'engines=["%s"]\n' "$ENGINE" >> "$GITHUB_OUTPUT"
Expand Down
66 changes: 42 additions & 24 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,43 @@
{
"configurations": [
{
"name": "Android",
"includePath": [
"${workspaceFolder}/**",
"/Users/ammarahmed/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/**",
"${workspaceFolder}/test-app/runtime/src/main/cpp/jsc/include"
],
"defines": [],
"compilerPath": "/Users/ammarahmed/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang-17",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x86",
"browse": {
"path": [
"/Users/ammarahmed/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64",
"${workspaceFolder}/test-app/runtime/src/main/cpp/jsc/include"
],
"limitSymbolsToIncludedHeaders": false
}
}
],
"version": 4
}
"configurations": [
{
"name": "Android",
"compilerPath": "/Users/ammarahmed/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android21-clang++",
"compilerArgs": ["-std=c++20"],
"cStandard": "c17",
"cppStandard": "c++20",
"intelliSenseMode": "linux-clang-arm64",
"defines": [
"USE_HOST_OBJECT=true",
"NAPI_EXPERIMENTAL=true",
"__BIONIC__=1",
"__V8__",
"__V8_13__"
],
"includePath": [
"/Users/ammarahmed/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1",
"/Users/ammarahmed/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include",
"/Users/ammarahmed/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android",
"/Users/ammarahmed/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/include",
"${workspaceFolder}/test-app/runtime/src/main/cpp",
"${workspaceFolder}/test-app/runtime/src/main/cpp/zip/include",
"${workspaceFolder}/test-app/runtime/src/main/cpp/runtime/**",
"${workspaceFolder}/test-app/runtime/src/main/cpp/modules/**",
"${workspaceFolder}/test-app/runtime/src/main/cpp/napi/common",
"${workspaceFolder}/test-app/runtime/src/main/cpp/napi/v8",
"${workspaceFolder}/test-app/runtime/src/main/cpp/napi/v8/v8_inspector",
"${workspaceFolder}/test-app/runtime/src/main/cpp/napi/v8-13",
"${workspaceFolder}/test-app/runtime/src/main/cpp/napi/v8-13/include",
"${workspaceFolder}/test-app/runtime/src/main/cpp/napi/v8-13/v8_inspector"
],
"browse": {
"path": [
"${workspaceFolder}/test-app/runtime/src/main/cpp",
"/Users/ammarahmed/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
}
73 changes: 73 additions & 0 deletions MIGRATION.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,6 @@ task copyFilesToProjectTemeplate {
into "$DIST_FRAMEWORK_PATH"
}

ant.propertyfile(file: "$TEST_APP_PATH/gradle.properties") {
entry(key: "ns_engine", value: "V8")
}

copy {
from "$TEST_APP_PATH/gradle-helpers/paths.gradle"
into "$DIST_FRAMEWORK_PATH/gradle-helpers"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nativescript/android",
"description": "NativeScript for Android using Node-API",
"version": "8.8.5",
"version": "9.0.0",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/android.git"
Expand Down
201 changes: 0 additions & 201 deletions packages/android-shermes/LICENSE

This file was deleted.

13 changes: 0 additions & 13 deletions packages/android-shermes/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions packages/android-shermes/package.json

This file was deleted.

Loading
Loading