Skip to content

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Oct 25, 2022

Motivation:

As 5.7 has shipped we no longer need to keep these APIs in _NIOBeta. We're going to do a two-stage removal: first we're going to move the APIs to NIOCore and keep them in _NIOBeta with deprecations on them. In a later release, we'll remove the APIs from _NIOBeta entirely.

Modifications:

  • Move the TimeAmount + Duration APIs to NIOCore
  • Deprecate the APIs in _NIOBeta.

Result:

We're on a path to remove _NIOBeta

Motivation:

As 5.7 has shipped we no longer need to keep these APIs in _NIOBeta.
We're going to do a two-stage removal: first we're going to move the
APIs to NIOCore and keep them in _NIOBeta with deprecations on them. In
a later release, we'll remove the APIs from _NIOBeta entirely.

Modifications:

- Move the TimeAmount + Duration APIs to NIOCore
- Deprecate the APIs in _NIOBeta.

Result:

We're on a path to remove _NIOBeta
@Lukasa Lukasa added the 🆕 semver/minor Adds new public API. label Oct 25, 2022
@FranzBusch
Copy link
Member

What about moving the tests as well?

@Lukasa
Copy link
Contributor Author

Lukasa commented Oct 25, 2022

Yup, I'm moving them to NIOCoreTests.

@Lukasa Lukasa requested a review from FranzBusch October 25, 2022 12:24
Copy link
Member

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

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

LGTM

@Lukasa Lukasa merged commit 522f08c into apple:main Oct 25, 2022
@Lukasa Lukasa deleted the cb-remove-nio-beta branch October 25, 2022 14:38
Lukasa added a commit to Lukasa/swift-nio that referenced this pull request Nov 21, 2022
Motivation:

Having deprecated the NIOBeta entrypoints in apple#2300, we can now safely
remove it.

Modifications:

Remove all source files in _NIOBeta
Remove the _NIOBeta product and target

Result:

We're ready for 5.8 work!
@Lukasa Lukasa mentioned this pull request Nov 21, 2022
Lukasa added a commit that referenced this pull request Nov 21, 2022
Motivation:

Having deprecated the NIOBeta entrypoints in #2300, we can now safely
remove it.

Modifications:

Remove all source files in _NIOBeta
Remove the _NIOBeta product and target

Result:

We're ready for 5.8 work!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants