Skip to content

v1.28.0

Compare
Choose a tag to compare
@chingor13 chingor13 released this 15 Jan 20:31
2ee8e99

01-10-2019 10:14 PST

Breaking Changes

  • Java 6 support was dropped - (#542)
  • The Apache HttpClient adapter was extracted out of the primary google-http-client artifact into the google-http-client-apache artifact with 2 separate versions (#543):
    • Version 1.28.0 uses the exact same interface that was extracted from google-http-client and lives under the google-http-client-apache-legacy/ directory
    • Version 2.0.0 uses a simplified version of the code (breaking changes included), but allows you to actually use a modern version of Apache's HttpClient.

Implementation Changes

  • Allow users to override handleResponse on HttpBackOffUnsuccessfulResponseHandler (#560)
  • Fix iterable maps JSON serialization (#550)
  • Fixed MockBackOff#getMaxTries, returns maxTries (#548)
  • Implement Closeable & Flushable in JsonGenerator and JsonParser (#540)
  • Fix building HttpResponseException when charset is malformed (#535)
  • Fix UriTemplate.expand to properly escape value (#534)
  • GenericData can now overload setters (#538)
  • Make signature of com.google.api.client.util.Data#nullOf more type safe (#537)
  • Request charset defaults to UTF-8, Response charset defaults to ISO_8859_1 (#532)

New Features

  • Re-add OpenCensus integration (#545)
    • Annotation OpenCensusUtils as beta. (#570)
    • OpenCensusUtils does need to be public (#569)
    • Move OpenCensusUtils to com.google.api.client.http (#567)
    • Update OpenCensus deprecations (#556)
  • Update ApacheHttpTransport implementation (#558)
  • Re-add Apache PATCH request (#547)

Dependencies

  • Remove commons-codec dependency (#563)
  • Update guava to 26.0-android (#531)

Deprecations

  • Deprecate JdoDataStoreFactory (#553)
  • Deprecate AndroidHttp compatibility shim (#541)
  • Deprecate google-http-client-jackson (#539)

Internal / Testing Changes

  • Code style cleanup (#571)
  • Provide STAGING_REPOSITORY_ID as an environment variable (#561)
  • Use maven enforcer plugin for maven version requirements (#555)
  • Need to specify versions for antrun-plugin or it doesn't run (#554)
  • Cleanup samples (#544)