- #224
GeometryConvertible.buffer(by:)
can now be used with negative widths. - #232 Dependency and tooling
support updates:
- Updates to GEOSwift/geos 7.0.0 (libgeos/geos 3.10.1)
- Increases swift-tools-version to 5.3 (corresponds to Xcode 12)
- Drops support for Carthage
- Reorganizes sources to match Swift Package Manager conventions
- #235 Added
GeometryConvertible.symmetricDifference(with:)
- #236 Updated
LineStringConvertible
methods to use implementations from geos:normalizedDistanceFromStart(toProjectionOf:)
: The geos implementation returns 0 for 0-length lines, whereas the old GEOSwift implementation threwGEOSwiftError.lengthIsZero
, which has now been removed.interpolatedPoint(withFraction:)
- #218 Added
GeometryConvertible.simplify(withTolerance:)
- #216 Changed the value of the quadsegs param in buffer(by:) to match the geos default.
- Add platform specifiers to Package.swift
- Updated for Xcode 12
- Drops support for iOS 8
- Switches to SPM as primary development environment
- Updates GEOSwift.xcodeproj to use geos.xcframework instead of the
old-style fat frameworks due to a change in Xcode 12.3. This breaks
(hopefully only temporarily) compatibility with Carthage unless you use
the as-of-yet-unreleased Carthage version which adds the
--use-xcframeworks
flag. Carthage support will be reevaluated as its situation evolves.
- Increases min geos to 6.0.0 (which equates to 3.9.0 in the upstream geos)
- #211
- Adds isValid, isValidReason, and isValidDetail
- #202
- Add makeValid
- #201
- Update to geos 3.8.1 (GEOSwift/geos 5.0.0)
- Return values from intersection and difference are now optional
- Buffer now throws
GEOSwiftError.negativeBufferWidth
if width is negative
- Add minimumBoundingCircle (Fixes #157)
- Update to geos 3.8.1 (GEOSwift/geos 5.0.0)
- #187
- Add support for Swift PM on iOS and tvOS (Fixes #166)
- Update Swift PM support on macOS and Linux to build geos from source instead of using system packages. This provides increased consistency with CocoaPods and Carthage and enables us to support iOS and tvOS as well.
- #171 Add conveniences for working with JSON, Feature, and Feature.FeatureId
- #167 See VERSION_5.md
- #163 Fix building on projects with spaces in path
- #164 Updated geos dependency to 4.0.2 (CocoaPods & Carthage)
- #144 Upgrade to CocoaPods 1.6.1, Xcode 10.2, and Swift 5
- #147 Fixed leak resulting from an early return not destroying an object
- #138 Exclude Bridge.swift from podspec
- #131 Add support for Swift Package Manager and Geometry.init?(data:)
- #135 Fix MKShapesCollection.boundingMapRect
- Updated to GEOS 3.7.1
- #125 Fix mapShape for common GeometryCollection types
- #120 Added @objc prefix to expose methods and variables to Objective-C code
- Upgraded to GEOS 3.7.0
- Bug fixes
- Support for Xcode 10, Swift 4.2