---
title: "Turf 3.0.0 Breaking Changes on CocoaPods | Since.dev"
description: "What each Turf release removed, renamed or changed: 34 breaking changes in 8 versions on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/Turf
last_updated: 2026-12-04
---

# Turf breaking changes

Turf 3.0.0 is its newest release with breaking changes, 3 of them. The first: Removed init. Every breaking API change we have recorded in Turf on CocoaPods: 34 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.1.0`, released October 13, 2026. [Source repository](https://github.com/mapbox/turf-swift)

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 3 breaking changes in 1 version.
- From [0.1.0](#v-0-1-0) to [3.0.0](#v-3-0-0): 33 breaking changes in 7 versions.

## Turf 3.0.0 breaking changes

Turf 3.0.0: 3 breaking changes.

- **Removed** `init`  

Code calling init(rawValue:) on Array or Dictionary must switch to init(turfRawValue:). [github.com](https://github.com/mapbox/turf-swift/releases/tag/v3.0.0)
- **Removed** `RawRepresentable`  

The public RawRepresentable conformance for Array and Dictionary is removed. Use init(turfRawValue:) instead of init(rawValue:), and turfRawValue instead of rawValue. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v3.0.0)
- **Removed** `rawValue`  

Code reading rawValue on Array or Dictionary must switch to turfRawValue. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v3.0.0)

## Turf 2.0.0 breaking changes

Turf 2.0.0: 6 breaking changes.

- **Removed** `CLLocationCoordinate2D`  

On Linux use LocationCoordinate2D and related types; Apple platforms keep the CL-prefixed aliases. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0)
- **Renamed** `BoundingBox`  

Use BoundingBox(southWest:northEast:) instead. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0)
- **Behavior changed** `RadianCoordinate2D.direction`  

Code expecting RadianDirection must be updated to use Measurement\<UnitAngle>. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0)
- **Configuration changed**  

Users building from source need Xcode 12.0 or above. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0)
- **Configuration changed**  

Carthage installs now build the library with library evolution enabled. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0)
- **Signature changed** `RadianCoordinate2D.coordinate`  

The facing parameter is now Measurement\<UnitAngle> instead of RadianDirection. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0)

## Turf 2.0.0-rc.2 breaking changes

Turf 2.0.0-rc.2: 8 breaking changes.

- **Removed** `FeatureCollection.identifier`  

Move the data to each individual feature in the collection. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Removed** `FeatureCollection.properties`  

Move the data to each individual feature in the collection. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Removed** `GeoJSON`  

Decode with JSONDecoder into GeoJSONObject instead of calling GeoJSON.parse. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Removed** `Geometry.type`  

Use pattern matching instead of the type property. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Removed** `Geometry.value`  

Use pattern matching instead of casting the value. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Removed** `Number`  

Use the Double-typed FeatureIdentifier.number case instead. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Behavior changed** `Feature.geometry`  

Code that reads geometry must now handle a nil value. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)
- **Behavior changed** `Feature.properties`  

Code building properties with literals must specify JSONValue cases or use JSONObject(rawValue:). [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-rc.2)

## Turf 2.0.0-beta.1 breaking changes

Turf 2.0.0-beta.1: 2 breaking changes.

- **Behavior changed** `RadianCoordinate2D.direction`  

The direction result is now a Measurement\<UnitAngle> instead of the previous direction type; update code that reads it. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-beta.1)
- **Signature changed** `RadianCoordinate2D.coordinate`  

The facing parameter now takes Measurement\<UnitAngle> instead of the previous direction type. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v2.0.0-beta.1)

## Turf 1.0.0 breaking changes

Turf 1.0.0: 3 breaking changes.

- **Renamed** `GeoJSON.decodedFeatueCollection`  

The GeoJSON.decodedFeatueCollection symbol was renamed to GeoJSON.decodedFeatureCollection. Callers must update to the corrected spelling. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v1.0.0)
- **Renamed** `Turf.intersection`  

The Turf.intersection(\_:\_:) function was renamed to intersection(\_:\_:). Callers must update to the new name. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v1.0.0)
- **Configuration changed**  

The package now requires iOS 10.0, macOS 10.12.0, tvOS 10.0 or watchOS 3.0 or later to run. Apps targeting older platform versions must raise their deployment target. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v1.0.0)

## Turf 0.5.0 breaking changes

Turf 0.5.0: 2 breaking changes.

- **Behavior changed** `BoundingBox`  

BoundingBox stores its properties in the order GeoJSON RFC7946 specifies, so code that reads or builds these values may now see different results and should be checked. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v0.5.0)
- **Behavior changed** `LineString.closesCoordinate`  

The IndexedCoordinate returned by LineString.closesCoordinate(to:) now has the correct distance, so code that relied on the previous distance value will get different numbers. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v0.5.0)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### Turf 0.4.0 breaking changes

Turf 0.4.0: 9 breaking changes.

- **Removed** `AnyJSONType`  

The AnyJSONType struct was removed in favor of making \[String: Any?\] conform to Codable. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v0.4.0)
- **Removed** `FeatureVariant`  

FeatureVariant was removed in favor of a single Feature struct; set Feature.geometry to the appropriate geometry instead. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v0.4.0)

And 7 more in this version.

### Turf 0.1.0 breaking changes

Turf 0.1.0: 1 breaking change.

- **Renamed** `CLLocationDirection.differenceBetween`  

The method CLLocationDirection.differenceBetween(\_:) was renamed to CLLocationDirection.difference(from:). Update calls to use the new name. [github.com](https://github.com/mapbox/turf-swift/releases/tag/v0.1.0)

## Related packages

- [github.com/mapbox/turf-swift](https://since.dev/packages/swift/github.com/mapbox/turf-swift.md):  on Swift Package Index

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
