Releases: hampoelz/Capacitor-NodeJS
Releases · hampoelz/Capacitor-NodeJS
Capacitor-NodeJS v1.0.0-beta.7
Changed
- Bump nodejs-mobile core library to v18.17.2
- Update node engine to v18.17.1
Full Changelog: v1.0.0-beta.6...v1.0.0-beta.7
Capacitor-NodeJS v1.0.0-beta.6
Added
- Add activity lifecycle callbacks to
bridge
module- Add
onPause()
method - Add
onResume()
method
- Add
Fixed
- Kill Node.js process when closing Electron app
Changed
- Provide types package for the
bridge
module as.tgz
Full Changelog: v1.0.0-beta.5...v1.0.0-beta.6
Capacitor-NodeJS v1.0.0-beta.5
Capacitor-NodeJS v1.0.0-beta.4
If you are upgrading: please see UPGRADING.md
.
Added
- Add a types package for the
bridge
module (#6) - Allow manual startup of the Node.js runtime, pass environment variables and arguments (#8)
- Add
startMode
configuration - Add
start()
method
- Add
- Add API to get a writeable data directory on each platform
Changed
- Breaking: Change return type of
send()
method tovoid
- Rewrite the
bridge
module in TypeScript (#14) - Start the Node.js runtime as child process on Electron (#12, #15)
- Change loading mechanism of the
bridge
module to a built-in module (#12)
Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4
Capacitor-NodeJS v1.0.0-beta.3
If you are upgrading: please see UPGRADING.md
.
Changed
- Update to Capacitor v5 (#11, #13)
- Breaking: Drop support for Capacitor v3 and v4
- Move native API behind a JavaScript wrapper
- Breaking: Change plugin name in Capacitor configuration from
NodeJS
toCapacitorNodeJS
- Breaking: Change plugin name in Capacitor configuration from
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3
Capacitor-NodeJS v1.0.0-beta.2
Changed
- Bump nodejs-mobile core library to v16.17.0
- Update node engine to v16.17.1
- Disable Android 32-bit x86 support for now
Full Changelog: v1.0.0-beta.1...v1.0.0-beta.2
Capacitor-NodeJS v1.0.0-beta.1
If you are upgrading: please see UPGRADING.md
.
Added
- Add
whenReady()
method (#4)
Changed
- Breaking: Change loading mechanism of bridge module (manually adding the dependency to the NodeJS project is now required!)
- Breaking: Change default NodeJS project folder from the app's source directory to the subfolder
nodejs
Fixed
- Fix bridge library not found when building Android app
- Fix bridge module not found after packaging Electron app
- Fix loading native implementations instead of the web implementation
Full Changelog: e49ec7e