-
Notifications
You must be signed in to change notification settings - Fork 942
Remove deprecations for 25.09 #8352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Remove deprecations for 25.09 #8352
Conversation
e56e905
to
dcea8e8
Compare
Changelog-Removed: Config: `max-locktime-blocks` (deprecated v24.05, disabled v25.02). Signed-off-by: Rusty Russell <[email protected]>
Changelog-Removed: Config: autodetection for rest-port/rest-protocol/rest-host/rest-certs options to clnrest-* (deprecated v23.11, disabled v25.02). Signed-off-by: Rusty Russell <[email protected]>
Signed-off-by: Rusty Russell <[email protected]> Changelog-Removed: JSON-RPC: `commando-rune`, `commando-listrunes`, `commando-blacklist` (deprecated v23.08, disabled v25.05).
Changelog-Removed: Config: `experimental-anchors` and `experimental-onion-messages` (deprecated 24.02 / 24.08, disabled v25.05). Signed-off-by: Rusty Russell <[email protected]>
dcea8e8
to
42cb85b
Compare
| commando-rune | Command | v23.08 | v25.02 | replaced with `lightning-createrune` | | ||
| commando-listrunes | Command | v23.08 | v25.02 | replaced with `lightning-showrunes` | | ||
| commando-blacklist | Command | v23.08 | v25.02 | replaced with `lightning-blacklistrune` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also remove the documentation related to the deprecated command types since they are being removed from the codebase. It will keep our documentation in sync with the codebase and remove references to functionality that is being removed.
I do not have a push permission for the PR but the changes should include:
-
Deleting the rpc schema files:
- ./doc/schemas/commando-rune.json
- ./doc/schemas/commando-listrunes.json
- ./doc/schemas/commando-blacklist.json
-
Updating the doc/Makefile to remove references to these commands:
diff --git a/doc/Makefile b/doc/Makefile
@@ -34,10 +34,7 @@ MARKDOWNPAGES := doc/addgossip.7 \
doc/checkmessage.7 \
doc/checkrune.7 \
doc/close.7 \
- doc/commando-blacklist.7 \
doc/commando.7 \
- doc/commando-listrunes.7 \
- doc/commando-rune.7 \
- Cleaning up the RPC examples test file:
diff --git a/tests/autogenerate-rpc-examples.py b/tests/autogenerate-rpc-examples.py
-IGNORE_RPCS_LIST = ['dev-splice', 'reckless', 'sql-template',
- # Deprecated, pending complete removal
- 'commando-rune', 'commando-listrunes', 'commando-blacklist']
+IGNORE_RPCS_LIST = ['dev-splice', 'reckless', 'sql-template']
@@ -469,43 +469,6 @@ def test_http_headers(node_factory): | |||
assert response.headers['Access-Control-Allow-Origin'] == 'http://192.168.1.10:1010' | |||
|
|||
|
|||
def test_old_params(node_factory): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the unused imports:
os
fromtest_clnrest.py
base64
fromtest_plugin.py
This is causing the pre-build step to fail.
Standard cleanup for things which have been disabled for at least one version.