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

[gardening] Remove old unavailable APIs #551

Merged
merged 3 commits into from
Nov 11, 2017
Merged

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented Nov 10, 2017

Checklist

  • [ ] Updated CHANGELOG.md.

@ikesyo ikesyo added this to the 3.0 milestone Nov 10, 2017

@available(*, unavailable, renamed:"BindingSource")
public typealias BindingSourceProtocol = BindingSource
// MARK: Deprecated types in ReactiveSwift 2.x.
Copy link
Contributor

Choose a reason for hiding this comment

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

This probably shouldn't say 2.x?

public static func += (left: Lifetime, right: () -> Void) -> Disposable? { fatalError() }

@discardableResult
@available(*, deprecated, message:"Use `observeEnded(_:)` with a method reference to `dispose()` instead. This method is subject to removal in a future release.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this one was only deprecated, it should stay until the next major version and become unavailable.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh overlooked that 🙈

Copy link
Member Author

Choose a reason for hiding this comment

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

Addressed in 0a378cb

@mdiep
Copy link
Contributor

mdiep commented Nov 10, 2017

Thanks for cleaning this out. ✨

@andersio andersio merged commit 6a6e93b into master Nov 11, 2017
@andersio andersio deleted the remove-old-unavailable-apis branch November 11, 2017 18:59
andersio pushed a commit that referenced this pull request Nov 11, 2017
* [gardening] Remove old unavailable APIs

* Restore `Lifetime.add(_:)` as an unavailable method

* Tweak
andersio pushed a commit that referenced this pull request Nov 11, 2017
* [gardening] Remove old unavailable APIs

* Restore `Lifetime.add(_:)` as an unavailable method

* Tweak
andersio added a commit that referenced this pull request Nov 11, 2017
* [gardening] Remove old unavailable APIs

* Restore `Lifetime.add(_:)` as an unavailable method

* Tweak
andersio added a commit that referenced this pull request Nov 24, 2017
* Enable CI for base branches with `release(-|\/)` prefixes.

* [gardening] Remove old unavailable APIs (#551) (#554)

* [gardening] Remove old unavailable APIs

* Restore `Lifetime.add(_:)` as an unavailable method

* Tweak

* Update project build schemes and settings. (#553)

* [skip ci] Update the documentation.

* 3.0.0
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.

None yet

3 participants