Skip to content

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rustyrussell
Copy link
Contributor

Standard cleanup for things which have been disabled for at least one version.

@rustyrussell rustyrussell added this to the v25.09 milestone Jun 13, 2025
@rustyrussell rustyrussell force-pushed the guilt/remove-deprecations-25.09 branch 2 times, most recently from e56e905 to dcea8e8 Compare June 13, 2025 02:48
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]>
@ShahanaFarooqui ShahanaFarooqui force-pushed the guilt/remove-deprecations-25.09 branch from dcea8e8 to 42cb85b Compare June 13, 2025 11:34
Comment on lines -15 to -17
| 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` |
Copy link
Collaborator

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:

  1. Deleting the rpc schema files:

    • ./doc/schemas/commando-rune.json
    • ./doc/schemas/commando-listrunes.json
    • ./doc/schemas/commando-blacklist.json
  2. 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 \
  1. 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):
Copy link
Collaborator

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 from test_clnrest.py
  • base64 from test_plugin.py

This is causing the pre-build step to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants