You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation:
Adding or raising the deployment platforms in the package manifest is a
SemVer major breaking change as consumers must also add or raise their
deployment platforms. This is a known limitation of SwiftPM.
Unforunately this means that it's very difficult for non-leaf packages
to adopt packages which declare their platforms in the manifest. Doing
so puts the brakes on adoption and ecosystem growth. For 'core' packages
like this one availability constraints should be expressed on
declarations rather than in the manifest.
Modifications:
- Remove platforms from the package manifest
- Add availability annotations to types which require it
Result:
This package can be more widely adopted
@@ -35,6 +36,7 @@ public struct GracefulShutdownTestTrigger: Sendable {
35
36
///
36
37
/// Call the code that you want to test inside the `operation` closure and trigger the graceful shutdown by calling ``GracefulShutdownTestTrigger/triggerGracefulShutdown()``
37
38
/// on the ``GracefulShutdownTestTrigger`` that is passed to the `operation` closure.
0 commit comments