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

1.0 release planning #753

Closed
21 tasks done
sunfishcode opened this issue Jul 19, 2023 · 29 comments
Closed
21 tasks done

1.0 release planning #753

sunfishcode opened this issue Jul 19, 2023 · 29 comments
Labels
semver bump Issues that will require a semver-incompatible fix

Comments

@sunfishcode
Copy link
Member

sunfishcode commented Jul 19, 2023

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
@notgull

This comment was marked as resolved.

@sunfishcode sunfishcode added the semver bump Issues that will require a semver-incompatible fix label Sep 29, 2023
@sunfishcode

This comment was marked as resolved.

@sunfishcode sunfishcode changed the title 0.39 release planning 1.0 release planning Oct 22, 2023
@sunfishcode

This comment was marked as resolved.

@notgull

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@SUPERCILEX

This comment was marked as resolved.

@morr0ne

This comment was marked as resolved.

@sunfishcode

This comment was marked as resolved.

@SUPERCILEX

This comment has been minimized.

@SUPERCILEX

This comment was marked as resolved.

@sunfishcode

This comment was marked as resolved.

@SUPERCILEX

This comment has been minimized.

@SUPERCILEX

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@raftario

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@SUPERCILEX

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@SUPERCILEX

This comment has been minimized.

sunfishcode added a commit that referenced this issue Jan 25, 2025
As discussed [here], use generic parameters instead of impl trait
argumentst.

[here]: #753 (comment)
@sunfishcode

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@sunfishcode

This comment has been minimized.

@sunfishcode
Copy link
Member Author

sunfishcode commented Feb 26, 2025

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.

@SUPERCILEX
Copy link
Contributor

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

@Stebalien
Copy link
Contributor

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

@sunfishcode
Copy link
Member Author

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.

@sunfishcode
Copy link
Member Author

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
Labels
semver bump Issues that will require a semver-incompatible fix
Projects
None yet
Development

No branches or pull requests

6 participants