Skip to content

re-introduce Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor #3922

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

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Dec 8, 2021

motivation: preserve source compatibility

changes:

  • re-introduce Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor
  • mark Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor as @_disfavoredOverload to disambiguate from the extension on Range
  • add relevant API docs
  • fix a few typos in docs

rdar://86041332

…NextMinor

motivation: preserve source compatibility

changes:
* re-introduce Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor
* mark  Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor as @_disfavoredOverload to disambiguate from the extension on Range
* add relevant API docs
* fix a few typos in docs

rdar://86041332
@tomerd
Copy link
Contributor Author

tomerd commented Dec 8, 2021

@swift-ci please smoke test

@tomerd tomerd added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Dec 9, 2021
Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

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

LGTM

@tomerd tomerd merged commit b325031 into swiftlang:main Dec 9, 2021
tomerd added a commit to tomerd/swift-package-manager that referenced this pull request Dec 9, 2021
…NextMinor (swiftlang#3922)

motivation: preserve source compatibility

changes:
* re-introduce Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor
* mark  Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor as @_disfavoredOverload to disambiguate from the extension on Range
* add relevant API docs
* fix a few typos in docs

rdar://86041332
tomerd added a commit that referenced this pull request Dec 9, 2021
…NextMinor (#3922) (#3926)

motivation: preserve source compatibility

changes:
* re-introduce Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor
* mark  Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor as @_disfavoredOverload to disambiguate from the extension on Range
* add relevant API docs
* fix a few typos in docs

rdar://86041332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants