From bf840e6b9529d105687840fe2c9dcd74197d46d1 Mon Sep 17 00:00:00 2001 From: "mapbox-github-ci-writer-public-1[bot]" <93400552+mapbox-github-ci-writer-public-1[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:33:54 +0200 Subject: [PATCH] Update versions to v4.0.0 (#256) * Update versions for Turf.xcframework * Update README versions --------- Co-authored-by: MapboxCI Co-authored-by: Aleksei Sapitskii --- Package.swift | 4 ++-- README.md | 8 ++++---- Sources/Turf/Info.plist | 2 +- Tests/TurfTests/Info.plist | 2 +- Turf.podspec | 2 +- Turf.xcodeproj/project.pbxproj | 8 ++++---- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Package.swift b/Package.swift index 1497919..c96828d 100644 --- a/Package.swift +++ b/Package.swift @@ -9,8 +9,8 @@ import PackageDescription let targets: [Target] = [ .binaryTarget( name: "Turf", - url: "https://github.com/mapbox/turf-swift/releases/download/v4.0.0-rc.1/Turf.xcframework.zip", - checksum: "fd1de0f2f6867dc1bb415f7c92479b52f25a8d5ed7a9e557f8837b43213c1177" + url: "https://github.com/mapbox/turf-swift/releases/download/v4.0.0/Turf.xcframework.zip", + checksum: "ce43384a6f875ab4becdd6bdb7ca60447e5e9133f2acf325dc57be381b52a34c" ) ] #else diff --git a/README.md b/README.md index da8d2bd..42cdaa8 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ πŸ“Ί[![tvOS](https://app.bitrise.io/app/0b037542c2395ffb/status.svg?token=yOtMqbu-5bj8grB1Jmoefg)](https://www.bitrise.io/app/0b037542c2395ffb)     ⌚️[![watchOS](https://app.bitrise.io/app/0d4d611f02295183/status.svg?token=NiLB_E_0IvYYqV4Mj973TQ)](https://www.bitrise.io/app/0d4d611f02295183)     Linux[![](https://api.travis-ci.com/mapbox/turf-swift.svg?branch=main)](https://travis-ci.com/mapbox/turf-swift)     -[![Documentation](https://mapbox.github.io/turf-swift/3.1.0/badge.svg)](https://mapbox.github.io/turf-swift/)     +[![Documentation](https://mapbox.github.io/turf-swift/4.0.0/badge.svg)](https://mapbox.github.io/turf-swift/)     [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)     [![CocoaPods](https://img.shields.io/cocoapods/v/Turf.svg)](https://cocoapods.org/pods/Turf/)     [![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager/)     @@ -36,7 +36,7 @@ To install Turf using [CocoaPods](https://cocoapods.org/): 1. Specify the following dependency in your Podfile: ```rb - pod 'Turf', '~> 3.1' + pod 'Turf', '~> 4.0' ``` 1. Run `pod repo update` if you haven’t lately. 1. Run `pod install` and open the resulting Xcode workspace. @@ -48,7 +48,7 @@ To install Turf using [Carthage](https://github.com/Carthage/Carthage/): 1. Add the following dependency to your Cartfile: ``` - github "mapbox/turf-swift" ~> 3.1 + github "mapbox/turf-swift" ~> 4.0 ``` 1. Run `carthage bootstrap`. 1. Follow the rest of [Carthage’s integration instructions](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application). Your application target’s Embedded Frameworks should include Turf.framework. @@ -59,7 +59,7 @@ To install Turf using [Carthage](https://github.com/Carthage/Carthage/): To install Turf using the [Swift Package Manager](https://swift.org/package-manager/), add the following package to the `dependencies` in your Package.swift file: ```swift -.package(url: "https://github.com/mapbox/turf-swift.git", from: "3.1.0") +.package(url: "https://github.com/mapbox/turf-swift.git", from: "4.0.0") ``` Then `import Turf` in any Swift file in your module. diff --git a/Sources/Turf/Info.plist b/Sources/Turf/Info.plist index a3edf61..bf643e6 100644 --- a/Sources/Turf/Info.plist +++ b/Sources/Turf/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString 4.0.0 CFBundleVersion - 37 + 38 NSPrincipalClass diff --git a/Tests/TurfTests/Info.plist b/Tests/TurfTests/Info.plist index afea8ce..2fd885f 100644 --- a/Tests/TurfTests/Info.plist +++ b/Tests/TurfTests/Info.plist @@ -17,6 +17,6 @@ CFBundleShortVersionString 4.0.0 CFBundleVersion - 37 + 38 diff --git a/Turf.podspec b/Turf.podspec index 0bafab6..3e01208 100644 --- a/Turf.podspec +++ b/Turf.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # s.name = "Turf" - s.version = "4.0.0-rc.1" + s.version = "4.0.0" s.summary = "Simple spatial analysis." s.description = "A spatial analysis library written in Swift for native iOS, macOS, tvOS, watchOS, visionOS, and Linux applications, ported from Turf.js." diff --git a/Turf.xcodeproj/project.pbxproj b/Turf.xcodeproj/project.pbxproj index 96fe797..9883c8b 100644 --- a/Turf.xcodeproj/project.pbxproj +++ b/Turf.xcodeproj/project.pbxproj @@ -495,7 +495,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 37; + CURRENT_PROJECT_VERSION = 38; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -567,7 +567,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 37; + CURRENT_PROJECT_VERSION = 38; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; @@ -604,7 +604,7 @@ DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 37; + DYLIB_CURRENT_VERSION = 38; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Sources/Turf/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -627,7 +627,7 @@ DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 37; + DYLIB_CURRENT_VERSION = 38; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Sources/Turf/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";