Skip to content

1.0 release planning #753

Description

@sunfishcode

Here's a planning issue for a 1.0 release, similar to the one for the 0.38 release. Hopefully we won't need a semver bump for a good long while, but when we do, here's the list of changes we can make:

Deferring for now:

  • move rustix::thread sleep functions into a new rustix::sleep module, because they're usable from single-threaded programs too
  • Move Dir into its own crate, and have rustix export getdents directly?
  • Split open and openat into separate functions for "create" which needs a mode vs. "open existing" which doesn't need a mode?
  • Make RecvAncillaryBuffer::drain always remove all messages, even if the iterator isn't exhausted. With that, we can remove the read_and_length in AncillaryDrain.
  • Replace rustix::cstr! with something like rustix::nativestr! so that users don't hard code "native strings are C strings" in their code?
  • rename Arg::as_str to avoid "a method with this name may be added to the standard library in the future" warnings
  • rustix::process::waitpid has no way to wait for specific process groups (Pid now requires non-negative values). waitpgid has been added as a temporary workaround.
  • remove libc from the public API (Port 1.0-staging to main #1152) (Remove most linux-raw-sys types from the public API #1277)

Don't do these:

  • set_ip_add_membership/get_ip_add_membership should take address and ifindex arguments and *_with_ifindex should be removed.
  • Rename ClockId::Uptime on FreeBSD to Boottime, since it's an alias

Activity

  1. notgull commented on Aug 6, 2023

    @notgull
  2. sunfishcode commented on Oct 1, 2023

    @sunfishcode
    Author
  3. changed the title [-]0.39 release planning[/-] [+]1.0 release planning[/+] on Oct 22, 2023
  4. sunfishcode commented on Oct 22, 2023

    @sunfishcode
    Author
  5. notgull commented on Oct 22, 2023

    @notgull
  6. sunfishcode commented on Oct 22, 2023

    @sunfishcode
    Author
  7. SUPERCILEX commented on Dec 5, 2023

    @SUPERCILEX
  8. rosymati commented on Dec 5, 2023

    @rosymati
  9. sunfishcode commented on Jan 16, 2024

    @sunfishcode
    Author
  10. SUPERCILEX commented on Feb 16, 2024

    @SUPERCILEX
  11. SUPERCILEX commented on Aug 15, 2024

    @SUPERCILEX
  12. sunfishcode commented on Aug 15, 2024

    @sunfishcode
    Author
  13. SUPERCILEX commented on Aug 15, 2024

    @SUPERCILEX
  14. SUPERCILEX commented on Aug 16, 2024

    @SUPERCILEX
  15. 4 remaining items

  16. sunfishcode commented on Jan 23, 2025

    @sunfishcode
    Author
  17. SUPERCILEX commented on Jan 23, 2025

    @SUPERCILEX
  18. sunfishcode commented on Jan 23, 2025

    @sunfishcode
    Author
  19. SUPERCILEX commented on Jan 23, 2025

    @SUPERCILEX
  20. sunfishcode commented on Jan 27, 2025

    @sunfishcode
    Author
  21. sunfishcode commented on Feb 16, 2025

    @sunfishcode
    Author
  22. sunfishcode commented on Feb 26, 2025

    @sunfishcode
    Author
  23. sunfishcode commented on Feb 26, 2025

    @sunfishcode
    MemberAuthor

    I've now published rustix 1.0.0-prerelease.1. Please test out the prerelease, and please comment on if there are any problems or if there are any changes we should consider before releasing 1.0.

    I've documented all the API changes I'm aware of here; please let me know if anything there is unclear or if there's something not covered.

  24. SUPERCILEX commented on Feb 27, 2025

    @SUPERCILEX
    Contributor

    Just did the upgrade in Ringboard and it went pretty smoothly: SUPERCILEX/clipboard-history@28109d2

  25. Stebalien commented on Mar 4, 2025

    @Stebalien
    Contributor

    I've tested on both tempfile and xattr and I've seen no real issues.

  26. sunfishcode commented on Mar 5, 2025

    @sunfishcode
    MemberAuthor

    Thanks for the reports! I've now done more testing too, and fixed a few issues that came up. I think everything is ready for a 1.0.0 release. I'm thinking of doing the release two days from now, unless any problems surface.

  27. sunfishcode commented on Mar 6, 2025

    @sunfishcode
    MemberAuthor

    Rustix 1.0.0 is now released! Thanks to everyone who helped submit patches, bug reports, code reviews, and testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    semver bumpIssues that will require a semver-incompatible fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions