Releases: clightning4j/JRPClightning
v0.2.4
Fixed
- re-add scanning classpath from property java.class.path (commit). @theborakompanioni 26-04-2023
Added
- support multiple classes with annotations (commit). @theborakompanioni 26-04-2023
v0.2.3
Fixed
- increase gradle version (commit). @vincenzopalazzo 13-01-2023
- fix compatibility with core lightning 22.11.1 (commit). @vincenzopalazzo 13-01-2023
- serialize null values (commit). @vincenzopalazzo 13-01-2023
v0.2.2
Here We go, a new JRPClightning version is out!
What it is the best things to prepare for Halloween night? Well, see the Changes in JRPClightning 0.2.2 of curse 😸
What the version 0.2.2 brings out
A complete milestone can be found here https://github.com/clightning4j/JRPClightning/milestone/1. However, an important the most important changes are:
- Implementing a version of lite client java doc
- Deprecated the Singleton pattern in the class JRPCLightning, so now you can create all the clients that you want java-doc
- Fixed RPC wrapper commands like, close, list funds, and other minors fixes.
- Performance Improvement in terms of socket calls.
- Possibility to use the library only to talk with the UNIX socket and receive the String as a result that it the raw c-lightning payload java-doc
In addition, there were the following actions on the repository.
What's Changed
- update readme by @vincenzopalazzo in #43
- adding contribution rules by @vincenzopalazzo in #44
- Fixed English and typos by @francescofact in #46
- Adding a rawCall method in the RPC interface. by @vincenzopalazzo in #49
- Fixed flaky test by @vincenzopalazzo in #50
- gson: Fixed missing @expose annotation on ClightningChannel class by @vincenzopalazzo in #51
- Enable github action on pr by @vincenzopalazzo in #52
- Fix json name mapping for milliSat by @hsteinmueller in #57
- Add sbt example to README by @benthecarman in #55
- Issue #58, fix readme rpc method by @mhechavarria in #59
- Create a lite interface to use the rpc interface. by @vincenzopalazzo in #65
- Fixed the close command parameter list. by @vincenzopalazzo in #68
- Use Github action matrix to check different version of Java by @Mrgove10 in #66
New Contributors
- @francescofact made their first contribution in #46
- @hsteinmueller made their first contribution in #57
- @benthecarman made their first contribution in #55
- @mhechavarria made their first contribution in #59
- @Mrgove10 made their first contribution in #66
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Here we go, this is a new minor release of the c-lightning java framework to interact with the c-lightning RPC and create plugins in Java and all compatible languages.
This version, brings more stability to the library, in fact, there is a huge internal refactoring, but for the end-user, there is nothing new.
Ah, yes. Now you can register your plugin to an on init call, where you can init your plugin and make a c-lightning RPC call. An example can be https://github.com/clightning4j/jrest/blob/9c6dfaba6df584cb8460522f1117628ceb7a9075/src/main/java/io/vincenzopalazzo/lightning/rest/CLightningRestPlugin.java#L50
https://github.com/clightning4j/JRPClightning
If you like this work considered donating with the following
Bitcoin: 3BQ8qbn8hLdmBKEjt1Hj1Z6SiDsnjJurfU
https://liberapay.com/vincenzopalazzo
https://github.com/sponsors/vincenzopalazzo
https://www.buymeacoffee.com/vincenzopalazzo
Or a keysend on the following node https://bruce.bublina.eu.org
Thanks!
v0.2.0
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.
v0.1.9-hot
JRPClightning Hot version.
Nothing interesting here, only a small mistake with the Github workflow.
The last release is reported here
v0.1.9
The version v0.1.9 is out and now it supports the new version of C-lightning (0.10.0), some API change is made in accordance with the C-Lightning API change.
The major change in the API are reported below
- Support address in the connect command
- Support the auto binding of the plugin options if they are as object propriety
- Work on #10
- Allow deserialization of null value with the GSON lib
- Integration testing with github actions
- Add linter for Java code.
See more on the original PR
You can compiler from the source the jar with the following command ./gradlew jarWithDependencies
If you have any other comment, you can join us with the following discussion
Regards,
Vincent
v0.1.9-rc1
The version rc1 is available as SNAPSHOT version under the version 0.1.9-rc1-SNAPSHOT
The major improvement of this version has the following improvement.
- Support address in the connect command
- Support the auto binding of the plugin options if they are as object propriety
- Work on #10
- Allow deserialization of null value with the GSON lib
- Integration testing with github actions
- Add linter for Java code.
v0.1.8
Fixed bugs and cleanup code.
This release contains also the first release on the maven repository.
Regards.
Vincent.
v0.1.5
The new pre-release is out.
Please check out and test it if you want.
Any help with the suggestions, issues, and PRs are welcome 😄
Supports to
- More commands, check out the javadoc
- Plugin with annotations and with not annotations, see the example plugin here
Test this release only on testnet, but the support from Java and kotlin are coming.
Regards.
Vincent.