All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
init() methods now throwReachabilityError contains the error code returned by SCError() after an error occurs.Renamed error cases to start with lowercase
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 a crash which could occur if Reachability was deallocated at the same time a system thread was calling back into Reachability
Link CoreTelephony.framework required in iOS 12 (@corteggo)
Updates for Swift 5.0 (@simonboriis)
strongSelf -> self (@strawb3rryx7)
connection called before startNotifier (https://github.com/ashleymills/Reachability.swift/issues/307)Notification.Name.reachabilityChanged is publicqueueQoS and targetQueue to init(reachabilityRef: SCNetworkReachability, queueQoS: DispatchQoS = .default, targetQueue: DispatchQueue? = nil)queueQoS and targetQueue to init?(hostname: String, queueQoS: DispatchQoS = .default, targetQueue: DispatchQueue? = nil)queueQoS and targetQueue to init?(queueQoS: DispatchQoS = .default, targetQueue: DispatchQueue? = nil)NetworkStatus renamed ConnectioncurrentReachabilityStatus renamed connectionisReachableViaWWAN has been renamed to isReachableViaCellularreachableOnWWAN has been renamed to allowsCellularConnectionReachabilityChangedNotification to Notification.Name.reachabilityChangedstartNotifier() is called)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.