All Versions
10
Latest Version
Avg Release Cycle
88 days
Latest Release
212 days ago

Changelog History

  • v5.0.0

    June 19, 2019

    Thanks to:

    • @p4checo
    • @connorpower

    🔄 Changed

    • init() methods now throw
    • ReachabilityError contains the error code returned by SCError() after an error occurs.
    • 📇 Renamed error cases to start with lowercase ### ➕ Added
    • 👍 Allow configuring the notification DispatchQueue, which was previously hardcoded to DispatchQueue.main. It is now an optional, which if set to nil will use the notifier's internal queue to fire notifications. The default is still .main ### 🛠 Fixed
    • 🛠 Fixed a crash which could occur if Reachability was deallocated at the same time a system thread was calling back into Reachability ### 🗄 Deprecated
    • 🗄 To resolve an issue when using optional Reachability vars, Connection.none has been deprecated. Use Connection.unavailable instead.
  • v5.0.0-beta1

    June 19, 2019
  • v4.3.1

    March 28, 2019

    ⚡️ Swift 5.0 updates

    Thanks to @simonboriis, @strawb3rryx7, @corteggo for their PRs

  • v4.3.0

    October 02, 2018

    🔄 Changed

    • ⚡️ Updates for Swift 4.2
  • v4.2.1

    August 30, 2018

    🛠 Fixed

    • Set reachabilty flags if connection called before startNotifier (#307)
  • v4.2.0

    August 29, 2018

    🔄 Changed

    • 👉 Use a single target for all platforms
    • ✅ Add ReachabilityTests target
    • ✂ Remove logging
    • Notification.Name.reachabilityChanged is public
    • ➕ Added optional queueQoS and targetQueue to init(reachabilityRef: SCNetworkReachability, queueQoS: DispatchQoS = .default, targetQueue: DispatchQueue? = nil)
    • ➕ Added optional queueQoS and targetQueue to init?(hostname: String, queueQoS: DispatchQoS = .default, targetQueue: DispatchQueue? = nil)
    • ➕ Added optional queueQoS and targetQueue to init?(queueQoS: DispatchQoS = .default, targetQueue: DispatchQueue? = nil)
    • 🚀 Move macOS deployment target to 10.10
  • v4.1.0

    October 10, 2017

    🔄 Changed

    • 🔖 Version update only to fix Cocoapods issue
  • v4.0.0

    October 10, 2017

    🔄 Changed

    • NetworkStatus renamed Connection
    • currentReachabilityStatus renamed connection
    • isReachableViaWWAN has been renamed to isReachableViaCellular
    • reachableOnWWAN has been renamed to allowsCellularConnection
    • The notification for reachability changes has been renamed from ReachabilityChangedNotification to Notification.Name.reachabilityChanged
    • All closure callbacks and notification are fired on the main queue (including when startNotifier() is called)

    🗄 Deprecated

    • 🗄 reachability.currentReachabilityString has been deprecated. Use "\(reachability.connection)" instead.
    • 🗄 isReachable has been deprecated. Use connection != .none instead.
    • 🗄 isReachableViaWWAN has been deprecated. Use connection == .cellular instead.
  • v3.0

    September 14, 2016
  • v2.4

    September 15, 2016