639 Commits
Author SHA1 Message Date
Mend Renovate 875d4e457a Update all non-major dependencies 2026-11-09 09:46:04 -05:00
Mend Renovate 265d690baa Update all non-major dependencies 2026-11-01 22:59:31 -05:00
Mend Renovate 9fdbf82ece Update all non-major dependencies 2026-10-26 10:25:23 -04:00
Mend Renovate 7eebf48179 Update dependency rules_apple to v5.3.1 2026-10-20 08:49:07 -04:00
Thomas Van Lenten 9e0b1c2671 Update workflows for current Google project needs.
- Add permissions block.
- Switch to hashs over tags.
2026-10-20 08:07:25 -04:00
Thomas Van Lenten 5a7780f368 Should get raw hashes used instead of tags.
Matches new policies for Google projects.
2026-10-19 23:34:10 -04:00
Mend Renovate 4297a41205 Update all non-major dependencies 2026-10-12 10:02:37 -04:00
Mend Renovate 9f8a401212 Update all non-major dependencies 2026-09-28 09:11:50 -04:00
Thomas Van Lenten 6634e84db6 Revert "Support testBlock on restarted upload fetchers without querying network (#185) (#583)"
This reverts commit 7f0723149c.

Seeing some of our (Google's) tests fail because of the change in flow, holding
off on this change until the change in behavior can be better
documented/understood. This might end up needing to be a breaking change if the
behavior difference on tests is enough.
2026-09-24 09:35:06 -04:00
Mend Renovate f9ba439b06 Update all non-major dependencies 2026-09-21 08:14:59 -04:00
RKS 7f0723149c Support testBlock on restarted upload fetchers without querying network (#185) (#583)
* Support testBlock on restarted upload fetchers without querying network (#185)

* Scope restarted upload setup to test blocks (#185)

* Document restarted upload request synthesis for testBlock (#185)
2026-09-17 10:13:06 -04:00
RKS 182fc958ee Add option to disable JSON reformatting in debug logs (#101) (#584)
* Add option to disable JSON reformatting in debug logs (#101)

When logging JSON payloads, GTM re-serializes the payload with pretty-printing,
which can modify float representations (e.g. 2.06 -> 2.0600000000000001) and
obscure wire-level formatting.

This change adds `setReformatLoggedJSONEnabled:` / `isReformatLoggedJSONEnabled`
(defaulting to YES). When disabled:
- The raw payload is logged without reformatting, preserving exact number
  representations and whitespace.
- If the payload contains sensitive OAuth tokens (`access_token` or `refresh_token`),
  the entire payload in the log is redacted (`_snip_`) to avoid token leakage
  without falling back to re-serialization.

Fixes #101

* Strengthen JSON formatting regression tests (#101)
2026-09-15 14:52:07 -04:00
RKS 8b864f38e5 Update downloadedLength during destinationFileURL download tasks (#88) (#581)
* Update downloadedLength during destinationFileURL download tasks (#88)

* Avoid retain cycle in download progress test
2026-09-15 11:58:01 -04:00
RKS 420008c918 Deflake testThreadingStress by recognizing network timeouts as server overload (#356) 2026-09-14 17:26:58 -04:00
Thomas Van Lenten eb61616fd0 Update rules_apple to 5.0.1 2026-09-14 15:29:55 -04:00
Mend Renovate c7aa0a2d24 Update dependency rules_swift to v4 2026-09-14 13:06:27 -04:00
Mend Renovate 6544f86315 Update dependency apple_support to v2.8.2 2026-09-13 21:24:22 -04:00
Thomas Van Lenten 58545529d0 Small cleanups (#574)
- Helper for slightly more readable code testing scheme.
- More consistent checks for the redirect server testing.
- clang-format on the files.
2026-09-11 13:19:41 -07:00
Thomas Van Lenten 01e426cd3a Fix typo (#573)
LGTM
2026-09-11 09:17:49 -07:00
Thomas Van Lenten 87ffb9098b Remove some Xcode 13 references/workarounds and use current concepts instead. (#572)
LGTM
2026-09-11 09:06:05 -07:00
Mend Renovate d32a1f063b Update dependency apple_support to v2.8.1 2026-08-24 09:42:27 -04:00
Thomas Van Lenten 724a52eea6 Version bump for a release.
This just captures some of the bazel updates, there are no code changes to
capture.
v5.3.1
2026-08-04 09:56:54 -04:00
Thomas Van Lenten 0c64624bd7 Docs update re cocoapods future. 2026-08-04 09:04:42 -04:00
Mend Renovate 5d5385e8e0 Update dependency apple_support to v2.8.0 2026-07-27 11:46:10 -04:00
Mend Renovate 02c68701d2 Update dependency bazel to v9.2.0 2026-07-20 10:11:10 -04:00
Mend Renovate c9636f54f9 Update dependency rules_cc to v0.2.22 2026-07-13 09:48:37 -04:00
Mend Renovate f81529bb57 Update all non-major dependencies 2026-07-05 21:44:03 -04:00
Thomas Van Lenten 066490edbf Add helper to retry for some errors to try and deflake. 2026-06-30 11:47:54 -04:00
Mend Renovate dd7560dc68 Update dependency rules_cc to v0.2.20 2026-06-29 10:16:13 -04:00
Mend Renovate 5073407388 Update actions/checkout action to v7 2026-06-22 10:23:56 -04:00
Mend Renovate c74180182c Update all non-major dependencies 2026-06-07 22:13:21 -04:00
Mend Renovate 2f5d309f4e Update dependency macos to v26 2026-05-18 14:56:01 -04:00
Thomas Van Lenten 475203b730 Bump some more CI devices. 2026-05-18 13:05:06 -04:00
Thomas Van Lenten 5b7a9f17c6 Bump to new device for CI. 2026-05-18 10:57:19 -04:00
Thomas Van Lenten 8f394ddf2a Drop the not about making an Xcode project from CocoaPods.
Might as well drop this reference in advance of when CocoaPods will shutdown.
2026-05-12 09:54:05 -04:00
Thomas Van Lenten c0ac7575d7 Version bump for a release v5.3.0 2026-05-12 09:13:13 -04:00
Mend Renovate a2ca26466a Update dependency platforms to v1.1.0 2026-05-04 07:27:38 -04:00
Mend Renovate f42809bf65 Update all non-major dependencies 2026-04-27 09:44:43 -04:00
Mend Renovate 4c1ddfd4a8 Update all non-major dependencies 2026-04-19 21:39:32 -04:00
danielresnick 3f52c5455d Fix responseHeaders and statusCode availability on interruption / offset query finalization. (#550)
Ensure that responseHeaders and statusCode are consistently available to clients when an upload completes outside of a standard chunk upload (e.g., when it is interrupted but completes on the server, or when the fetcher is instantiated with an already completed URL).

Previously, if a final chunk upload was interrupted, a subsequent query request would retrieve the final response but fail to expose the final response headers and status code because the internal fetcher state was released.

This change caches the response headers and status code from the most recent chunk fetcher before it finishes or is destroyed, and exposes them via the responseHeaders and statusCode getters. If no chunk requests were made, it falls back to the superclass to ensure initial connection creation failures are still reported correctly.
2026-03-31 14:43:22 -04:00
Mend Renovate bba0d4d0f2 Update all non-major dependencies 2026-03-30 07:29:47 -04:00
Thomas Van Lenten 0be208810d Version bump for a release. v5.2.0 2026-03-22 22:48:20 -04:00
Mend Renovate 8afcdfdeb0 Update dependency rules_apple to v4.5.1 2026-03-22 22:47:42 -04:00
Bryan Summersett f0d9401553 Handle shared session invalidation during async user agent lookup (#546)
* Avoid stale shared sessions during async user agent lookup
* Reuse existing user agent test helper

Fixes #545
2026-03-20 09:44:39 -04:00
Vlad-Mihai Corneci 204c8caa6d Invalidate GTMSessionFetcher's session on stop.
Invalidate the NSURLSession in stopFetching if _shouldInvalidateSession is set, ensuring the session is properly cleaned up.
2026-03-19 09:39:08 -04:00
Thomas Van Lenten d46d915d2a remove no longer needed rc file 2026-03-16 14:56:56 -04:00
Mend Renovate beaacba731 Update dependency bazel to v9 2026-03-10 20:46:02 -04:00
Mend Renovate e694315b42 Update all non-major dependencies 2026-03-08 23:49:06 -04:00
Mend Renovate fb13b6742f Update all non-major dependencies 2026-03-02 07:39:53 -05:00
Mend Renovate 82afbf293c Update dependency rules_cc to v0.2.17 2026-02-22 21:22:43 -05:00