Skip to content

schemas: remove old deprecations, add missing deprecations/added fields#9136

Merged
madelinevibes merged 1 commit into
ElementsProject:masterfrom
daywalker90:schema-fixed-2606
May 20, 2026
Merged

schemas: remove old deprecations, add missing deprecations/added fields#9136
madelinevibes merged 1 commit into
ElementsProject:masterfrom
daywalker90:schema-fixed-2606

Conversation

@daywalker90
Copy link
Copy Markdown
Collaborator

I noticed some newly added fields were missing their added attribute and then i noticed some other things so i went through all of them and cleaned them up as much as i could.

There were some old fields where the deprecation cycle was over but they were not removed. I also checked the c code where the json is constructed to see if they are still present. They were not or behind the deprecation code logic, so it should be fine. I found some related code outside of the json methods for the delayed_to_us and htlc_resolution feerates, not sure if that needs removal or not.

Also made fields not go optional if they are deprecated in the case that their parent is also deprecated. This makes more sense imo when you deprecate a whole command.

I added deprecation annotation for the .proto file as well so that later in the convert.rs file it properly annotates everything to allow for deprecated stuff.

Also fixed one propagation bug for the added/deprecated fields, that's why there are some additional changes of some fields.

@daywalker90 daywalker90 added this to the v26.06 milestone May 14, 2026
@daywalker90 daywalker90 requested a review from cdecker as a code owner May 14, 2026 16:16
@daywalker90 daywalker90 added Status::Ready for Review The work has been completed and is now awaiting evaluation or approval. 26.06 RC wasn't ready in time for RC1 26.06 so MP moved it off the milestone but can we squeeze it to RC2 labels May 14, 2026
@daywalker90 daywalker90 force-pushed the schema-fixed-2606 branch 2 times, most recently from b94286f to c1f402a Compare May 14, 2026 17:27
@nsabedra27-glitch
Copy link
Copy Markdown

No conflicts

Comment thread doc/schemas/wait.json
Comment thread lightningd/wait.c
Comment thread lightningd/peer_control.c
@daywalker90 daywalker90 force-pushed the schema-fixed-2606 branch 2 times, most recently from 665d7cc to 29e6414 Compare May 18, 2026 06:30
Also made fields not go optional if they are deprecated in the case that their parent is also deprecated. This makes more sense imo when you deprecate a whole command.

I added deprecation annotation for the .proto file as well so that later in the convert.rs file it properly annotates everything to allow for deprecated stuff.

Also fixed one propagation bug for the added/deprecated fields, that's why there are some additional changes of some fields.

Changelog-None
@daywalker90
Copy link
Copy Markdown
Collaborator Author

Updated the .md, restored WaitDetails and removed the channel_state_changed unknown field in lightningd/notification.c

@madelinevibes madelinevibes merged commit 938bdea into ElementsProject:master May 20, 2026
86 of 90 checks passed
@daywalker90 daywalker90 deleted the schema-fixed-2606 branch May 20, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

26.06 RC wasn't ready in time for RC1 26.06 so MP moved it off the milestone but can we squeeze it to RC2 Status::Ready for Review The work has been completed and is now awaiting evaluation or approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants