Releases: googleapis/google-http-java-client
Releases · googleapis/google-http-java-client
v1.29.0
03-25-2019 10:40 PDT
Implementation Changes
- avoid default locale (#617)
- Revert change to return type of ApacheHttpTransport.newDefaultHttpClient() (#615)
- move apache classes back into google-http-client (#614)
- Implement equals and Hashcode on GenericData (#589)
- 372: Changed SingleThreadExecutor to FixedThreadPool(1). (#588)
- Add option to return raw stream from response (#579)
- Fix handling interrupted uploads (#572)
Dependencies
- Fix build issue for findbugs module. (#610)
- depend directly on Apache httpclient (#591)
- upgrade dependencies (#596)
- more fixes for Java 7 minimum version (#592)
- remove duplicate version definition (#594)
- Remove old JDO artifact (#584)
- remove datanucleus (#480)
- Cleanup assembly process. (#565)
- upgrade surefire plugin to fix SUREFIRE-1588 (#580)
Documentation
- Added Warning header and unit tests. (#601)
- fix comment (#590)
- Update README.md with Java 7 support (#577)
Internal / Testing Changes
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)
Internal / Testing Changes
v1.27.0
11-09-2018 09:27 PST
New Features
- Allow Enums in DataMaps (#505)
- Add write timeout for post/put requests (#485)
- Add google-http-client-bom artifact (#517)
Dependencies
- guava is not a regular dependency (#508)
- Upgrade maven-javadoc-plugin to 3.0.1 (#519)
- Set the version of the jarjar-maven-plugin in pluginManagement (#515)
Internal / Testing Changes
v1.26.0
10-16-2018 14:08 PDT
Implementation Changes
- Fix test to run on environments with German locale (#473) (#474)
- Fix throwIfFalseEOF if skip method was called before read (#447)
- Fix arraymap iterator remove issue (#371)
New Features
Dependencies
Documentation
- Add the ending Java 6 support notice to README (#483)
- Fix API doc links (#479)
- Fix code.google.com links. Fix maven version (#471)
Internal / Testing Changes
Release v1.25.0
- Fix: Referential comparison on
ClassInfo
(#446) - New:
HttpStatusCodes.STATUS_CODE_ACCEPTED
constant added (#413) - Fix:
AppEngineDataStoreFactory
builder previously ignored options (#388) - New: j2objc annotations added (#427)
- Fix:
GenericUrl#equals
static analysis fix (#440) - Fix: uses of
String#toLower
now use Locale.US instead of default system locale (#420) - Various documentation fixes
Release v1.24.1
Note: Java 5 support has ended. From this release and on, we support Java 6 and forward.
- Deps: The
guava-jdk5
dependency has been removed and replaced withguava
. This should reduce diamond dependency problems. - New: HTTPS proxy property support added.
- New: NetHttpRequest will only set Content-Length if it's not set.
- New: UrlEncodedParser allows '=' in parameter value.
- New: AbstractMemoryDataStore is now publicly visible.
- Fix: ArrayMap hashCode correctly works with null values.
Release v1.21.0
- Support for Arrays.asList in GenerData cloning
- When verifying signatures, catch exception and consider non-valid if the signature size does not match the public key length. This is important when searching for which key was used to generate the signature
- Parse fix for special floating point values (like Infinity and NaN) in
JsonParser
- Parse fix for milliseconds in
DateTime.parseRfc3339(String)