Skip to content

PAM Native 1.45.0

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 28 Oct 15:05
· 410 commits to main since this release

PAM Native 1.45.0 (on top of 1.44.0) ships architecture v2, the extension protocol table and a long series of Android/iOS parity, memory and performance fixes in one release. It is backward compatible. The APIs that architecture v2 replaces are @deprecated and keep working, and the core protocol identifiers are unchanged (properties 1–543 and events 1–80 are now closed, and new identifiers go to the extension table that starts at 1001).

  • Architecture v2. Laravel-style routes.php (Route::screen/modal/tabs/group/middleware, aliases, keep-alive, error boundaries), App::middleware(), navigate()/back()/redirect(), typed setup() params with Navigator/RouteContext injected, <Link route :params>, and pam-native-routes typed route helpers checked at build time. Also an Axios-style Http::create() client with interceptors, retry, multipart()/upload() progress and cancellable PendingResponse, plus production useResource (persistent scoped cache, reactive keys, last-request-wins, paging). See docs/architecture-v2.md.
  • Extension protocol table. Hosts export a renderer contract (ABI, protocol range, highest core and extension IDs). The PHP SDK refuses an incompatible renderer at boot and throws ProtocolMismatchException instead of sending an ID the renderer would reject. New extension properties: followEndOnResize (1001), ScrollView pageTransform cube (1002), MediaPlayer startBufferMs (1003) and idleSurface (1004), and ScrollView contentOffsetAnimationMs (1005). See docs/protocol-extension-table.md.
  • Safe area by default. Every presentation and sheet lays out inside the system bars. Sheets lay out at their detent, floating content stays in the safe area, and a safe-area lint and debug overlay are included.
  • Integration APIs. Keyboard height and metrics, System\ViewRef (focus/blur/clear/selection/measure), portals, I18n catalogs with plurals, DeviceInfo app version and locale, styled toasts, and TapEffect origin and trigger.
  • Memory and speed. The PHP heap no longer grows over a session. Long lists are windowed with O(1) off-window rows and no app change. There is a native tree encoder, O(1) node maps on Android, and media players, posters and remote images release their decoders and pixels when hidden.
  • iOS parity. Switch checked, MediaPlayer, modals inside tabs and routes, RefreshControl, push and Firebase, image blur, Dynamic Type caps, usageDescriptions, developmentRegion/localizations, and UI driver fling and probe steps.
  • Prebuilt engine marker. The Android renderer archive carries target/pam-native-engine-version (version, protocol=, engine=). pam-native reuses a release engine only when its engine sources match and records engine= in the installed marker.

Upgrade note: Component no longer declares an empty setup(), so components can declare setup() with typed parameters. A setup(): void override keeps working, but a parent::setup() call on the old no-op hook must be removed.

Gates at the release commit: PHP SDK run.php, protocol-parity.py, cargo test (CLI, engine, protocol), cargo fmt --check, cargo clippy -D warnings, Kotlin compile with JVM unit tests, iOS XCTest build-for-testing (Xcode 26.6), and the release-workflow contracts. Assets are built reproducibly (renderer, plugin API and PHP SDK byte-for-byte), and the package budgets were verified.

Full list: CHANGELOG.md 1.45.0.