Skip to content

Releases: hampoelz/Capacitor-NodeJS

Capacitor-NodeJS v1.0.0-beta.7

15 Jan 11:52
Compare
Choose a tag to compare
Pre-release

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

01 Oct 10:02
Compare
Choose a tag to compare
Pre-release

Added

  • Add activity lifecycle callbacks to bridge module
    • Add onPause() method
    • Add onResume() method

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

14 Sep 22:06
Compare
Choose a tag to compare
Pre-release

Fixed

  • Fix bridge addListener callback only fired once

Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5

Capacitor-NodeJS v1.0.0-beta.4

25 Aug 13:51
Compare
Choose a tag to compare
Pre-release

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 API to get a writeable data directory on each platform

Changed

  • Breaking: Change return type of send() method to void
  • 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

19 Aug 21:44
Compare
Choose a tag to compare
Pre-release

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 to CapacitorNodeJS

Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3

Capacitor-NodeJS v1.0.0-beta.2

29 Jan 23:24
Compare
Choose a tag to compare
Pre-release

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

29 Jan 13:15
Compare
Choose a tag to compare
Pre-release

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