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:
- [X] RPC change listed in the [c-lightning changelog](https://github.com/ElementsProject/lightning/pull/4675)
- [X] Give the possibility to plugins to add an interceptor before and after the running RPC method of any RPC method
- [X] 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.
- [X] 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 the plugin is changed. I'm sorry for that.
Start to use the new release with the new c-lightning stuff https://github.com/clightning4j/JRPClightning
Regards.
Vincent.