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

Remove numerous things deprecated during the 0.14 release cycle #23096

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linusg
Copy link
Collaborator

@linusg linusg commented Mar 5, 2025

Basically everything that has a direct replacement or no uses left.

Notable omissions:

  • std.ArrayHashMap: Too much fallout, needs a separate cleanup.
  • std.Build top level fields moved to root_module: Too much fallout, needs a separate cleanup.
  • std.debug.runtime_safety: Too much fallout.
  • std.heap.GeneralPurposeAllocator: Lots of references to it remain, not a simple find and replace as "debug allocator" is not equivalent to "general purpose allocator".
  • std.io.Reader: Is being reworked at the moment.
  • std.unicode.utf8Decode(): No replacement, needs a new API first.
  • Manifest backwards compat options: Removal would break test data used by TestFetchBuilder.
  • panic handler needs to be a namespace: Many tests still rely on it being a function, needs a separate cleanup.

@linusg linusg force-pushed the remove-deprecated-stuff branch 3 times, most recently from a0caa49 to 94eaa05 Compare March 5, 2025 03:41
@andrewrk
Copy link
Member

andrewrk commented Mar 5, 2025

Note that it will be strategic to wait to land this until 0.14.1 is cut, otherwise it has a high chance to cause unnecessary conflicts in the 0.14.x branch.

@linusg linusg marked this pull request as draft March 5, 2025 03:43
@linusg linusg force-pushed the remove-deprecated-stuff branch 5 times, most recently from f4b8414 to 2b61827 Compare March 5, 2025 05:15
Basically everything that has a direct replacement or no uses left.

Notable omissions:

- std.ArrayHashMap: Too much fallout, needs a separate cleanup.
- std.Build top level fields moved to root_module: Too much fallout,
  needs a separate cleanup.
- std.debug.runtime_safety: Too much fallout.
- std.heap.GeneralPurposeAllocator: Lots of references to it remain, not
  a simple find and replace as "debug allocator" is not equivalent to
  "general purpose allocator".
- std.io.Reader: Is being reworked at the moment.
- std.unicode.utf8Decode(): No replacement, needs a new API first.
- Manifest backwards compat options: Removal would break test data used
  by TestFetchBuilder.
- panic handler needs to be a namespace: Many tests still rely on it
  being a function, needs a separate cleanup.
@linusg linusg force-pushed the remove-deprecated-stuff branch from 2b61827 to 74eec33 Compare March 5, 2025 08:22
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.

2 participants