Skip to content

Releases: google/gtm-session-fetcher

v2.2.0 Release

04 Nov 15:11
Compare
Choose a tag to compare

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 with os_unfair_lock. by @mwyman in #324
  • Remove most methods from GTMSessionFetcherServiceProtocol. by @mwyman in #329

New Contributors

  • @itf made their first contribution in #319

Full Changelog: v2.1.0...v2.2.0

v2.1.0 Release

19 Aug 16:28
Compare
Choose a tag to compare

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

17 May 13:15
Compare
Choose a tag to compare

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 #importing 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

28 Apr 18:08
Compare
Choose a tag to compare
  • Improve GTMSessionFetcher logging #256
  • Log only in verbose mode to reduce the chatter #267

v1.7.1 Release

22 Mar 19:44
eca9404
Compare
Choose a tag to compare
  • Fix up compilation with -Woverriding-method-mismatch #263 & #264
  • Fix static analysis nullability violation finding from Xcode 13.1 #266
  • Ignore -Wunused warnings around objc_precise_lifetime variables. #269

v1.7.0 Release

02 Sep 21:11
bc6a197
Compare
Choose a tag to compare
  • New APIs -[GTMSessionFetcherService addDecorator:] and -removeDecorator:. Allows creators and clients of a GTMSessionFetcherService 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 the NSURLRequest 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

23 Jun 23:01
Compare
Choose a tag to compare

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

23 Jun 19:07
Compare
Choose a tag to compare
  • 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 the GTMUserAgentVersion key in the bundle's Info.plist.
  • Fixed session invalidation on cancellation.
  • Updates to tests.

v1.5.0 Release

22 Oct 15:59
Compare
Choose a tag to compare
  • #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 to GTMSessionFetcher.
  • 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.

v1.4.0 Release

30 Apr 18:35
1d4ef59
Compare
Choose a tag to compare
  • #141 Handle empty and non-existing files to upload.
  • #188 Support metrics collection.
  • #191 Add Swift Package Manager support.
  • Unit test threading fixes.