Skip to content

v0.2.0

Compare
Choose a tag to compare
@vincenzopalazzo vincenzopalazzo released this 10 Aug 08:56
· 104 commits to master since this release
1abb6a3

A new version of c-lightning is out, and this means that a new version of jrpclightning is out with a couple of compatibility fixes and feature added in c-lightning.

Version 0.2.0 included a couple of changes:

  • RPC change listed in the c-lightning changelog
  • Give the possibility to plugins to add an interceptor before and after the running RPC method of any RPC method
  • Use the interceptor to run the onInit method where it is a good method to initialize the plugin: Now it is possible to override a method onInit() inside the plugin class and make the logic to initialize the plugin.
  • Support plugin notifications: Now the plugin has some new methods to add a plugin notification that are addNotification, containsNotification, sendNotification.

p.s: This release will break the compatibility with version 0.10.0 of c-lightning from plugin developers because the manifest of plugin is changed. I'm sorry for that.

Contribute with a donation with the following reference https://www.buymeacoffee.com/vincenzopalazzo/jrpclightning-0-2-0 or with the sponsor button.

Regards.

Vincent.