Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,23 @@ should also check their installed version with `supernote-module --version`.

## Unreleased

## 2.0.3 - 2026-08-16

- Generate one KSP compiler option per feature so plugins with multiple V2
features compile instead of passing an invalid newline-bearing option.
- Allow native-only, JVM-only, and mixed feature sets by ignoring absent
optional implementation roots when declaring Gradle task inputs.
- Include generator templates explicitly in source distributions so every
permitted build backend produces an installable, usable wheel.
- Make generator-managed commands, Android toolchain diagnostics, and native
runtime tests portable across macOS, Linux, and Windows.
- Resolve Windows command shims and Python launchers without requiring users to
provide POSIX command names.
- Coordinate Gradle, KSP, common code generation, and CMake through one short
generated runtime build root, including normalized Windows paths.
- Avoid allocation during generated runtime invalidation and feature teardown.
- Harden subprocess, signal, transaction-lock, and non-UTF-8 failure handling.
- Keep generated JavaScript and TypeScript compatible with strict lint rules.

## 2.0.2 - 2026-08-15

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ lives. One feature may contain C++, C helper files, Kotlin, and Java together.
JSI is the only JavaScript frontend, and the plugin compiles one generated V2
runtime/build component shared by all features.

V2 is the current stable architecture. Version `2.0.2` keeps ordinary static
feature imports runtime-safe and improves transactional recovery, concurrent
CLI operation handling, source/metadata diagnostics, and Kotlin/Java failure
messages. Actual feature calls still require the plugin runtime to be ready.
V2 is the current stable architecture. Version `2.0.3` improves cross-platform
generator and generated-build behavior, including Windows command discovery,
Android toolchain diagnostics, and short coordinated runtime build paths. It
also hardens failure handling and generated runtime teardown. Actual feature
calls still require the plugin runtime to be ready.
The initial V2 release series deliberately keeps advanced value/object features
and caller-controlled cancellation out of scope; the supported foundation is
described below.
Expand Down
2 changes: 1 addition & 1 deletion src/supernote_module_generator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Safe generator for local native code modules in Supernote React Native plugins."""

__version__ = "2.0.2"
__version__ = "2.0.3"