Skip to content

Releases: google/gtm-session-fetcher

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.

v1.3.1 Release

08 Jan 21:20
Compare
Choose a tag to compare
  • #174 Release fetcher's active background task while awaiting retry.
  • #170 Work around early iOS 13 betas still in use.
  • #167 Make GTMSessionUploadFetcher's chunkSize property readonly.

Fixes some flakey tests, and does a little internal cleanup related to SDK version macros.

v1.3.0 Release

22 Oct 17:03
Compare
Choose a tag to compare
  • #145 - GTMSessionUploadFetcher: pass through allowsCellularAccess from the parent request to subsequent chunk requests.
  • #154 - Reconnect background session fetchers after UIApplicationDidFinishLaunching.
  • #155 - Include support for TLSMinimumSupportedProtocolVersion.
  • #160 - Use SecTrustEvaluateWithError on platforms that require it.
  • #161 - Clean up macros guarding the use of TLSMinimumSupportedProtocol.
  • #163 - Use WKWebView in GTMSessionFetcherLogViewController, rather than UIWebView

These should also allow use of the SessionFetcher with Catalyst.

v1.2.2 Release

17 May 17:59
Compare
Choose a tag to compare

Minor updates:

  • #139 - Fix a synchronization-related crash in setUseBackgroundSession:
  • #142 - Safely handle when the NSURLSession has been swizzled and its delegate replaced with a proxy.

v1.2.1 Release

19 Nov 15:26
Compare
Choose a tag to compare
  • #126 Add a variant to -mockFetcherServiceWithFakedData:error:
  • #133
    • Avoid parsing and generating the redirect URL if we are not changing the scheme of the URL.
    • Fixes for nullability build issue with more warnings enabled.
    • Don't build GTMSessionSyncMonitorInternal in DEBUG builds if NS_BLOCK_ASSERTIONS is defined. Unless GTMSESSION_ASSERT_AS_LOG is also defined.
  • #134 Remove deprecated mutableRequest property.

v1.2.0 Release

26 Jul 12:35
Compare
Choose a tag to compare
  • #118 Some string formatting fixes for newer Xcodes.
  • #121 Ensure the body from an HTTP failure is exposed in the NSError during callbacks.
  • #125 Ensure the content type header is also expose in the NSError so the data can be inspected.
  • #125 Fix up some headers for resuming media transfers.
  • #125 When the library creates the logging directory, tag it as not being backed up.

Exposing the HTTP payload on HTTP failures can result in more memory usage (there is a limit on how big of data it will expose in the error), so the library was bumped to 1.2.x so help call out this potential impact on apps at runtime.

v1.1.15 Release

06 Apr 14:30
Compare
Choose a tag to compare
  • #115 Fixes for new format string checks in Xcode 9.3.

v1.1.14 Release

26 Feb 20:34
Compare
Choose a tag to compare
  • #111 Support for CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF which CocoaPods seems to be adopting.