Skip to content

Commit e2fac2a

Browse files
committed
docs: add release notes for v0.22.0
Add release notes entry for the AddHoldInvoice optional preimage/hash generation feature under RPC Updates and lncli Updates.
1 parent e5d4450 commit e2fac2a

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` now supports optional preimage/hash
38+
generation](https://github.com/lightningnetwork/lnd/pull/10685). The `hash`
39+
field is no longer required — when omitted, the server auto-generates a
40+
cryptographically random preimage and derives the payment hash. A new
41+
`preimage` field on the request allows callers to supply their own preimage
42+
and let the server derive the hash, eliminating the risk of hash/preimage
43+
mismatches. The response now includes `payment_preimage` (when the server
44+
knows the preimage) 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)