Skip to content

[bitreq] Make Url::append_query_pairs and preserve_fragment_from public methods#500

Open
tnull wants to merge 2 commits intorust-bitcoin:masterfrom
tnull:2026-02-pub-query-pairs
Open

[bitreq] Make Url::append_query_pairs and preserve_fragment_from public methods#500
tnull wants to merge 2 commits intorust-bitcoin:masterfrom
tnull:2026-02-pub-query-pairs

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Feb 11, 2026

We previously considered append_query_pairs and
preserve_fragment_from only internal methods and hence made them only pub when fuzzing.

Unfortunately it turns out that they are very useful and we need them for downstream migration, so here we make them pub for everybody.

We previously considered `append_query_pairs` and
`preserve_fragment_from` only internal methods and hence made them only
`pub` when fuzzing.

Unfortunately it turns out that they are very useful and we need them
for downstream migration, so here we make them `pub` for everybody.
@tnull
Copy link
Collaborator Author

tnull commented Feb 11, 2026

@TheBlueMatt unfortunately found we need this to switch vss-client, so might need another patch release for it :(

@tnull tnull changed the title [bitreq] Make append_query_pairs and preserve_fragment_from pub [bitreq] Make Url::append_query_pairs and preserve_fragment_from public methods Feb 11, 2026
tnull added a commit to tnull/corepc that referenced this pull request Feb 11, 2026
When switching a downstream dependency to `Url` we unfortunately
discovered that we need the changes in rust-bitcoin#500. Here we therefore cut
another patch release to get them out.
tnull added a commit to tnull/corepc that referenced this pull request Feb 11, 2026
When switching a downstream dependency to `Url` we unfortunately
discovered that we need the changes in rust-bitcoin#500. Here we therefore cut
another patch release to get them out.
@tnull tnull requested a review from TheBlueMatt February 11, 2026 13:00
@TheBlueMatt
Copy link
Member

CI is sad.

@tnull tnull force-pushed the 2026-02-pub-query-pairs branch from a215706 to 0736073 Compare February 11, 2026 14:27
@tnull
Copy link
Collaborator Author

tnull commented Feb 11, 2026

CI is sad.

Should be fixed.

Copy link
Member

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0736073

tcharding
tcharding previously approved these changes Feb 12, 2026
Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0736073

@tcharding
Copy link
Member

tcharding commented Feb 12, 2026

Clippy wants all the into() calls removing off the static strings now.

@tcharding
Copy link
Member

I have 4 hours left today, I can re-ack and merge this if you push the lint changes. And then cut the release.

Signed-off-by: Elias Rohrer <dev@tnull.de>
@tnull
Copy link
Collaborator Author

tnull commented Feb 12, 2026

Clippy wants all the into() calls removing off the static strings now.

Grr, didn't catch that as I only ran cargo +nightly clippy locally, not the full command we use in CI.

Anyways, amended the last commit to remove the into()s.

Copy link
Member

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK cb8d981

tnull added a commit to tnull/corepc that referenced this pull request Feb 12, 2026
When switching a downstream dependency to `Url` we unfortunately
discovered that we need the changes in rust-bitcoin#500. Here we therefore cut
another patch release to get them out.

Signed-off-by: Elias Rohrer <dev@tnull.de>
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.

3 participants