Skip to content
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

release 0.28.1 #672

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

apoelstra
Copy link
Member

We need a new rust-secp release to deal with the new rust-secp-sys release.

@apoelstra
Copy link
Member Author

cc @Kixunil can you quickly ACK this?

@Kixunil
Copy link
Collaborator

Kixunil commented Jan 3, 2024

This shouldn't be required for the sys crate since it's not semver-breaking. (And while we did strictly change the API it was broken in the first place so I believe non-semver-breaking version was correct.)

TheBlueMatt
TheBlueMatt previously approved these changes Jan 3, 2024
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.

The changes between 60a5e36 and 940e56f LGTM, but are also only a version bump.

ACK 940e56f

Kixunil
Kixunil previously approved these changes Jan 3, 2024
Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 940e56f

@apoelstra
Copy link
Member Author

@Kixunil the change in -sys was semver-breaking because we changed the signature of a publicly-exposed FFI function. rust-secp assumed that signature, and was therefore broken by it.

@apoelstra
Copy link
Member Author

I do think this semver break is okay because it was a security-sensitive fix to an objectively wrong signature, which is why I'm updating rust-secp rather than reverting the change...but it is a semver break.

@apoelstra apoelstra dismissed stale reviews from Kixunil and TheBlueMatt via 0ed5a55 January 3, 2024 19:54
@apoelstra
Copy link
Member Author

Oops, need re-ack. I forgot to update the lockfiles.

Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

utACK 0ed5a55

@Kixunil
Copy link
Collaborator

Kixunil commented Jan 3, 2024

the change in -sys was semver-breaking

If it was then it should've been 0.10, not 0.9. :) But I claim it isn't since it was already broken. (Maybe subtly broken; this is in line with Rusts policy of fixing soundenss bugs which I believe is a great one.)

And since we didn't bump semver-majoor version this bump is not required but neither harmful. (And serialized signature is nice...)

Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 0ed5a55

@apoelstra
Copy link
Member Author

And since we didn't bump semver-majoor version this bump is not required but neither harmful. (And serialized signature is nice...)

It is required because we broke compilation of rust-secp :).

@apoelstra apoelstra closed this Jan 3, 2024
@apoelstra apoelstra merged commit a771f6c into rust-bitcoin:master Jan 3, 2024
20 checks passed
@apoelstra apoelstra deleted the 2024-01--fix-secp branch January 3, 2024 19:58
@apoelstra
Copy link
Member Author

Tagged, published, and yanked 0.28.0.

@Kixunil
Copy link
Collaborator

Kixunil commented Jan 3, 2024

Oh, I see now, didn't realize the previous change updated stuff in non-sys crate too.

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.

4 participants