0.4.0 - Module System, Native Dialogs & Power APIs & QuckJS update
VitaJS v0.4.0
VitaJS v0.4.0 expands the runtime with a redesigned native module system, new PlayStation Vita system APIs and a modernized QuickJS core.
This release also improves ES module support and lays the groundwork for larger VitaJS applications built from multiple JavaScript files.
What's new
-
Upgraded QuickJS core to 2026-06-04
-
Redesigned native module registration and loading
-
Added automatic discovery of native VitaJS modules during build
-
Improved ES module support for JavaScript applications
-
Added the new
Appmodule- application exit
- launch parameters
- system event polling
- Vita information bar control
-
Added the new
Dialogmodule- native PS Vita message dialogs
- native IME / on-screen keyboard support
- UTF-8 / UTF-16 text conversion
-
Added the new
Powermodule- battery information and charge status
- battery health, temperature, voltage and cycle information
- CPU, bus and GPU clock information
- clock frequency control
- suspend, standby and display power controls
-
Fixed
Screen.draw_rectangle() -
Updated VitaJS JavaScript type definitions
-
Updated project configuration and documentation
-
Added a modular JavaScript mini-game example
Runtime improvements
Native VitaJS modules are now maintained through a centralized module definition system. New modules can be registered without manually updating multiple parts of the runtime bootstrap.
JavaScript source files are evaluated as ES modules, allowing applications to be split into multiple files using standard import / export syntax.
QuickJS
The embedded QuickJS runtime has been upgraded to the 2026-06-04 release while preserving VitaJS-specific module loading and PlayStation Vita path handling.
New native modules
The runtime now includes:
ScreenPadsFontAudioNetSystemAppDialogPowerstdos
Installation
Download vitajs-v0.4.0.vpk below and install it on your PS Vita.
VitaJS is still experimental. APIs may change between releases and testing on real PS Vita hardware is recommended.