From 48b38b15363846e0714bc632c1939f721f71f4b2 Mon Sep 17 00:00:00 2001 From: Corey Date: Sat, 20 Jul 2024 14:53:02 -0700 Subject: [PATCH] fix: Allow className property of ParseHookTriggerObject to usable by developers (#180) --- CHANGELOG.md | 9 ++++++++- Sources/ParseSwift/ParseConstants.swift | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2b08df2c..cf878c86f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,16 @@ # Parse-Swift Changelog ### main -[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.11.0...main), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/main/documentation/parseswift) +[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.11.1...main), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/main/documentation/parseswift) * _Contributing to this repo? Add info about your change here to be included in the next release_ + +### 5.11.1 +[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.11.0...5.11.1), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/5.11.0/documentation/parseswift) + +__Fixes__ +* Make className property of ParseHookTriggerObject public ([#180](https://github.com/netreconlab/Parse-Swift/pull/180)), thanks to [Corey Baker](https://github.com/cbaker6). + ### 5.11.0 [Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.10.3...5.11.0), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/5.11.0/documentation/parseswift) diff --git a/Sources/ParseSwift/ParseConstants.swift b/Sources/ParseSwift/ParseConstants.swift index 0b3930438..567f66297 100644 --- a/Sources/ParseSwift/ParseConstants.swift +++ b/Sources/ParseSwift/ParseConstants.swift @@ -10,7 +10,7 @@ import Foundation enum ParseConstants { static let sdk = "swift" - static let version = "5.11.0" + static let version = "5.11.1" static let fileManagementDirectory = "parse/" static let fileManagementPrivateDocumentsDirectory = "Private Documents/" static let fileManagementLibraryDirectory = "Library/" @@ -88,7 +88,7 @@ public enum ParseHookTriggerObject: Sendable { case liveQueryConnect /// The class name of the `ParseObject` to trigger on. - var className: String { + public var className: String { switch self { case .objectType(let object):