Skip to content

Commit f72a89f

Browse files
committed
docs: add release notes for v0.22.0
Add release notes entry for the AddHoldInvoice optional-hash feature under RPC Updates and lncli Updates.
1 parent 13bfef0 commit f72a89f

1 file changed

Lines changed: 75 additions & 0 deletions

File tree

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Release Notes
2+
- [Bug Fixes](#bug-fixes)
3+
- [New Features](#new-features)
4+
- [Functional Enhancements](#functional-enhancements)
5+
- [RPC Additions](#rpc-additions)
6+
- [lncli Additions](#lncli-additions)
7+
- [Improvements](#improvements)
8+
- [Functional Updates](#functional-updates)
9+
- [RPC Updates](#rpc-updates)
10+
- [lncli Updates](#lncli-updates)
11+
- [Breaking Changes](#breaking-changes)
12+
- [Performance Improvements](#performance-improvements)
13+
- [Deprecations](#deprecations)
14+
- [Technical and Architectural Updates](#technical-and-architectural-updates)
15+
- [BOLT Spec Updates](#bolt-spec-updates)
16+
- [Testing](#testing)
17+
- [Database](#database)
18+
- [Code Health](#code-health)
19+
- [Tooling and Documentation](#tooling-and-documentation)
20+
21+
# Bug Fixes
22+
23+
# New Features
24+
25+
## Functional Enhancements
26+
27+
## RPC Additions
28+
29+
## lncli Additions
30+
31+
# Improvements
32+
33+
## Functional Updates
34+
35+
## RPC Updates
36+
37+
* [`AddHoldInvoice` hash field is now
38+
optional](https://github.com/lightningnetwork/lnd/pull/10685). When omitted,
39+
the server generates a random preimage, derives the payment hash, and
40+
returns the preimage in the response. The preimage is never persisted — the
41+
caller must save the returned value to settle the invoice later, preserving
42+
the hold-invoice invariant that lnd only learns the preimage at
43+
`SettleInvoice` time. The response adds `payment_preimage` (populated only
44+
for the auto-generated case) and `payment_hash` (always populated).
45+
46+
## lncli Updates
47+
48+
* The [`addholdinvoice` command now accepts `--hash` and `--preimage`
49+
flags](https://github.com/lightningnetwork/lnd/pull/10685). When neither is
50+
provided, the server generates both automatically. The legacy positional hash
51+
argument is still supported for backward compatibility.
52+
53+
## Code Health
54+
55+
## Breaking Changes
56+
57+
## Performance Improvements
58+
59+
## Deprecations
60+
61+
# Technical and Architectural Updates
62+
63+
## BOLT Spec Updates
64+
65+
## Testing
66+
67+
## Database
68+
69+
## Code Health
70+
71+
## Tooling and Documentation
72+
73+
# Contributors (Alphabetical Order)
74+
75+
* Suheb

0 commit comments

Comments
 (0)