Turf Swift Versions Save

A Swift language port of Turf.js.

v2.8.0

3 months ago

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

4 months ago

Changes since v2.7.0:

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

Documentation is available online or within Xcode.

v2.7.0

8 months ago

Changes since v2.6.1:

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

Documentation is available online or within Xcode.

v2.6.1

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

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

2 years ago

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

2 years ago

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.

v2.2.0

2 years ago

Changes since v2.1.0:

  • The Feature, FeatureCollection, GeometryCollection, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, and Polygon structs now conform to the ForeignMemberContainer protocol. Foreign members (unrecognized properties outside of properties) are stored in the ForeignMemberContainer.foreignMembers property and round-tripped to JSON. (#175)
  • Ring now conforms to the Codable protocol. (#175)

Documentation is available online or within Xcode.