Skip to content

Releases: mapbox/turf-swift

v3.0.0

27 Aug 12:50
1997fb3
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Remove public RawRepresentable conformances by @OdNairy in #219

The 3.0 version removes the public conformance of RawRepresentable for Array and Dictionary system types. If you were relying on the init(rawValue:) function or rawValue property, you can use the substitution instead:

  • init(rawValue:) -> init(turfRawValue:)
  • rawValue -> turfRawValue

Other changes

Full Changelog: v2.8.0...v3.0.0

Documentation is available online or within Xcode.

v2.8.0

23 Jan 10:48
Compare
Choose a tag to compare

Changes since v2.7.1:

  • Added support for VisionOS (#213).
  • Minimum Xcode requirement bumped to 14.1.0 (Swift 5.7) (#213).

Note

VisionOS is not supported via CocoaPods distribution.

Documentation is available online or within Xcode.

v2.7.1

12 Jan 10:03
42926cf
Compare
Choose a tag to compare

Changes since v2.7.0:

  • Public API types are marked with Sendable. (#211)

Documentation is available online or within Xcode.

v2.7.0

30 Aug 11:49
f0afe20
Compare
Choose a tag to compare

Changes since v2.6.1:

  • Added support for Well-Known text format. (#204)

Documentation is available online or within Xcode.

v2.6.1

04 Nov 07:57
87b5b37
Compare
Choose a tag to compare

Changes since v2.6.0:

  • Removed unused schemes to fix a build failure when installing this library using Carthage. (#201)

Documentation is available online or within Xcode.

v2.6.0

03 Nov 15:38
5c09ad9
Compare
Choose a tag to compare

Changes since v2.5.0:

Packaging

  • This library now requires a minimum deployment target of iOS 11.0 or above, macOS 10.13.0 or above, tvOS 11.0 or above, or watchOS 4.0 or above. Older operating system versions are no longer supported. (#198)

Documentation is available online or within Xcode.

v2.6.0-beta.1

21 Oct 21:38
2a6db53
Compare
Choose a tag to compare
v2.6.0-beta.1 Pre-release
Pre-release

Changes since v2.5.0:

Packaging

  • This library now requires a minimum deployment target of iOS 11.0 or above, macOS 10.13.0 or above, tvOS 11.0 or above, or watchOS 4.0 or above. Older operating system versions are no longer supported. (#198)

v2.5.0

11 Aug 13:24
dbc07b0
Compare
Choose a tag to compare

Changes since v2.4.0:

  • Improved the algorithmic performance of LineString.trimmed(from:to:). (#192)

Documentation is available online or within Xcode.

v2.4.0

12 Apr 10:36
569e0f0
Compare
Choose a tag to compare

Changes since v2.3.0:

  • Foreign members in GeoJSON are no longer encoded or decoded by default for performance reasons. To enable encoding or decoding of foreign members, set the CodingUserInfoKey.includesForeignMembers option to true in JSONEncoder.userInfo or JSONDecoder.userInfo, respectively. (#187)

Documentation is available online or within Xcode.

v2.3.0

03 Mar 23:51
Compare
Choose a tag to compare

Changes since v2.2.0:

  • Fixed an issue where a GeoJSON feature property set to the integer 0 or 1 was converted to a Boolean when encoding or decoding the feature. (#181)

Documentation is available online or within Xcode.