Skip to content

Conversation

Mark-Simulacrum
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum commented Sep 7, 2025

cc @rust-lang/release

Rendered

@Mark-Simulacrum
Copy link
Member Author

@rustbot ping relnotes-interest-group

@rustbot
Copy link
Collaborator

rustbot commented Sep 7, 2025

Hi relnotes-interest-group, this PR adds a release blog post. Could you review
the blog post if you have time? Thanks <3

cc @alex-semenyuk @jieyouxu @joshtriplett @Kobzol @lcnr @traviscross

Co-authored-by: Jakub Beránek <berykubik@gmail.com>
the crates in a workspace in the right order (following any dependencies
between them). This has long been possible with external tooling or manual
ordering of individual publishes, but this brings the functionality into Cargo
itself.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we call out the caveat that the publish is not atomic and network or server side errors can leave you in a partially published state?

This is true for existing workarounds but people might have a different expectation with it built in.

`cargo publish --workspace` is now supported, automatically publishing all of
the crates in a workspace in the right order (following any dependencies
between them). This has long been possible with external tooling or manual
ordering of individual publishes, but this brings the functionality into Cargo
Copy link
Contributor

Choose a reason for hiding this comment

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

If we are comparing to existing approaches, is it worth it to call out how this improves on those?

The biggest change is in the verify step which can verify everything before publishing

  • for a real publish, this reduces the chance of it failing in a partially published state
  • for dry-run, you can now run the verify

Co-authored-by: Jakub Beránek <berykubik@gmail.com>
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.

7 participants