diff --git a/CHANGELOG.md b/CHANGELOG.md index c79cdcf15..88aad48b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,102 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.9.3rc1] - 2021-01-10 + +### Added + + - JSON-RPC: The `listfunds` method now includes spent outputs if the `spent` parameter is set to true. ([#4296]) + - JSON-RPC: `createinvoice` new low-level invoice creation API. ([#4256]) + - JSON-RPC: `invoice` now takes an optional `cltv` parameter. ([#4320]) + - JSON-RPC: `listinvoices` can now query for an invoice matching a `payment_hash` or a `bolt11` string, in addition to `label` ([#4312]) + - JSON-RPC: fundpsbt/utxopsbt have new param, `min_witness_utxo`, which sets a floor for the weight calculation of an added input ([#4211]) + - docs: `doc/BACKUP.md` describes how to back up your C-lightning node. ([#4207]) + - fee_base and fee_ppm to listpeers ([#4247]) + - hsmtool: password must now be entered on stdin. Password passed on the command line are discarded. ([#4303]) + - plugins: `start` command can now take plugin-specific parameters. ([#4278]) + - plugins: new "multi" field allows an option to be specified multiple times. ([#4278]) + - pyln-client: `fundpsbt`/`utxopsbt` now support `min_witness_weight` param ([#4295]) + - pyln: Added support for command notifications to LightningRpc via the `notify` context-manager. ([#4311]) + - pyln: Plugin methods can now report progress or status via the `Request.notify` function ([#4311]) + - pyln: plugins can now raise RpcException for finer control over error returns. ([#4279]) + +### Changed + + - JSON-RPC: invalid UTF-8 strings now rejected. ([#4227]) + - bitcoin: The default network was changed from "testnet" to "mainnet", this only affects new nodes ([#4277]) + - cli: `lightning-cli` now performs better sanity checks on the JSON-RPC requests it sends. ([#4259]) + - hsmd: we now error at startup on invalid hsm_secret ([#4307]) + - hsmtool: all commands now error on invalid hsm_secret ([#4307]) + - hsmtool: the `encrypt` now asks you to confirm your password ([#4307]) + - lightningd: the `--encrypted-hsm` now asks you to confirm your password when first set ([#4307]) + - plugins: Multiple plugins can now register `db_write` hooks. ([#4220]) + - plugins: more than one plugin can now register `invoice_payment` hook. ([#4226]) + - pyln: Millisatoshi has new method, `to_whole_satoshi`; *rounds value up* to the nearest whole satoshi ([#4295]) + - pyln: `txprepare` no longer supports the deprecated `destination satoshi feerate utxos` call format. ([#4259]) + +### Deprecated + +Note: You should always set `allow-deprecated-apis=false` to test for changes. + +### Removed + + - plugins: options to `init` are no longer given as strings if they are bool or int types (deprecated in 0.8.2). ([#4278]) + +### Fixed + + - JSON-RPC: The status of the shutdown meesages being exchanged is now displayed correctly. ([#4263]) + - JSONRPC: `setchannelfee` would fail an assertion if channel wasn't in normal state. ([#4282]) + - db: Fixed a performance regression during block sync, resulting in many more queries against the DB than necessary. ([#4319]) + - hsmtool: the `generatehsm` command now generates an appropriately-sized hsm_secret ([#4304]) + - keysend: Keysend now checks whether the destination supports keysend before attempting a payment. If not a more informative error is returned. ([#4236]) + - log: Do not terminate on the second received SIGHUP. ([#4243]) + - onchaind is much faster when unilaterally closing old channels. ([#4250]) + - onchaind uses much less memory on unilateral closes for old channels. ([#4250]) + - pay: Fixed an issue where waiting for the blockchain height to sync could time out. ([#4317]) + - pyln: parsing msat from a float string ([#4237]) + +### Security + +[#4303]: https://github.com/ElementsProject/lightning/pull/4303 +[#4278]: https://github.com/ElementsProject/lightning/pull/4278 +[#4312]: https://github.com/ElementsProject/lightning/pull/4312 +[#4307]: https://github.com/ElementsProject/lightning/pull/4307 +[#4304]: https://github.com/ElementsProject/lightning/pull/4304 +[#4295]: https://github.com/ElementsProject/lightning/pull/4295 +[#4259]: https://github.com/ElementsProject/lightning/pull/4259 +[#4211]: https://github.com/ElementsProject/lightning/pull/4211 +[#4207]: https://github.com/ElementsProject/lightning/pull/4207 +[#4307]: https://github.com/ElementsProject/lightning/pull/4307 +[#4236]: https://github.com/ElementsProject/lightning/pull/4236 +[#4247]: https://github.com/ElementsProject/lightning/pull/4247 +[#4250]: https://github.com/ElementsProject/lightning/pull/4250 +[#4220]: https://github.com/ElementsProject/lightning/pull/4220 +[#4319]: https://github.com/ElementsProject/lightning/pull/4319 +[#4227]: https://github.com/ElementsProject/lightning/pull/4227 +[#4256]: https://github.com/ElementsProject/lightning/pull/4256 +[#4279]: https://github.com/ElementsProject/lightning/pull/4279 +[#4278]: https://github.com/ElementsProject/lightning/pull/4278 +[#4307]: https://github.com/ElementsProject/lightning/pull/4307 +[#4250]: https://github.com/ElementsProject/lightning/pull/4250 +[#4311]: https://github.com/ElementsProject/lightning/pull/4311 +[#4320]: https://github.com/ElementsProject/lightning/pull/4320 +[#4311]: https://github.com/ElementsProject/lightning/pull/4311 +[#4226]: https://github.com/ElementsProject/lightning/pull/4226 +[#4259]: https://github.com/ElementsProject/lightning/pull/4259 +[#4317]: https://github.com/ElementsProject/lightning/pull/4317 +[#4263]: https://github.com/ElementsProject/lightning/pull/4263 +[#4295]: https://github.com/ElementsProject/lightning/pull/4295 +[#4296]: https://github.com/ElementsProject/lightning/pull/4296 +[#4307]: https://github.com/ElementsProject/lightning/pull/4307 +[#4237]: https://github.com/ElementsProject/lightning/pull/4237 +[#4277]: https://github.com/ElementsProject/lightning/pull/4277 +[#4278]: https://github.com/ElementsProject/lightning/pull/4278 +[#4243]: https://github.com/ElementsProject/lightning/pull/4243 +[#4282]: https://github.com/ElementsProject/lightning/pull/4282 +[v0.9.3rc1]: https://github.com/ElementsProject/lightning/releases/tag/v0.9.3rc1 + + + ## [0.9.2] - 2020-11-20: Now with 0-of-N Multisig This release named by Sergi Delgado Segura.