Skip to content

Releases: raphaelmor/Polyline

v5.1.0

13 Sep 21:03
Compare
Choose a tag to compare

Changes since v5.0.3:

  • Removed support for iOS 10 and 11, macOS 10.12 and 10.13, tvOS 10 and 11, and watchOS 3 and 4. This library now requires iOS 12.0 or above, macOS 10.14.0 or above, tvOS 12.0 or above, or watchOS 5.0 or above to run. (#78)

v5.0.3

09 Mar 20:09
Compare
Choose a tag to compare

Changes since v5.0.2:

  • Fixed an Xcode project warning when installing this library using Swift Package Manager. (#75)

v5.0.2

06 Nov 21:48
Compare
Choose a tag to compare

Changes since v5.0.1:

  • Fixed undefined behavior and random crashes when calling the decodePolyline(_:precision:) function on Linux. (#71)

v5.0.1

06 Nov 02:42
Compare
Choose a tag to compare

Changes since v5.0.0:

  • Added CLLocationCoordinate2D.latitude and CLLocationCoordinate2D.longitude properties on Linux for consistency with Core Location on Apple platforms. (#69)

v5.0.0

05 Nov 09:51
cf0e3a1
Compare
Choose a tag to compare

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)

v4.2.1

15 Apr 23:15
Compare
Choose a tag to compare

Changes since v4.2.0:

  • Added support for Swift Package Manager. (#51)

4.2.0

20 Sep 14:32
Compare
Choose a tag to compare
  • Support Swift 4.0

v4.1.1

12 Mar 05:14
Compare
Choose a tag to compare

Changes since v4.1.0:

  • Fixed tvOS and watchOS builds. (#40)
  • Fixed a Swift 3.1 compiler warning. (#43)

v4.1.0

12 Mar 05:12
Compare
Choose a tag to compare

Changes since v4.0.0:

  • Added a method to convert a polyline to an MKPolyline. (#39)
  • Fixed watchOS builds of this library via Carthage. (#38)

4.0.0: Swift 3.0 support

21 Sep 18:38
Compare
Choose a tag to compare

The 4.x series will only support Swift 3.0.