Skip to content

Commit 1c1804f

Browse files
committed
meta: Bump version numbers
1 parent 15107bb commit 1c1804f

File tree

6 files changed

+104
-65
lines changed

6 files changed

+104
-65
lines changed

CHANGELOG.md

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,34 @@ All notable changes to the subprojects will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7-
## Unreleased
7+
## [0.3.1] - 2025-07-14
88

9-
-
9+
### Added
10+
11+
- `gl-client` 0.3.1 released, including the signer for CLN
12+
v.25.05. Upgrading the client and signer will trigger an upgrade on
13+
the server, and you will be using the latest and greatest CLN
14+
version going forward.
15+
- Added support to `trampoline_pay`, a payment exection engine that
16+
delegates route selection and payment execution to the LSP node.
17+
- Several signer policies have been relaxed in order to prevent
18+
signer rejections. Some rejections are still happening due to a
19+
mismatch in CLN and VLS data models, but most should be fixed.
20+
- A standalone `gl-testserver` subproject allows testing non-python clients by spinning up a mock Greenlight system in a box, and then run tests against it. ([#539][PR539])
21+
- A python-specific subprohect `gl-testing` allows writing extensive `pytest` tests against Greenlight. If you are using Python, this is a great way to test your project
22+
- Added CLN v24.11 as supported version on the server.
23+
- Added a rust-based `glcli` command line client replacing the python `glcli`
24+
25+
### Changed
26+
27+
- `trampoline_pay` performs a preflight check to see if we have enough `spendable_msat` before attempting the trampoline payment. ([#585][PR585])
28+
29+
### Fixed
1030

31+
- Fixed a logic error relating to zeroconf channels, and forgetting channels that did not confirm for prolonged periods.
32+
33+
34+
1135
## [0.3.0] - 2024-10-07
1236

1337
### Added
@@ -16,13 +40,81 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1640
- Add trampoline client to delegate route finding to next node ([#475](https://github.com/Blockstream/greenlight/pull/475), #[489](https://github.com/Blockstream/greenlight/pull/489), #[498](https://github.com/Blockstream/greenlight/pull/498), #[505](https://github.com/Blockstream/greenlight/pull/505), #[511](https://github.com/Blockstream/greenlight/pull/511)).
1741
- Add basic support for signer-less devices ([#281](https://github.com/Blockstream/greenlight/pull/281)).
1842

43+
[PR539]: https://github.com/Blockstream/greenlight/pull/539
44+
1945
### Changed
2046

2147
- Ensure that signer doesn't exit on network change ([#524](https://github.com/Blockstream/greenlight/pull/524))
2248
- Signer reports the node id by itself ([#520](https://github.com/Blockstream/greenlight/pull/520))
2349
- Upgrade to VLS 0.12 ([#504](https://github.com/Blockstream/greenlight/pull/504)).
2450
- Add .resources dir to all crates in repo. This is soley to make it possible to publish artefacts ([#501](https://github.com/Blockstream/greenlight/pull/501))
2551

52+
[PR585]: https://github.com/Blockstream/greenlight/pull/585
53+
2654
### Fixed
2755

2856
- Several small drive-by fixes ([#468](https://github.com/Blockstream/greenlight/pull/468), [#471](https://github.com/Blockstream/greenlight/pull/471), [#508](https://github.com/Blockstream/greenlight/pull/508))
57+
58+
### Removed
59+
60+
- The methods that used to be in `greenlight.proto` that have been
61+
superseded with the `node.proto` version have been removed on the
62+
server side. The proto file now contains only Greenlight-specific
63+
functionality ([#317][pr317].
64+
65+
## [0.2.0]
66+
67+
### Added
68+
69+
- The Node Domain has been enabled. This means that ever node now has
70+
a unique URL at which the node can always be reached, without
71+
having to explicitly schedule it first. This allows bypassing of
72+
the scheduler, reducing the time required to start and connect to a
73+
node.
74+
75+
- The plugin now wait for the node to complete its startup before
76+
forwarding RPC commands.
77+
- Calls to `cln.Node/Invoice` now always include all possible
78+
`routehints`. Possible in this case refers to channels with peers
79+
that are currently in state `CHANNELD_NORMAL`, both disconnected
80+
and connected.
81+
- The `gl-plugin` will now wait for both the initial gossip sync and
82+
the reconnection to the peers to complete, before allowing `pay`
83+
through. This cuts down on spurious payment failures due to missing
84+
peers or incomplete network view for routing.
85+
- The `gl-client` library and the language bindings have keepalive
86+
messages enabled, with a timeout of 90 seconds. This ensures that
87+
clients and signers that have been silently disconnected, e.g., by
88+
suspending the device or losing network connectivity, will notice
89+
and reconnect. [#220][pr220]
90+
91+
### Fixed
92+
93+
- An issue concerning reconnecting to peers, if the signer attaches
94+
before the underlying JSON-RPC has become available has been
95+
fixed. This issue would cause peers to remain disconnected despite
96+
a signer being attached. [#210][pr210] & [#204][pr204]
97+
98+
### Removed
99+
100+
- The JS bindings where clobbering the error messages due to
101+
incorrect context use. Now we return errors as they are emitted.
102+
- The scheduler no longer allows creating `regtest` nodes, since they
103+
are unusable without a faucet to get coins for it.
104+
105+
- Temporarily removed the JS bindings. We will the bindings over to
106+
uniffi, and the JS bindings were outdated and unused. But they'll
107+
be back.
108+
- The API has been simplified by removing methods that were both in
109+
`greenlight.proto` as well as `node.proto`. The latter is from the
110+
autogenerated `cln-grpc` which supercedes the `greenlight.proto`
111+
methods.
112+
113+
- Payment optimizations: we are working on getting the success rate
114+
for payments up, and the time to completion down, focusing on
115+
success rate first.
116+
117+
[pr204]: https://github.com/Blockstream/greenlight/pull/204
118+
[pr210]: https://github.com/Blockstream/greenlight/pull/210
119+
[pr220]: https://github.com/Blockstream/greenlight/pull/220
120+
[pr317]: https://github.com/Blockstream/greenlight/pull/317

docs/src/about/changelog.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

docs/src/about/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../CHANGELOG.md

libs/gl-client-py/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "gl-client"
3-
version = "0.3.2rc1"
4-
description = "Add your description here"
3+
version = "0.3.3"
4+
description = ""
55
readme = "README.md"
66
requires-python = ">=3.8"
77
dependencies = [

libs/gl-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gl-client"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2021"
55
authors = ["Christian Decker", "The Greenlight Team"]
66
description = "Client library for Greenlight, and basis for language bindings."

libs/gl-client/src/signer/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ impl Signer {
466466
}
467467

468468
async fn process_request(&self, req: HsmRequest) -> Result<HsmResponse, Error> {
469+
debug!("Processing request {:?}", req);
469470
let diff: crate::persist::State = req.signer_state.clone().into();
470471

471472
let prestate = {
@@ -713,7 +714,10 @@ impl Signer {
713714
/// directly and start streaming and processing requests.
714715
pub async fn run_forever(&self, shutdown: mpsc::Receiver<()>) -> Result<(), anyhow::Error> {
715716
let scheduler_uri = crate::utils::scheduler_uri();
716-
Self::run_forever_with_uri(&self, shutdown, scheduler_uri).await
717+
debug!("Starting signer run loop");
718+
let res = Self::run_forever_with_uri(&self, shutdown, scheduler_uri).await;
719+
debug!("Exited signer run loop");
720+
res
717721
}
718722

719723
/// Create and, if necessary, upgrade the scheduler

libs/gl-signerproxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gl-signerproxy"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2021"
55
authors = [
66
"Christian Decker",

0 commit comments

Comments
 (0)