Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/java-storage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.6
Choose a base ref
...
head repository: googleapis/java-storage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.7
Choose a head ref
  • 15 commits
  • 44 files changed
  • 5 contributors

Commits on Sep 24, 2021

  1. chore: release 2.1.7-SNAPSHOT (#1044)

    🤖 I have created a release \*beep\* \*boop\*
    ---
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    ---
    
    
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    c62fcb7 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. chore(retry): introduce RetryAlgorithmManager (#1029)

    ### Summary
    * RetryAlgorithmManager provides an abstraction point for determining
      which ExceptionHandler should be used for a specific call.
    * Implement LegacyRetryAlgorithmManager for which all methods return
      BaseService.EXCEPTION_HANDLER which is hardcoded everywhere
      previously.
    * Stub out NewRetryAlgorithmManager which currently extends
      LegacyRetryAlgorithmManager, but allows for overriding individual
      methods in an incremental manner.
    
    ### Refactoring
    * All usages of BaseService.EXCEPTION_HANDLER in StorageImpl, Blob,
      Bucket etc now instead use RetryAlgorithmManager to resolve a
      handler per method.
    * Refactor Blob to use Retrying#run instead of runWithRetries
    * Split starting of a resumable upload session out of BlobWriteChannel
      to ResumableMedia. This decouple the ability to instantiate a
      BlobWriteChannel independent of performing an RPC to resolve the
      uploadId. This split is also necessary to allow differing configuration
      of ExceptionHandler for open vs write of a resumable upload session.
    * Refactor StorageException#translateAndThrow to allow for an option which
      doesn't throw, new StorageException#coalesce which attempts to coalesce
      to a BaseServiceException but doesn't throw.
    * Relax several easymock assertions on StorageOptions method. (Calling get
      on an immutable object shouldn't be so concerned with invocation count)
    
    Related to #1024
    BenWhitehead authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ea1eeb9 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency com.google.cloud:google-cloud-storage …

    …to v2.1.6 (#1045)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-storage](https://togithub.com/googleapis/java-storage) | `2.1.5` -> `2.1.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.1.6/compatibility-slim/2.1.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.1.6/confidence-slim/2.1.5)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/java-storage</summary>
    
    ### [`v2.1.6`](https://togithub.com/googleapis/java-storage/blob/master/CHANGELOG.md#&#8203;216-httpswwwgithubcomgoogleapisjava-storagecomparev215v216-2021-09-24)
    
    [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.1.5...v2.1.6)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    2e7f041 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Configuration menu
    Copy the full SHA
    6d73e46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c79005 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    980dbd0 View commit details
    Browse the repository at this point in the history
  4. test: retry conformance tests fixes, round 3 (#1050)

    * add applicability predicate for setIamPolicy mappings
    * add metageneration precondition mapping for setIamPolicy
    * add applicability predicate for hmacKey.update mappings
    * fix objects.delete mappings to use stateful blob
    * fix objects.delete to use generationMatch
    * add applicability predicate for objects.patch mappings
    BenWhitehead authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    3716105 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Configuration menu
    Copy the full SHA
    7a1a928 View commit details
    Browse the repository at this point in the history
  2. chore: refactor PostPolicyV4Test to be compatible with behavior chang…

    …e of Collections.unmodifiableMap from jdk 17 (#1016)
    BenWhitehead authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    575cf12 View commit details
    Browse the repository at this point in the history
  3. build: add jdk 17 to java units and dependency builds (#1048)

    * chore(java): rename master branch to main
    
    Source-Author: Neenu Shaji <[email protected]>
    Source-Date: Mon Sep 27 10:04:11 2021 -0400
    Source-Repo: googleapis/synthtool
    Source-Sha: 67ab4f9f4272ad13f4b809de47fd0dec05f425ad
    Source-Link: googleapis/synthtool@67ab4f9
    
    * build: add jdk 17 to java units and dependency builds
    
    * update dependencies.sh to not pass MaxPermSize when jdk 17 is used. MaxPermSize is an unrecognized flag in jdk 17.
    
    Source-Author: BenWhitehead <[email protected]>
    Source-Date: Mon Sep 27 11:34:46 2021 -0400
    Source-Repo: googleapis/synthtool
    Source-Sha: a4be3384ccb92364795d981f2863f6986fcee620
    Source-Link: googleapis/synthtool@a4be338
    yoshi-automation authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    8717cd6 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. chore(retry): implement new retry exception handlers (#1058)

    * add idempotent handler
    * add idempotent resumable write handler
    * add non-idempotent handler
    
    test count summary shift after this change
    failure -> success: 55
      error -> success: 24
    success -> failure: 26
    BenWhitehead authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    35cb2f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97b1a2e View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dependency com.google.cloud:libraries-bom to v23.…

    …1.0 (#1060)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `23.0.0` -> `23.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/compatibility-slim/23.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/confidence-slim/23.0.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    193a30a View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. test(retry): fix objects.compose tests (#1062)

    * fix incorrect evaluation of idempotency for objects.compose (now generation, previously metageneration)
    * add mapping for non-idempotent objects.compose invocation
    * add CtxFunction to construct a ComposeRequest relative to the state
    * add ComposeRequest handling to state
    BenWhitehead authored Oct 4, 2021
    Configuration menu
    Copy the full SHA
    4478b9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf3207b View commit details
    Browse the repository at this point in the history
Loading