Releases: google/gtm-session-fetcher
Releases · google/gtm-session-fetcher
v2.2.0 Release
What's Changed
- Add #if DEBUG to vars not used outside of DEBUG by @itf in #319
- Fix -wunused-but-set-variable by using __unused attribute by @itf in #321
- Convert
#pragma unused()
uses to__unused
. by @mwyman in #322 - Enable
.allowLocalhostRequest
on some tests failing under Xcode 14. by @mwyman in #325 - Bump minimum iOS version to 10.0. by @mwyman in #327
- Replace
dispatch_semaphore
use withos_unfair_lock
. by @mwyman in #324 - Remove most methods from GTMSessionFetcherServiceProtocol. by @mwyman in #329
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0 Release
What's Changed
- Deprecating GTMFetcherAuthorizationProtocol in favor of new GTMSessionFetcherAuthorizer by @mwyman in #315
- Version bump for a release by @thomasvl in #316
Full Changelog: v2.0.0...v2.1.0
v2.0.0 Release
With this release the source layout has been changed to better match what SwiftPM wants (this was done in the model used by Firebase to hopefully allow for easier integrations). Both SwiftPM and CocoaPods now support #import
ing headers as #import <GTMSessionFetcher/HEADER_NAME.h>
. The modular imports still are unchanged and unique to each package system because of the inherent differences in the package systems.
Other changes:
- The wiki has been retired and the content moved to markdown pages in the repository to allow for contributions going forward.
- Apis that had previously been deprecated have been removed. #288, #289
- SwiftPM and CocoaPods systems now run all the unittests.
- The Xcode project within the project was dropped and CocoaPods and/or SwiftPM can be directly used to work on the project to ensure things continue to work.
- The Github Actions have been improved to have better coverage on future changes to the project.
- Add explicit concurrent callback queue support for the fetcher service. #257
- Drop the XML processing/formatting support. #279
- Invoke the fetcher's completion only after releasing callbacks. #299
v1.7.2 Release
v1.7.1 Release
v1.7.0 Release
- New APIs
-[GTMSessionFetcherService addDecorator:]
and-removeDecorator:
. Allows creators and clients of aGTMSessionFetcherService
to create and add decorators to intercept each created fetcher at fetch begin or retry time, and which can be notified when the fetch completes/finishes. These decorators may alter theNSURLRequest
for the fetcher, adding HTTP headers or (e.g.) URL query parameters on retry. - Cleans up some macro usage made obsolete by prior minimum OS/Xcode version bumps.
v1.6.1 Release
Reverts removal of GTMHTTPFetcher
backwards compatibility code and bridging macros, to address build break in dependencies that haven't released since removing them.
v1.6.0 Release
- Updates minimum Xcode and SDK versions:
- Xcode 11.7+
- iOS 9+
- macOS 10.12+
- tvOS 10+
- watchOS 6+
- Removes obsolete
GTMHTTPFetcher
(pre-iOS 7) backwards compatibility helpers. - Adds
GTMSESSION_RECONNECT_BACKGROUND_SESSIONS_ON_LAUNCH
flag to determine whether to automatically reconnect background sessions on app launch; apps disabling this behavior (defining the flag = 0) must call[GTMSessionFetcher uploadFetchersForBackgroundSessions]
directly in order to reconnect any background session tasks. - Allow overriding the version in
GTMFetcherApplicationIdentifier
by setting theGTMUserAgentVersion
key in the bundle'sInfo.plist
. - Fixed session invalidation on cancellation.
- Updates to tests.
v1.5.0 Release
- #197 - Revert "Work around early iOS 13 betas still in use."
- #198 - Check a service exists before marking created
NSURLSession
as shared. - #204 - Add the
clientWillReconnectBackgroundSession
property toGTMSessionFetcher
. - Xcode 12 minimum iOS version issues (move minimum OS in some files to iOS 9, but older ones should still work if using older Xcode versions and your own project file)
- #207 - Protect access to the taskid to deal with different threads.