From 643d486583efb61c76fcb1243282493880edc695 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sat, 30 Nov 2024 18:04:26 +0100 Subject: [PATCH 01/14] feat: Add support for Xcode 16 (#1824) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bd40ec68..08243bb99 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ --- -[![Build Status CI](https://github.com/parse-community/Parse-SDK-iOS-OSX/workflows/ci/badge.svg?branch=master)](https://github.com/parse-community/Parse-SDK-iOS-OSX/actions?query=workflow%3Aci+branch%3Amaster) +[![Build Status CI](https://github.com/parse-community/Parse-SDK-iOS-OSX/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/parse-community/Parse-SDK-iOS-OSX/actions?query=workflow%3Aci+branch%3Amaster) [![Build Status Release](https://github.com/parse-community/Parse-SDK-iOS-OSX/actions/workflows/release-automated.yml/badge.svg)](https://github.com/parse-community/Parse-SDK-iOS-OSX/actions?query=workflow%3Arelease-automated) [![Snyk Badge](https://snyk.io/test/github/parse-community/Parse-SDK-iOS-OSX/badge.svg)](https://snyk.io/test/github/parse-community/Parse-SDK-iOS-OSX) [![Coverage](https://img.shields.io/codecov/c/github/parse-community/Parse-SDK-iOS-OSX/master.svg)](https://codecov.io/github/parse-community/Parse-SDK-iOS-OSX?branch=master) From d4a1b351ed291a013f37894116115b90bbd97f39 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 30 Nov 2024 17:10:58 +0000 Subject: [PATCH 02/14] chore(release): 4.2.0 [skip ci] # [4.2.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.1.2...4.2.0) (2024-11-30) ### Features * Add support for Xcode 16 ([#1824](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1824)) ([643d486](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/643d486583efb61c76fcb1243282493880edc695)) --- CHANGELOG.md | 7 +++++++ Parse/Parse/Resources/Parse-OSX.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-iOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-tvOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-watchOS.Info.plist | 4 ++-- Parse/Parse/Source/PFConstants.h | 2 +- ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery/Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject-Swift/Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject/Resources/Info.plist | 4 ++-- .../tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist | 4 ++-- .../ParseStarter Extension/Info.plist | 4 ++-- .../ParseStarterProject-Swift/ParseStarter/Info.plist | 4 ++-- .../watchOS/ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 19 files changed, 41 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26e397617..6bc5167aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [4.2.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.1.2...4.2.0) (2024-11-30) + + +### Features + +* Add support for Xcode 16 ([#1824](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1824)) ([643d486](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/643d486583efb61c76fcb1243282493880edc695)) + ## [4.1.2](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.1.1...4.1.2) (2024-10-14) diff --git a/Parse/Parse/Resources/Parse-OSX.Info.plist b/Parse/Parse/Resources/Parse-OSX.Info.plist index 67340845b..da55e4a58 100644 --- a/Parse/Parse/Resources/Parse-OSX.Info.plist +++ b/Parse/Parse/Resources/Parse-OSX.Info.plist @@ -13,10 +13,10 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 diff --git a/Parse/Parse/Resources/Parse-iOS.Info.plist b/Parse/Parse/Resources/Parse-iOS.Info.plist index 706b893d8..dd962ed10 100644 --- a/Parse/Parse/Resources/Parse-iOS.Info.plist +++ b/Parse/Parse/Resources/Parse-iOS.Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 4.1.2 + 4.2.0 MinimumOSVersion 12.0 diff --git a/Parse/Parse/Resources/Parse-tvOS.Info.plist b/Parse/Parse/Resources/Parse-tvOS.Info.plist index d49675207..45ef74784 100644 --- a/Parse/Parse/Resources/Parse-tvOS.Info.plist +++ b/Parse/Parse/Resources/Parse-tvOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 NSPrincipalClass diff --git a/Parse/Parse/Resources/Parse-watchOS.Info.plist b/Parse/Parse/Resources/Parse-watchOS.Info.plist index d49675207..45ef74784 100644 --- a/Parse/Parse/Resources/Parse-watchOS.Info.plist +++ b/Parse/Parse/Resources/Parse-watchOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 NSPrincipalClass diff --git a/Parse/Parse/Source/PFConstants.h b/Parse/Parse/Source/PFConstants.h index 61a05e1c5..596c47f21 100644 --- a/Parse/Parse/Source/PFConstants.h +++ b/Parse/Parse/Source/PFConstants.h @@ -14,7 +14,7 @@ #pragma mark - SDK Version ///-------------------------------------- -#define PARSE_VERSION @"4.1.2" +#define PARSE_VERSION @"4.2.0" ///-------------------------------------- #pragma mark - Platform diff --git a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist index 9831a9757..f0092b162 100644 --- a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleVersion - 4.1.2 + 4.2.0 diff --git a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist index 9831a9757..f0092b162 100644 --- a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleVersion - 4.1.2 + 4.2.0 diff --git a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist index 3169161ae..29a17dcb6 100644 --- a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist index 1f45a8bab..ccc12b22c 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSMainNibFile diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist index 63794a1ac..cbbbe17e7 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile diff --git a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist index 872995214..370b19820 100644 --- a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist index aff47593e..3aa94516d 100644 --- a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist @@ -19,11 +19,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 LSRequiresIPhoneOS NSMainNibFile diff --git a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist index bc3d8ed4c..7f9246f93 100644 --- a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist index 524b8a338..c021d59de 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 NSExtension NSExtensionAttributes diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist index 08b9b8414..43560fd8f 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist index d6c30fccf..77105372e 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.1.2 + 4.2.0 CFBundleSignature ???? CFBundleVersion - 4.1.2 + 4.2.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/package-lock.json b/package-lock.json index 0196adbc7..9753e7333 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse-sdk-ios-osx", - "version": "4.1.2", + "version": "4.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "parse-sdk-ios-osx", - "version": "4.1.2", + "version": "4.2.0", "devDependencies": { "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.0", diff --git a/package.json b/package.json index 80001acd8..f7acb50f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-sdk-ios-osx", - "version": "4.1.2", + "version": "4.2.0", "private": true, "repository": { "type": "git", From 2c4d2e32af054b4415b05475d01ccee09c1255bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:54:28 +0100 Subject: [PATCH 03/14] refactor: Bump @semantic-release/release-notes-generator from 14.0.1 to 14.0.2 (#1825) --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9753e7333..41089c5ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@semantic-release/commit-analyzer": "13.0.0", "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", - "@semantic-release/release-notes-generator": "14.0.1", + "@semantic-release/release-notes-generator": "14.0.2", "semantic-release": "24.2.0" } }, @@ -797,9 +797,9 @@ } }, "node_modules/@semantic-release/release-notes-generator": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.1.tgz", - "integrity": "sha512-K0w+5220TM4HZTthE5dDpIuFrnkN1NfTGPidJFm04ULT1DEZ9WG89VNXN7F0c+6nMEpWgqmPvb7vY7JkB2jyyA==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.2.tgz", + "integrity": "sha512-ur2l2tVLBfX3fSEO2rCy2X6Kzg5S7BHGqdwTHvJrpWp4mOEN7W4K/2kWAjvfAlwMenEKjMnDIhBbxxjnP0S9hw==", "dev": true, "dependencies": { "conventional-changelog-angular": "^8.0.0", diff --git a/package.json b/package.json index f7acb50f5..d4423922b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@semantic-release/commit-analyzer": "13.0.0", "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", - "@semantic-release/release-notes-generator": "14.0.1", + "@semantic-release/release-notes-generator": "14.0.2", "semantic-release": "24.2.0" } } From c2ddbbc0aa780fc33a4b7fa922450fc325ac7bd2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:49:16 +0100 Subject: [PATCH 04/14] refactor: Bump @semantic-release/commit-analyzer from 13.0.0 to 13.0.1 (#1828) --- package-lock.json | 23 ++++++++++++++++++----- package.json | 2 +- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 41089c5ff..357b9efed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.2.0", "devDependencies": { "@semantic-release/changelog": "6.0.3", - "@semantic-release/commit-analyzer": "13.0.0", + "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/release-notes-generator": "14.0.2", @@ -308,9 +308,9 @@ } }, "node_modules/@semantic-release/commit-analyzer": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.0.tgz", - "integrity": "sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.1.tgz", + "integrity": "sha512-wdnBPHKkr9HhNhXOhZD5a2LNl91+hs8CC2vsAVYxtZH3y0dV3wKn+uZSN61rdJQZ8EGxzWB3inWocBHV9+u/CQ==", "dev": true, "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -318,7 +318,7 @@ "conventional-commits-filter": "^5.0.0", "conventional-commits-parser": "^6.0.0", "debug": "^4.0.0", - "import-from-esm": "^1.0.3", + "import-from-esm": "^2.0.0", "lodash-es": "^4.17.21", "micromatch": "^4.0.2" }, @@ -329,6 +329,19 @@ "semantic-release": ">=20.1.0" } }, + "node_modules/@semantic-release/commit-analyzer/node_modules/import-from-esm": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", + "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==", + "dev": true, + "dependencies": { + "debug": "^4.3.4", + "import-meta-resolve": "^4.0.0" + }, + "engines": { + "node": ">=18.20" + } + }, "node_modules/@semantic-release/error": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz", diff --git a/package.json b/package.json index d4423922b..ad099dc09 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "devDependencies": { "@semantic-release/changelog": "6.0.3", - "@semantic-release/commit-analyzer": "13.0.0", + "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/release-notes-generator": "14.0.2", From 79ab304a2f5e159098fa0cbbb29856caa7297b18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:51:50 +0100 Subject: [PATCH 05/14] refactor: Bump semantic-release from 24.2.0 to 24.2.1 (#1830) --- package-lock.json | 23 ++++++++++++++++++----- package.json | 2 +- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 357b9efed..5c0d6e8a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/release-notes-generator": "14.0.2", - "semantic-release": "24.2.0" + "semantic-release": "24.2.1" } }, "node_modules/@babel/code-frame": { @@ -5590,9 +5590,9 @@ } }, "node_modules/semantic-release": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.0.tgz", - "integrity": "sha512-fQfn6e/aYToRtVJYKqneFM1Rg3KP2gh3wSWtpYsLlz6uaPKlISrTzvYAFn+mYWo07F0X1Cz5ucU89AVE8X1mbg==", + "version": "24.2.1", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.1.tgz", + "integrity": "sha512-z0/3cutKNkLQ4Oy0HTi3lubnjTsdjjgOqmxdPjeYWe6lhFqUPfwslZxRHv3HDZlN4MhnZitb9SLihDkZNxOXfQ==", "dev": true, "dependencies": { "@semantic-release/commit-analyzer": "^13.0.0-beta.1", @@ -5611,7 +5611,7 @@ "git-log-parser": "^1.2.0", "hook-std": "^3.0.0", "hosted-git-info": "^8.0.0", - "import-from-esm": "^1.3.1", + "import-from-esm": "^2.0.0", "lodash-es": "^4.17.21", "marked": "^12.0.0", "marked-terminal": "^7.0.0", @@ -5759,6 +5759,19 @@ "node": ">=18.18.0" } }, + "node_modules/semantic-release/node_modules/import-from-esm": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", + "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==", + "dev": true, + "dependencies": { + "debug": "^4.3.4", + "import-meta-resolve": "^4.0.0" + }, + "engines": { + "node": ">=18.20" + } + }, "node_modules/semantic-release/node_modules/indent-string": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", diff --git a/package.json b/package.json index ad099dc09..d48c4d1f4 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,6 @@ "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/release-notes-generator": "14.0.2", - "semantic-release": "24.2.0" + "semantic-release": "24.2.1" } } From 393a3005b789d857d53010bd3cf77754a3ea3859 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:13:17 +0100 Subject: [PATCH 06/14] refactor: Bump @semantic-release/release-notes-generator from 14.0.2 to 14.0.3 (#1829) --- package-lock.json | 44 +++++++++----------------------------------- package.json | 2 +- 2 files changed, 10 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5c0d6e8a9..b837d8a81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", - "@semantic-release/release-notes-generator": "14.0.2", + "@semantic-release/release-notes-generator": "14.0.3", "semantic-release": "24.2.1" } }, @@ -329,19 +329,6 @@ "semantic-release": ">=20.1.0" } }, - "node_modules/@semantic-release/commit-analyzer/node_modules/import-from-esm": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", - "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==", - "dev": true, - "dependencies": { - "debug": "^4.3.4", - "import-meta-resolve": "^4.0.0" - }, - "engines": { - "node": ">=18.20" - } - }, "node_modules/@semantic-release/error": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz", @@ -810,9 +797,9 @@ } }, "node_modules/@semantic-release/release-notes-generator": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.2.tgz", - "integrity": "sha512-ur2l2tVLBfX3fSEO2rCy2X6Kzg5S7BHGqdwTHvJrpWp4mOEN7W4K/2kWAjvfAlwMenEKjMnDIhBbxxjnP0S9hw==", + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.3.tgz", + "integrity": "sha512-XxAZRPWGwO5JwJtS83bRdoIhCiYIx8Vhr+u231pQAsdFIAbm19rSVJLdnBN+Avvk7CKvNQE/nJ4y7uqKH6WTiw==", "dev": true, "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -821,7 +808,7 @@ "conventional-commits-parser": "^6.0.0", "debug": "^4.0.0", "get-stream": "^7.0.0", - "import-from-esm": "^1.0.3", + "import-from-esm": "^2.0.0", "into-stream": "^7.0.0", "lodash-es": "^4.17.21", "read-package-up": "^11.0.0" @@ -2075,16 +2062,16 @@ } }, "node_modules/import-from-esm": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-1.3.4.tgz", - "integrity": "sha512-7EyUlPFC0HOlBDpUFGfYstsU7XHxZJKAAMzCT8wZ0hMW7b+hG51LIKTDcsgtz8Pu6YC0HqRVbX+rVUtsGMUKvg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", + "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==", "dev": true, "dependencies": { "debug": "^4.3.4", "import-meta-resolve": "^4.0.0" }, "engines": { - "node": ">=16.20" + "node": ">=18.20" } }, "node_modules/import-meta-resolve": { @@ -5759,19 +5746,6 @@ "node": ">=18.18.0" } }, - "node_modules/semantic-release/node_modules/import-from-esm": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", - "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==", - "dev": true, - "dependencies": { - "debug": "^4.3.4", - "import-meta-resolve": "^4.0.0" - }, - "engines": { - "node": ">=18.20" - } - }, "node_modules/semantic-release/node_modules/indent-string": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", diff --git a/package.json b/package.json index d48c4d1f4..d32e8a1e7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/exec": "6.0.3", "@semantic-release/git": "10.0.1", - "@semantic-release/release-notes-generator": "14.0.2", + "@semantic-release/release-notes-generator": "14.0.3", "semantic-release": "24.2.1" } } From e94c4d5498e0f1241dba88a89e0547b8e6cccccb Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Mon, 27 Jan 2025 19:52:36 -0600 Subject: [PATCH 07/14] feat: Remove support for Xcode 14 (#1835) BREAKING CHANGE: This release removes support for Xcode 14. --- .github/workflows/ci.yml | 113 +++++++++++++++--- .github/workflows/release-automated.yml | 8 +- .github/workflows/release-manual-docs.yml | 6 +- Gemfile | 8 +- Gemfile.lock | 14 +-- .../xcshareddata/xcschemes/Parse-iOS.xcscheme | 9 ++ .../xcschemes/Parse-macOS.xcscheme | 5 + README.md | 24 ++++ Rakefile | 50 +++++++- 9 files changed, 200 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1103d6b9d..344736312 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,25 +8,106 @@ on: branches: - "**" env: - CI_XCODE_14: /Applications/Xcode_14.2.app/Contents/Developer CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer - CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: - tests: + test-xcode: env: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} timeout-minutes: 45 strategy: matrix: - script: - - test:ios - - test:macos - - test:parse_live_query:all - - xcode14 # runs build:starters on Xcode 14 - - xcode15 # runs build:starters on Xcode 15 - - xcode16 # runs build:starters on Xcode 16 + include: + # Xcode + - name: Xcode 15 + script: build:starters + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + tvOsVersion: '18.1' + tvDeviceModel: Apple TV + macosVersion: 14 + developerDir: CI_XCODE_15 + - name: Xcode 16 + script: build:starters + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + tvOsVersion: '18.1' + tvDeviceModel: Apple TV + macosVersion: 14 + developerDir: CI_XCODE_16 + # Core Module + - name: Core Module, iOS 17 + script: test:ios + iosVersion: '17.5' + iosDeviceModel: iPhone 15 + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: Core Module, iOS 18 + script: test:ios + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 14 + script: test:macos + macosVersion: 14 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 15 + script: test:macos + macosVersion: 15 + developerDir: CI_XCODE_16 + # LiveQuery Module + - name: LiveQuery Module, iOS 17 + script: test:parse_live_query:ios + iosVersion: '17.5' + iosDeviceModel: iPhone 15 + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, iOS 18 + script: test:parse_live_query:ios + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, macOS 14 + script: test:parse_live_query:osx + macosVersion: 14 + developerDir: CI_XCODE_15 + - name: LiveQuery Module, macOS 15 + script: test:parse_live_query:osx + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS 10 + script: test:parse_live_query:watchos + watchOsVersion: '10.5' + watchDeviceModel: Apple Watch Series 9 (45mm) + macosVersion: 15 + developerDir: CI_XCODE_15 + - name: LiveQuery Module, watchOS 11 + script: test:parse_live_query:watchos + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, tvOS 17 + script: test:parse_live_query:tvos + tvOsVersion: '17.5' + tvDeviceModel: Apple TV + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, tvOS 18 + script: test:parse_live_query:tvos + tvOsVersion: '18.1' + tvDeviceModel: Apple TV + macosVersion: 15 + developerDir: CI_XCODE_16 fail-fast: false - runs-on: ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'macos-14') || 'macos-13' }} + runs-on: macos-${{ matrix.macosVersion }} + name: ${{ matrix.name }} steps: - uses: actions/checkout@v4 - name: Cache SPM @@ -49,9 +130,9 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode14' || matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" IOS_DEVICE_MODEL="${{ matrix.iosDeviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" TV_DEVICE_MODEL="${{ matrix.tvDeviceModel }}" TV_OS_VERSION="${{ matrix.tvOsVersion }}" bundle exec rake ${{ matrix.script }} env: - DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || (matrix.script == 'xcode16' && env.CI_XCODE_16) || env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables if: ${{ always() }} env: @@ -68,7 +149,7 @@ jobs: echo "Build Result Location: $BUILD_RESULTS" - name: Upload Artifact Logs if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: | @@ -103,7 +184,7 @@ jobs: plugin: xcode file: ${{ env.COVERAGE_PATH }} docs: - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 15 steps: - uses: actions/checkout@v4 @@ -117,7 +198,7 @@ jobs: run: | ./Scripts/jazzy.sh env: - DEVELOPER_DIR: ${{ env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env.CI_XCODE_16 }} concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 3c6083792..884501e3a 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -3,11 +3,11 @@ on: push: branches: [ master, release, alpha, beta ] env: - CI_XCODE_14: '/Applications/Xcode_14.2.app/Contents/Developer' + CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: release: - runs-on: macos-13 + runs-on: macos-14 outputs: current_tag: ${{ steps.tag.outputs.current_tag }} steps: @@ -46,7 +46,7 @@ jobs: publish-docs: needs: release if: needs.release.outputs.current_tag != '' - runs-on: macos-13 + runs-on: macos-14 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -62,7 +62,7 @@ jobs: run: | ./Scripts/jazzy.sh env: - DEVELOPER_DIR: ${{ env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env.CI_XCODE_16 }} - name: Deploy Jazzy Docs uses: peaceiris/actions-gh-pages@v3 with: diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index a88ef4faf..150763731 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -6,12 +6,12 @@ on: default: '' description: 'Version tag:' env: - CI_XCODE_14: '/Applications/Xcode_14.2.app/Contents/Developer' + CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: publish-docs: if: github.event.inputs.tag != '' - runs-on: macos-13 + runs-on: macos-14 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -27,7 +27,7 @@ jobs: run: | ./Scripts/jazzy.sh env: - DEVELOPER_DIR: ${{ env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env.CI_XCODE_16 }} - name: Deploy Jazzy Docs uses: peaceiris/actions-gh-pages@v3 with: diff --git a/Gemfile b/Gemfile index bcf060416..a22bf78f0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,9 @@ source 'https://rubygems.org' # Docs -gem 'jazzy', '~> 0.15.3' +gem 'jazzy', '0.15.3' # Development -gem 'xcpretty', '~> 0.4.0' -gem 'rake', '~> 13.2.1' -gem 'plist', '~> 3.7.1' +gem 'xcpretty', '0.3.0' +gem 'rake', '13.2.1' +gem 'plist', '3.7.1' diff --git a/Gemfile.lock b/Gemfile.lock index 255a43c70..7a0834d8f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -103,7 +103,7 @@ GEM rake (13.2.1) redcarpet (3.6.0) rexml (3.3.9) - rouge (3.28.0) + rouge (2.0.7) ruby-macho (2.5.1) sassc (2.4.0) ffi (~> 1.9) @@ -123,18 +123,18 @@ GEM colored2 (~> 3.1) nanaimo (~> 0.4.0) rexml (>= 3.3.6, < 4.0) - xcpretty (0.4.0) - rouge (~> 3.28.0) + xcpretty (0.3.0) + rouge (~> 2.0.7) PLATFORMS arm64-darwin x86_64-darwin DEPENDENCIES - jazzy (~> 0.15.3) - plist (~> 3.7.1) - rake (~> 13.2.1) - xcpretty (~> 0.4.0) + jazzy (= 0.15.3) + plist (= 3.7.1) + rake (= 13.2.1) + xcpretty (= 0.3.0) BUNDLED WITH 2.5.22 diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme index c7e38565f..9e5527268 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme @@ -81,6 +81,12 @@ + + + + @@ -90,6 +96,9 @@ + + diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme index 2b3c0355f..f2a1764f4 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme @@ -62,6 +62,11 @@ BlueprintName = "ParseUnitTests-macOS" ReferencedContainer = "container:Parse.xcodeproj"> + + + + diff --git a/README.md b/README.md index 08243bb99..124696956 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ A library that gives you access to the powerful Parse Server backend from your i --- - [Getting Started](#getting-started) +- [Compatibility](#compatibility) + - [Parse Server](#parse-server) + - [Xcode, iOS, macOS](#xcode-ios-macos) - [How Do I Contribute?](#how-do-i-contribute) - [Dependencies](#dependencies) @@ -49,6 +52,27 @@ The easiest way to install the SDK is via Swift Package Manager. Take a look at the public [documentation][docs] & [API][api] and start building. +## Compatibility + +### Parse Server + +Parse Apple SDK is compatible with the following versions of Parse Server. + +| Parse Apple SDK | Parse Server | +|-----------------|--------------| +| 1.0.0 | >= 1.0.0 | + +### Xcode, iOS, macOS + +The Parse Apple SDK is continuously tested with the most recent releases of Xcode to ensure compatibility. We follow the annual release schedule of Xcode to support the current and previous major Xcode version. + +| Xcode Version | iOS Version | macOS Version | macOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | +|---------------|-------------|---------------|---------------|----------------|---------------------|-------------------------| +| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | September 2021 | October 2023 | >= 1.19.3 <2.7.2 | +| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2024 | >= 2.7.2 <= 5.0.0 | +| Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | September 2023 | October 2025 | >= 3.0.0 | +| Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | September 2024 | tbd | >= 4.2.0 | + ## How Do I Contribute? We want to make contributing to this project as easy and transparent as possible. Please refer to the [Contribution Guidelines][contributing]. diff --git a/Rakefile b/Rakefile index 7601b3812..1058d38c1 100644 --- a/Rakefile +++ b/Rakefile @@ -12,9 +12,23 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = 'platform="iOS Simulator",name="iPhone 14"' -tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' -watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 8 (45mm)"' +ios_version = ENV.fetch('IOS_VERSION') +ios_device_model = ENV.fetch('IOS_DEVICE_MODEL') +tvos_version = ENV.fetch('TV_OS_VERSION') +tv_device_model = ENV.fetch('TV_DEVICE_MODEL') +watchos_version = ENV.fetch('WATCH_OS_VERSION') +watch_device_model = ENV.fetch('WATCH_DEVICE_MODEL') + +puts "IOS_VERSION: #{ios_version}" +puts "IOS_DEVICE_MODEL: #{ios_device_model}" +puts "TV_OS_VERSION: #{tvos_version}" +puts "TV_DEVICE_MODEL: #{tv_device_model}" +puts "WATCH_OS_VERSION: #{watchos_version}" +puts "WATCH_DEVICE_MODEL: #{watch_device_model}" + +ios_simulator = "platform=\"iOS Simulator\",name=\"#{ios_device_model}\",OS=\"#{ios_version}\"" +tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{tv_device_model}\",OS=\"#{tvos_version}\"" +watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{watch_device_model}\",OS=\"#{watchos_version}\"" build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; @@ -82,6 +96,9 @@ namespace :build do end task :objc do + puts 'Running iOS ObjC Starter Project' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" project = 'ParseStarterProject' ios_starters_path = File.join(starters_path, 'iOS', project) task = XCTask::BuildTask.new do |t| @@ -101,6 +118,9 @@ namespace :build do end task :swift do + puts 'Running iOS Swift Starter Project' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" project = 'ParseStarterProject-Swift' ios_starters_path = File.join(starters_path, 'iOS', project) task = XCTask::BuildTask.new do |t| @@ -127,6 +147,7 @@ namespace :build do end task :objc do + puts 'Running macOS ObjC Starter Project' macos_starter_folder = File.join(starters_path, 'OSX', 'ParseOSXStarterProject') task = XCTask::BuildTask.new do |t| t.directory = macos_starter_folder @@ -144,6 +165,7 @@ namespace :build do end task :swift do + puts 'Running macOS Swift Starter Project' macos_starter_folder = File.join(starters_path, 'OSX', 'ParseOSXStarterProject-Swift') task = XCTask::BuildTask.new do |t| t.directory = macos_starter_folder @@ -169,6 +191,9 @@ namespace :build do end task :swift do + puts 'Running tvOS Swift Starter Project' + puts "TV_OS_VERSION: #{tvos_version}" + puts "TV_DEVICE_MODEL: #{tv_device_model}" tvos_starter_folder = File.join(starters_path, 'tvOS', 'ParseStarterProject-Swift') task = XCTask::BuildTask.new do |t| t.directory = tvos_starter_folder @@ -194,6 +219,9 @@ namespace :build do end task :swift do + puts 'Running watchOS Swift Starter Project' + puts "WATCH_OS_VERSION: #{watchos_version}" + puts "WATCH_DEVICE_MODEL: #{watch_device_model}" watchos_starter_folder = File.join(starters_path, 'watchOS', 'ParseStarterProject-Swift') task = XCTask::BuildTask.new do |t| t.directory = watchos_starter_folder @@ -218,6 +246,7 @@ namespace :build do end task :objc do + puts 'Running Live Query macOS ObjC Starter Project' live_query_starter_folder = File.join(SCRIPT_PATH, 'ParseLiveQuery', 'Examples') task = XCTask::BuildTask.new do |t| t.directory = live_query_starter_folder @@ -235,6 +264,7 @@ namespace :build do end task :swift do + puts 'Running Live Query macOS Swift Starter Project' live_query_starter_folder = File.join(SCRIPT_PATH, 'ParseLiveQuery', 'Examples') task = XCTask::BuildTask.new do |t| t.directory = live_query_starter_folder @@ -265,6 +295,9 @@ end namespace :test do desc 'Run iOS Tests' task :ios do |_, args| + puts 'Running iOS Tests' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -283,6 +316,7 @@ namespace :test do desc 'Run macOS Tests' task :macos do |_, args| + puts 'Running macOS Tests' task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -307,6 +341,9 @@ namespace :test do end task :ios do + puts 'Running ParseLiveQuery iOS Tests' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -324,6 +361,9 @@ namespace :test do end task :tvos do + puts 'Running ParseLiveQuery tvOS Tests' + puts "TV_OS_VERSION: #{tvos_version}" + puts "TV_DEVICE_MODEL: #{tv_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -340,6 +380,9 @@ namespace :test do end task :watchos do + puts 'Running ParseLiveQuery watchOS Tests' + puts "WATCH_OS_VERSION: #{watchos_version}" + puts "WATCH_DEVICE_MODEL: #{watch_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -356,6 +399,7 @@ namespace :test do end task :osx do + puts 'Running ParseLiveQuery macOS Tests' task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' From 7815807b556b08d24f3f38ea75119239a5a0f426 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:02:24 +0100 Subject: [PATCH 08/14] ci: Fix auto-release (#1840) --- .github/workflows/release-automated.yml | 9 ++++++--- .github/workflows/release-manual-docs.yml | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 884501e3a..120671f1d 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -7,7 +7,7 @@ env: jobs: release: - runs-on: macos-14 + runs-on: macos-15 outputs: current_tag: ${{ steps.tag.outputs.current_tag }} steps: @@ -19,7 +19,10 @@ jobs: node-version: 22 cache: npm - name: Setup Ruby - uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1.0' + bundler-cache: true - name: Cache Gems id: cache-gems uses: actions/cache@v2 @@ -46,7 +49,7 @@ jobs: publish-docs: needs: release if: needs.release.outputs.current_tag != '' - runs-on: macos-14 + runs-on: macos-15 steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index 150763731..74847c626 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -11,7 +11,7 @@ env: jobs: publish-docs: if: github.event.inputs.tag != '' - runs-on: macos-14 + runs-on: macos-15 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -20,6 +20,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: + ruby-version: '3.1.0' bundler-cache: true - name: Submodules run: git submodule update --init --recursive From 68ae3e171bd318fed576bb271c50bdb66373f00a Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:10:32 +0100 Subject: [PATCH 09/14] ci: Fix auto-release (#1841) --- Rakefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index 1058d38c1..53e858a06 100644 --- a/Rakefile +++ b/Rakefile @@ -12,12 +12,12 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_version = ENV.fetch('IOS_VERSION') -ios_device_model = ENV.fetch('IOS_DEVICE_MODEL') -tvos_version = ENV.fetch('TV_OS_VERSION') -tv_device_model = ENV.fetch('TV_DEVICE_MODEL') -watchos_version = ENV.fetch('WATCH_OS_VERSION') -watch_device_model = ENV.fetch('WATCH_DEVICE_MODEL') +ios_version = ENV.fetch('IOS_VERSION', '') +ios_device_model = ENV.fetch('IOS_DEVICE_MODEL', '') +tvos_version = ENV.fetch('TV_OS_VERSION', '') +tv_device_model = ENV.fetch('TV_DEVICE_MODEL', '') +watchos_version = ENV.fetch('WATCH_OS_VERSION', '') +watch_device_model = ENV.fetch('WATCH_DEVICE_MODEL', '') puts "IOS_VERSION: #{ios_version}" puts "IOS_DEVICE_MODEL: #{ios_device_model}" From 492078e2e01910f9369eeed27cde793c29f03815 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 28 Jan 2025 02:12:19 +0000 Subject: [PATCH 10/14] chore(release): 5.0.0 [skip ci] # [5.0.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.2.0...5.0.0) (2025-01-28) ### Features * Remove support for Xcode 14 ([#1835](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1835)) ([e94c4d5](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/e94c4d5498e0f1241dba88a89e0547b8e6cccccb)) ### BREAKING CHANGES * This release removes support for Xcode 14. ([e94c4d5](e94c4d5)) --- CHANGELOG.md | 12 ++++++++++++ Parse/Parse/Resources/Parse-OSX.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-iOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-tvOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-watchOS.Info.plist | 4 ++-- Parse/Parse/Source/PFConstants.h | 2 +- ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery/Resources/Info.plist | 4 ++-- .../Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject/Resources/Info.plist | 4 ++-- .../ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject/Resources/Info.plist | 4 ++-- .../ParseStarter/Info.plist | 4 ++-- .../ParseStarter Extension/Info.plist | 4 ++-- .../ParseStarter/Info.plist | 4 ++-- .../ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 19 files changed, 46 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bc5167aa..b9b30ca94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# [5.0.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.2.0...5.0.0) (2025-01-28) + + +### Features + +* Remove support for Xcode 14 ([#1835](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1835)) ([e94c4d5](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/e94c4d5498e0f1241dba88a89e0547b8e6cccccb)) + + +### BREAKING CHANGES + +* This release removes support for Xcode 14. ([e94c4d5](e94c4d5)) + # [4.2.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.1.2...4.2.0) (2024-11-30) diff --git a/Parse/Parse/Resources/Parse-OSX.Info.plist b/Parse/Parse/Resources/Parse-OSX.Info.plist index da55e4a58..15d46698d 100644 --- a/Parse/Parse/Resources/Parse-OSX.Info.plist +++ b/Parse/Parse/Resources/Parse-OSX.Info.plist @@ -13,10 +13,10 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 diff --git a/Parse/Parse/Resources/Parse-iOS.Info.plist b/Parse/Parse/Resources/Parse-iOS.Info.plist index dd962ed10..8161aae34 100644 --- a/Parse/Parse/Resources/Parse-iOS.Info.plist +++ b/Parse/Parse/Resources/Parse-iOS.Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 4.2.0 + 5.0.0 MinimumOSVersion 12.0 diff --git a/Parse/Parse/Resources/Parse-tvOS.Info.plist b/Parse/Parse/Resources/Parse-tvOS.Info.plist index 45ef74784..6b1f34b08 100644 --- a/Parse/Parse/Resources/Parse-tvOS.Info.plist +++ b/Parse/Parse/Resources/Parse-tvOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 NSPrincipalClass diff --git a/Parse/Parse/Resources/Parse-watchOS.Info.plist b/Parse/Parse/Resources/Parse-watchOS.Info.plist index 45ef74784..6b1f34b08 100644 --- a/Parse/Parse/Resources/Parse-watchOS.Info.plist +++ b/Parse/Parse/Resources/Parse-watchOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 NSPrincipalClass diff --git a/Parse/Parse/Source/PFConstants.h b/Parse/Parse/Source/PFConstants.h index 596c47f21..8dffc40fe 100644 --- a/Parse/Parse/Source/PFConstants.h +++ b/Parse/Parse/Source/PFConstants.h @@ -14,7 +14,7 @@ #pragma mark - SDK Version ///-------------------------------------- -#define PARSE_VERSION @"4.2.0" +#define PARSE_VERSION @"5.0.0" ///-------------------------------------- #pragma mark - Platform diff --git a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist index f0092b162..aa47d10df 100644 --- a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleVersion - 4.2.0 + 5.0.0 diff --git a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist index f0092b162..aa47d10df 100644 --- a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleVersion - 4.2.0 + 5.0.0 diff --git a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist index 29a17dcb6..83020e391 100644 --- a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist index ccc12b22c..8e54c3e44 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSMainNibFile diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist index cbbbe17e7..b7a41b371 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile diff --git a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist index 370b19820..bfe2e5ca8 100644 --- a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist index 3aa94516d..163cc197e 100644 --- a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist @@ -19,11 +19,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 LSRequiresIPhoneOS NSMainNibFile diff --git a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist index 7f9246f93..d0bc2ee3a 100644 --- a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist index c021d59de..977582b26 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 NSExtension NSExtensionAttributes diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist index 43560fd8f..119fa7cbe 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist index 77105372e..6728682cc 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.2.0 + 5.0.0 CFBundleSignature ???? CFBundleVersion - 4.2.0 + 5.0.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/package-lock.json b/package-lock.json index b837d8a81..d8663a08d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse-sdk-ios-osx", - "version": "4.2.0", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "parse-sdk-ios-osx", - "version": "4.2.0", + "version": "5.0.0", "devDependencies": { "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.1", diff --git a/package.json b/package.json index d32e8a1e7..dc064c34b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-sdk-ios-osx", - "version": "4.2.0", + "version": "5.0.0", "private": true, "repository": { "type": "git", From 4d833775df5cacb285a507353265013571309886 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:26:57 +0100 Subject: [PATCH 11/14] docs: Remove OS badges and fix compatibility table (#1842) --- README.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 124696956..99e4c4739 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,6 @@ [![Coverage](https://img.shields.io/codecov/c/github/parse-community/Parse-SDK-iOS-OSX/master.svg)](https://codecov.io/github/parse-community/Parse-SDK-iOS-OSX?branch=master) [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/Parse-SDK-iOS-OSX/releases) -![iOS](https://img.shields.io/badge/iOS-12.0-green?style=flat) -![iPad](https://img.shields.io/badge/ipadOS-12.0-green?style=flat) -![macOS](https://img.shields.io/badge/macOS-10.15-green?style=flat) -![watchOS](https://img.shields.io/badge/watchOS-2.0-green?style=flat) -![tvOS](https://img.shields.io/badge/tvOS-12.0-green?style=flat) - ![SPM](https://img.shields.io/badge/Swift_Package_Manager-compatible-green?style=flat) [![Backers on Open Collective](https://opencollective.com/parse-server/backers/badge.svg)][open-collective-link] @@ -34,7 +28,7 @@ A library that gives you access to the powerful Parse Server backend from your i - [Getting Started](#getting-started) - [Compatibility](#compatibility) - [Parse Server](#parse-server) - - [Xcode, iOS, macOS](#xcode-ios-macos) + - [Xcode, iOS, macOS, tvOS, watchOS](#xcode-ios-macos-tvos-watchos) - [How Do I Contribute?](#how-do-i-contribute) - [Dependencies](#dependencies) @@ -62,16 +56,16 @@ Parse Apple SDK is compatible with the following versions of Parse Server. |-----------------|--------------| | 1.0.0 | >= 1.0.0 | -### Xcode, iOS, macOS +### Xcode, iOS, macOS, tvOS, watchOS The Parse Apple SDK is continuously tested with the most recent releases of Xcode to ensure compatibility. We follow the annual release schedule of Xcode to support the current and previous major Xcode version. -| Xcode Version | iOS Version | macOS Version | macOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | -|---------------|-------------|---------------|---------------|----------------|---------------------|-------------------------| -| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | September 2021 | October 2023 | >= 1.19.3 <2.7.2 | -| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2024 | >= 2.7.2 <= 5.0.0 | -| Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | September 2023 | October 2025 | >= 3.0.0 | -| Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | September 2024 | tbd | >= 4.2.0 | +| Xcode Version | iOS Version | macOS Version | watchOS Version | tvOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | +|---------------|-------------|---------------|-----------------|--------------|----------------|---------------------|-------------------------| +| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | tvOS 15 | September 2021 | October 2023 | >= 1.19.3 <2.7.2 | +| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | tvOS 16 | September 2022 | October 2024 | >= 2.7.2 <= 5.0.0 | +| Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | tvOS 17 | September 2023 | October 2025 | >= 3.0.0 | +| Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | tvOS 18 | September 2024 | tbd | >= 4.2.0 | ## How Do I Contribute? From 1169a0bf1ac895b198d7179e0325ef372945f604 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:31:22 +0100 Subject: [PATCH 12/14] docs: Fix compatibility table versions (#1843) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 99e4c4739..2339488be 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,8 @@ The Parse Apple SDK is continuously tested with the most recent releases of Xcod | Xcode Version | iOS Version | macOS Version | watchOS Version | tvOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | |---------------|-------------|---------------|-----------------|--------------|----------------|---------------------|-------------------------| -| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | tvOS 15 | September 2021 | October 2023 | >= 1.19.3 <2.7.2 | -| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | tvOS 16 | September 2022 | October 2024 | >= 2.7.2 <= 5.0.0 | +| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | tvOS 15 | September 2021 | October 2023 | >= 1.19.3 < 2.7.2 | +| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | tvOS 16 | September 2022 | October 2024 | >= 2.7.2 < 5.0.0 | | Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | tvOS 17 | September 2023 | October 2025 | >= 3.0.0 | | Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | tvOS 18 | September 2024 | tbd | >= 4.2.0 | From e197cfa1c7827786156c5559088eb3752c9f4e92 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Tue, 28 Jan 2025 09:46:46 -0600 Subject: [PATCH 13/14] feat: Add `PFObject.fromDictionary` to create an object from dictionary (#1834) --- Parse/Parse/Source/PFObject.h | 13 +++++++++++++ Parse/Parse/Source/PFObject.m | 7 +++++++ Parse/Tests/Unit/ObjectUnitTests.m | 9 +++++++++ 3 files changed, 29 insertions(+) diff --git a/Parse/Parse/Source/PFObject.h b/Parse/Parse/Source/PFObject.h index be1738c7d..9f89866d7 100644 --- a/Parse/Parse/Source/PFObject.h +++ b/Parse/Parse/Source/PFObject.h @@ -880,6 +880,19 @@ NS_REQUIRES_PROPERTY_DEFINITIONS withName:(NSString *)name block:(nullable PFBooleanResultBlock)block; +///-------------------------------------- +#pragma mark - Serialization +///-------------------------------------- + +/** + Creates a PFObject from a dictionary object. + + @param dictionary Undecoded dictionary. + @param defaultClassName The className of the resulting object if none is given by the dictionary. + */ ++ (id)fromDictionary:(NSDictionary *)dictionary + defaultClassName:(NSString *)defaultClassName; + @end NS_ASSUME_NONNULL_END diff --git a/Parse/Parse/Source/PFObject.m b/Parse/Parse/Source/PFObject.m index 48c24a801..11e97e3bf 100644 --- a/Parse/Parse/Source/PFObject.m +++ b/Parse/Parse/Source/PFObject.m @@ -809,6 +809,13 @@ - (BOOL)resolveLocalId:(NSError *__autoreleasing*)error { return YES; } ++ (id)fromDictionary:(NSDictionary *)dictionary + defaultClassName:(NSString *)defaultClassName { + return [self _objectFromDictionary:dictionary + defaultClassName:defaultClassName + completeData:YES]; +} + + (id)_objectFromDictionary:(NSDictionary *)dictionary defaultClassName:(NSString *)defaultClassName completeData:(BOOL)completeData { diff --git a/Parse/Tests/Unit/ObjectUnitTests.m b/Parse/Tests/Unit/ObjectUnitTests.m index 56b7333f3..8c95f0f78 100644 --- a/Parse/Tests/Unit/ObjectUnitTests.m +++ b/Parse/Tests/Unit/ObjectUnitTests.m @@ -361,4 +361,13 @@ -(void)testLocalRESTEncoding { XCTAssertNil(error); } +- (void)testFromDictionary { + NSDictionary *dict = @{ @"objectId": @"XYZ", @"score" : @1.0 }; + PFObject *object = [PFObject fromDictionary:dict + defaultClassName:@"Test"]; + + XCTAssertEqualObjects(dict[@"objectId"], object.objectId); + XCTAssertEqualObjects(dict[@"score"], object[@"score"]); +} + @end From e947529e8d2703557202ca8eb50e96a2a392560e Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 28 Jan 2025 15:47:31 +0000 Subject: [PATCH 14/14] chore(release): 5.1.0 [skip ci] # [5.1.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/5.0.0...5.1.0) (2025-01-28) ### Features * Add `PFObject.fromDictionary` to create an object from dictionary ([#1834](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1834)) ([e197cfa](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/e197cfa1c7827786156c5559088eb3752c9f4e92)) --- CHANGELOG.md | 7 +++++++ Parse/Parse/Resources/Parse-OSX.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-iOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-tvOS.Info.plist | 4 ++-- Parse/Parse/Resources/Parse-watchOS.Info.plist | 4 ++-- Parse/Parse/Source/PFConstants.h | 2 +- ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist | 4 ++-- ParseLiveQuery/ParseLiveQuery/Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject-Swift/Resources/Info.plist | 4 ++-- .../OSX/ParseOSXStarterProject/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- .../iOS/ParseStarterProject/Resources/Info.plist | 4 ++-- .../tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist | 4 ++-- .../ParseStarter Extension/Info.plist | 4 ++-- .../ParseStarterProject-Swift/ParseStarter/Info.plist | 4 ++-- .../watchOS/ParseStarterProject-Swift/Resources/Info.plist | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 19 files changed, 41 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9b30ca94..8f0c982cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [5.1.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/5.0.0...5.1.0) (2025-01-28) + + +### Features + +* Add `PFObject.fromDictionary` to create an object from dictionary ([#1834](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1834)) ([e197cfa](https://github.com/parse-community/Parse-SDK-iOS-OSX/commit/e197cfa1c7827786156c5559088eb3752c9f4e92)) + # [5.0.0](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/4.2.0...5.0.0) (2025-01-28) diff --git a/Parse/Parse/Resources/Parse-OSX.Info.plist b/Parse/Parse/Resources/Parse-OSX.Info.plist index 15d46698d..46f3f4163 100644 --- a/Parse/Parse/Resources/Parse-OSX.Info.plist +++ b/Parse/Parse/Resources/Parse-OSX.Info.plist @@ -13,10 +13,10 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 diff --git a/Parse/Parse/Resources/Parse-iOS.Info.plist b/Parse/Parse/Resources/Parse-iOS.Info.plist index 8161aae34..2c9c2f833 100644 --- a/Parse/Parse/Resources/Parse-iOS.Info.plist +++ b/Parse/Parse/Resources/Parse-iOS.Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -21,7 +21,7 @@ iPhoneOS CFBundleVersion - 5.0.0 + 5.1.0 MinimumOSVersion 12.0 diff --git a/Parse/Parse/Resources/Parse-tvOS.Info.plist b/Parse/Parse/Resources/Parse-tvOS.Info.plist index 6b1f34b08..5ed5c2d09 100644 --- a/Parse/Parse/Resources/Parse-tvOS.Info.plist +++ b/Parse/Parse/Resources/Parse-tvOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 NSPrincipalClass diff --git a/Parse/Parse/Resources/Parse-watchOS.Info.plist b/Parse/Parse/Resources/Parse-watchOS.Info.plist index 6b1f34b08..5ed5c2d09 100644 --- a/Parse/Parse/Resources/Parse-watchOS.Info.plist +++ b/Parse/Parse/Resources/Parse-watchOS.Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 NSPrincipalClass diff --git a/Parse/Parse/Source/PFConstants.h b/Parse/Parse/Source/PFConstants.h index 8dffc40fe..4f6ddf50f 100644 --- a/Parse/Parse/Source/PFConstants.h +++ b/Parse/Parse/Source/PFConstants.h @@ -14,7 +14,7 @@ #pragma mark - SDK Version ///-------------------------------------- -#define PARSE_VERSION @"5.0.0" +#define PARSE_VERSION @"5.1.0" ///-------------------------------------- #pragma mark - Platform diff --git a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist index aa47d10df..24d8e8527 100644 --- a/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-tvOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleVersion - 5.0.0 + 5.1.0 diff --git a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist index aa47d10df..24d8e8527 100644 --- a/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery-watchOS/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleVersion - 5.0.0 + 5.1.0 diff --git a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist index 83020e391..6c1e44323 100644 --- a/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist +++ b/ParseLiveQuery/ParseLiveQuery/Resources/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist index 8e54c3e44..9dc4d98a9 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSMainNibFile diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist index b7a41b371..5eddb47e5 100644 --- a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist +++ b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile diff --git a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist index bfe2e5ca8..75065052f 100644 --- a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist index 163cc197e..71a032a8c 100644 --- a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist +++ b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist @@ -19,11 +19,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 LSRequiresIPhoneOS NSMainNibFile diff --git a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist index d0bc2ee3a..ecdee283e 100644 --- a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist index 977582b26..16081f627 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 NSExtension NSExtensionAttributes diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist index 119fa7cbe..8fc54941b 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist index 6728682cc..25684eded 100644 --- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist +++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0.0 + 5.1.0 CFBundleSignature ???? CFBundleVersion - 5.0.0 + 5.1.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/package-lock.json b/package-lock.json index d8663a08d..0245e7543 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse-sdk-ios-osx", - "version": "5.0.0", + "version": "5.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "parse-sdk-ios-osx", - "version": "5.0.0", + "version": "5.1.0", "devDependencies": { "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.1", diff --git a/package.json b/package.json index dc064c34b..91ec6ed29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-sdk-ios-osx", - "version": "5.0.0", + "version": "5.1.0", "private": true, "repository": { "type": "git",