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/google-http-java-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.41.5
Choose a base ref
...
head repository: googleapis/google-http-java-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.41.6
Choose a head ref
  • 11 commits
  • 26 files changed
  • 7 contributors

Commits on Mar 24, 2022

  1. chore(main): release 1.41.6-SNAPSHOT (#1609)

    🤖 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 Mar 24, 2022
    Configuration menu
    Copy the full SHA
    2ed19b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Configuration menu
    Copy the full SHA
    7e91e67 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. fix: Content-Encoding: gzip along with Transfer-Encoding: chunked

    … sometimes terminates early (#1608)
    
    #### The issue
    When `GZIPInputStream` completes processing an individual member it will call `InputStream#available()`
    to determine if there is more stream to try and process. If the call to `available()` returns 0
    `GZIPInputStream` will determine it has processed the entirety of the underlying stream. This is
    spurious, as `InputStream#available()` is allowed to return 0 if it would require blocking in order
    for more bytes to be available. When `GZIPInputStream` is reading from a `Transfer-Encoding: chunked`
    response, if the chunk boundary happens to align closely enough to the member boundary
    `GZIPInputStream` won't consume the whole response.
    
    #### The fix
    Add new `OptimisticAvailabilityInputStream`, which provides an optimistic "estimate" of the number of
    `available()` bytes in the underlying stream. When instantiating a `GZIPInputStream` for a response,
    automatically decorate the provided `InputStream` with an `OptimisticAvailabilityInputStream`.
    
    #### Verification
    This scenario isn't unique to processing of chunked responses, and can be replicated reliably using
    a `java.io.SequenceInputStream` with two underlying `java.io.ByteArrayInputStream`. See
    GzipSupportTest.java for a reproduction.
    
    The need for this class has been verified for the following JVMs:
    * ```
      openjdk version "1.8.0_292"
      OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
      OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
      ```
    * ```
      openjdk version "11.0.14.1" 2022-02-08
      OpenJDK Runtime Environment Temurin-11.0.14.1+1 (build 11.0.14.1+1)
      OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (build 11.0.14.1+1, mixed mode)
      ```
    * ```
      openjdk version "17" 2021-09-14
      OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
      OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode, sharing)
      ```
    BenWhitehead authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    941da8b View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. chore(deps): update dependency com.google.cloud:libraries-bom to v25.…

    …1.0 (#1614)
    
    [![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://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.0.0` -> `25.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/compatibility-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/confidence-slim/25.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, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/google-http-java-client).
    renovate-bot authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    5d0cca0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd3b31a View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    640dc40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08491f8 View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dependency org.sonatype.plugins:nexus-staging-mav…

    …en-plugin to v1.6.12 (#1388) (#1617)
    
    Co-authored-by: Neenu Shaji <[email protected]>
    Source-Link: googleapis/synthtool@4c770a0
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:029f8a2fcd20ab09808e4a5cf5f3866f5976b6635197c764679f9b22591aab58
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Neenu Shaji <[email protected]>
    3 people authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    4ace294 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e1101d View commit details
    Browse the repository at this point in the history
  5. chore: Enable Size-Label bot in all googleapis Java repositories (#1381

    …) (#1623)
    
    * chore: Enable Size-Label bot in all googleapis Java repositories
    
    Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories
    
    * Remove product
    
    Remove product since it is by default true
    
    * add license header
    
    Co-authored-by: Neenu Shaji <[email protected]>
    Source-Link: googleapis/synthtool@54b2c6a
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
    gcf-owl-bot[bot] and Neenu1995 authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    71f720c View commit details
    Browse the repository at this point in the history
  6. chore(main): release 1.41.6 (#1612)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    983f8f5 View commit details
    Browse the repository at this point in the history
Loading