Skip to content

v5.0.0

Compare
Choose a tag to compare
@1ec5 1ec5 released this 05 Nov 09:51
· 10 commits to master since this release
cf0e3a1

Changes since v4.2.1:

Packaging

  • This library is now written in Swift 5. (#57)
  • Removed support for iOS 8 and 9, macOS 10.10 and 10.11, tvOS 9, and watchOS 2. This library now requires iOS 10.0 or above, macOS 10.12.0 or above, tvOS 10.0 or above, or watchOS 3.0 or above to run. (#63)
  • Added compatibility with Linux. Initializers, methods, and properties that rely on MapKit or Core Location’s CLLocation class are not supported on Linux. (#55)
  • Fixed an error when linking the library to an iOS application extension. (#56)
  • Enabled library evolution (module stability) in Release configuration. (#64)

Other changes

  • The Polyline(coordinates:levels:precision:) initializer, Polyline.coordinates property, encodeCoordinates(_:precision:) function, and decodePolyline(_:precision:) function use a LocationCoordinate2D instead of a CLLocationCoordinate2D. On Apple platforms, LocationCoordinate2D is a type alias for CLLocationCoordinate2D, so you can continue to use these symbols just like in v4.x. On Linux, LocationCoordinate2D is a struct that does not depend on Core Location. (#55)