Skip to content

Releases: MarkusJx/node-java-bridge

Release v2.1.0

31 Aug 19:38
c619a60

Choose a tag to compare

What's Changed

  • Renamed the module to java-bridge
  • Bumped the required node.js version to 15
  • Set the target version of the java library to 1.8
  • Added an instanceOf method to class instances:
import { importClass } from 'java-bridge';

const JavaString = importClass('java.lang.String');
const str = new JavaString('Hello World');

// Pass the class to check against as the argument
str.instanceOf(JavaString); // true

// You can also pass the name of the class to check against
str.instanceOf('java.lang.String'); // true
str.instanceOf('java.lang.Object'); // true
str.instanceOf('java.util.List'); // false

Full Changelog: v2.0.1...v2.1.0

Release v2.1.0-beta.2

31 Aug 18:46
01d1789

Choose a tag to compare

Release v2.1.0-beta.2 Pre-release
Pre-release

Release for testing purposes

Release v2.1.0-beta.1

31 Aug 18:24
857c4c0

Choose a tag to compare

Release v2.1.0-beta.1 Pre-release
Pre-release

Release for testing purposes

Release v2.0.1

29 Aug 19:12
db99e2e

Choose a tag to compare

What's Changed

  • Fixed a bug which caused classes from loaded jars to not be found
  • Added section in the readme about extending the classpath

Full Changelog: v2.0.0...v2.0.1

Release v2.0.0

28 Aug 20:38
05a8db2

Choose a tag to compare

What's Changed

  • Re-wrote the whole plugin with rust using napi-rs
    • This provides an equally fast interface between node.js and java, but is far safer
  • Pre-built binaries can now be downloaded
    • This removes the additional build step upon installing the package
    • Thus, there's no need anymore to install the node.js build tools in order to use this package
  • New documentation is now available at https://markusjx.github.io/node-java-bridge
  • The functionality of this package stayed mostly the same

Feel free to submit any bugs you've found

Full Changelog: v1.0.0...v2.0.0

Release v2.0.0-beta.1

28 Aug 10:51
e2430d9

Choose a tag to compare

Release v2.0.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.0.0...v2.0.0-beta.1

Release v1.0.0

24 May 20:33
69952ec

Choose a tag to compare

Update dependencies