Connectivity Versions Save

🌐 Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.

6.1.1

7 months ago

[6.1.1] - 2023-09-23

Changed

  • Added the connectivityURLs property back as this was a breaking change see issue #78.

6.1.0

8 months ago

[6.1.0] - 2023-09-12

Added

  • Connectivity property connectivityURLs: [URL] swapped to connectivityURLRequests: [URLRequest]. The framework now uses URLRequest primarily throughout. Suggestion by @brunomiguens - https://github.com/rwbutler/Connectivity/issues/67.
  • URLRequest objects used for connectivity checks may not be configured via configuration initialiser or via the fluent configuration API e.g.
    ConnectivityConfiguration() .configureConnectivity(urlRequests: [ URLRequest(...) ])
  • URL objects may still be used rather than URLRequesd objects via the fluent configuration API only e.g.
    ConnectivityConfiguration() .configureConnectivity(urls: [ URL(...) ])
    
    

Changed

  • Changed the default framework used to monitor network interface changes to .network. To continue using the System Configuration (Apple's Reachability) framework for monitoring network interface changes set the framework property to .systemConfiguration.
  • Fixed a typo in ConnectivityConfiguration. validationMode was incorrectly spelt as validatioMode.

6.0.0

1 year ago

[6.0.0] - 2023-03-09

Added

Changed

  • iOS deployment target updated to iOS 11.0 (dropped support for iOS 9.0 and 10.0 in-line with Xcode 14).
  • macOS deployment target updated to macOS 10.13.
  • Fixed being unable to set bearerToken, framework and validationMode using the configuration object (thanks to Nils Bergmann - see https://github.com/rwbutler/Connectivity/pull/73).

5.3.1

1 year ago

5.3.0

2 years ago

What's new in Connectivity 5.3.0?

Connectivity 5.3.0 provides a new fluent interface for configuring the Connectivity framework. See Configuration for more information.

This allows you to configure the framework when making use of Combine publishers e.g.

let publisher = Connectivity.Publisher(
    configuration:
					.init()
          .configureURLSession(.default)
)

5.2.0

2 years ago

Added

  • Fluent configuration API: Connectivity may now be configured by passing a ConnectivityConfiguration object to the initializer.

Changed

  • Internal DispatchQueue used by the framework now uses .default QOS rather than .background.

5.1.1

2 years ago

Changed

  • Updated to Xcode 13.3.1 and resolved warnings.

5.1.0

2 years ago

Added

  • Support for determining connection state of Ethernet connections.

Changed

  • Support compilation under Xcode 12.5.1.
  • OHHTTPStubs 8.0.0 -> 9.1.0 for testing
  • Updated documentation in README.md
  • Headers search path added to Package.swift with thanks to @larryonoff

5.0.0

3 years ago

Added

  • Support for Xcode 12.

Changed

  • Dropped support for iOS 8

4.2.0

3 years ago

Added

  • Support for macOS.

Changed

  • Fixes Swift Package Manager integration.