v1.28.0
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 thegoogle-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 thegoogle-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.
- Version 1.28.0 uses the exact same interface that was extracted from
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)
- Update ApacheHttpTransport implementation (#558)
- Re-add Apache PATCH request (#547)
Dependencies
Deprecations
- Deprecate JdoDataStoreFactory (#553)
- Deprecate AndroidHttp compatibility shim (#541)
- Deprecate google-http-client-jackson (#539)