Release Notes for the Google HTTP Client Library for Java

Version 1.18.0-rc

April 9, 2014

Highlights:

  • Issue 66770043: Fixed wrong behavior of {+var} (with var not a list) in UriTemplate.
  • Issue 66770043: Added a convenience factory that builds GoogleJsonResponseException instances for testing.
  • Issue 66770043: Fixed test dependency on hash order, which is about to change.

Version 1.16.0-rc

August 5, 2013

Highlights:

  • Issue 173: Added support for parsing a heterogeneous JSON schema into a polymorphic data type
  • Issue 216: Added an arbitrary DataStore based on a String key and Serializable value
  • Issue 229: Updated to JWS draft 11 and JWT draft 8
  • Issue 231: Removed Beta API deprecated in 1.15 (backwards incompatible change)
  • Issue 232: Fixed two methods that were not Java 5 compatible.

Version 1.15.0-rc

May 10, 2013

Announcing the first release candidate of the Google HTTP Client Library for Java! The library is finally going out of beta.

Note that there are still some features of the library in active development that may require backwards incompatible changes in future releases before they are ready to fully go out of beta. Each of these features is annotated with an @Beta tag.

Highlights:

  • Issue 177: Marked parts of the library as Beta that still may have backwards incompatible changes in the future
  • Issue 197: Added a FindBugs plugin to catch usages of @Beta classes and methods
  • Issue 211: Removed deprecated API from 1.14 (backwards incompatible)
  • Issue 210: Added backoff handlers for IOExceptions and unsuccessful responses
  • Issue 206: Created a new Backoff interface and Exponential Backoff implementation
  • Issue 205: Added a new Sleeper interface
  • Issue 200: NetHttpTransport’s now honors the default global caching behavior
  • Issue 189: Updated UriTemplate to RFC 6570
  • Issue 187: Fixed a bug where HttpHeader.parse would occasionally fail on AppEngine combined Set-Cookie headers
  • Issue 182: Fixed a bug regarding GenericUrl inline authentication being removed
  • Issue 110: HttpResponse.parseAs now accepts Void.class to ignore.

Version 1.14.1-beta

Mar 25, 2013

Highlights:

  • Issue 176: Added ability to restrict the set of trusted Certificate Authorities
  • Issue 191: Implemented JSON Web Token (JWT) and JSON Web Signature (JWS) specifications
  • Issue 185: Added an HttpEncoding interface
  • Issue 80: Delete some headers on a redirect (backwards incompatible change)
  • Issue 164: Added a builder to JsonObjectParser to specify a data/error wrapper key
  • Issue 140: Removed dependency on Guava library
  • Issue 162: Removed some deprecated API from 1.13 (backwards incompatible change)
  • Issue 178: Moved PrivateKeys from OAuth project to SecurityUtils
  • Issue 184: Added a StreamingContent interface
  • Issue 63: Generalized MultipartContent so it can be used to replace MultipartRelatedContent
  • Issue 167: HttpMethods now supports PATCH
  • Issue 143: HttpResponseException now has getContent method
  • Issue 80 and Issue 201: Fixed incorrect relative redirects for URLs with empty paths
  • Issue 193: GenericData’s subclass JsonRpcRequest overrides clone()
  • Issue 166: GenericData’s set method is overridden by subclasses
  • Issue 188: Renamed .classpath to classpath-include
  • Issue 186: Renamed dependencies files to match package names

Version 1.13.1-beta

Jan 17, 2013

Highlights:

  • Issue 169: Fixed EOFException using NetHttpTransport on HEAD request with gzip encoding
  • Issue 159: Can now set multiple values for the same header (backwards incompatible change)
  • Issue 155: Constructing a DateTime without specifying the time zone now uses TimeZone.getDefault() (backwards incompatible change)
  • Issue 87: Added support for HTTP and SOCKS proxy
  • Issue 65: Added HttpResponseInterceptor
  • Issue 3: Provided a way to customize SSL certificate validation

Version 1.12.0-beta

Nov 2, 2012

Highlights:

  • Issue 72: Supported HTTP methods for WebDAV.
  • Issue 73: Added support for OPTIONS method.

Version 1.11.0-beta

Sept 5, 2012

Highlights:

  • Issue 131: Removed deprecated classes/methods/fields from version 1.9 and 1.10.
  • Issue 133: Made Android project improvements (google-http-client-android).
  • Issue 103: Added google-http-client-gson and google-http-client-jackson.
  • Issue 85: Added google-http-client-jackson2 (Jackson 2).
  • Issue 102: Added google-http-client-protobuf.
  • Issue 111: Upgraded to latest version of protobuf (2.4.1).
  • Issue 147: Created properties files for Eclipse Android support.
  • Issue 96: Added curl logger.
  • Issue 53: Added support for user-agent customization.
  • Issue 145: Added “/" to end of rootUrl if not specified.
  • Issue 150: Improvement to DateTime.equals()
  • Issue 17: The subclass definition of @Key is now used.
  • Issue 142: Fixed test failures with Java 7.
  • Issue 122: Fixed ClassCastException in ApacheHttpRequest.setContent.
  • Issue 115: Fixed Content-Length in NetHttpTransport.
  • Issue 135: HttpResponse.parseAs(..) should return null for HTTP Status "204 No Content"

Version 1.10.3-beta

June 25, 2012

Bugs Fixed:

  • Issue 132: Added more descriptive error messages in JsonHttpClient.

Version 1.10.2-beta

June 14, 2012

Highlights:

  • Issue 125: Fixed issue of creating UrlFetchTransport in GAE SDK 1.6.6.
  • Issue 116: Fixed CloseGuard error after EOFException.
  • Issue 78: Fixed memory leaks.
  • Issue 118: UriTemplate.expand now supports Iterable for list parameters.
  • Issue 117: Fixed UriTemplate COMPOSITE_PREFIXES init problem.
  • Issue 41: HttpResponse.parseAsString() now respects charset Content-Type parameter.
  • Issue 113: Added HttpHeaders.fromHttpHeaders.
  • Issue 97: Added methods setRootUrl and setServicePath to JsonHttpClient.Builder.
  • Issue 89: HttpHeaders.getContentLength is now a Long instead of a String.
  • Issue 104: HttpHeaders now has case insensitive get, set and put methods.
  • Issue 100: Added HttpMediaType.
  • Issue 112: HttpParser/ObjectParser supports Type and InputStream.
  • Issue 126: Fixed ExponentialBackOffPolicy.

Version 1.9.0-beta

May 18, 2012

Highlights:

Version 1.8.3-beta

April 4, 2012

Highlights:

Version 1.7.0-beta

Mar 12, 2012

Highlights:

  • Issue 43: Can now provide a limit to the amount of content to log.
  • Issue 61: Fixed resource leak in GZipContent.writeTo.
  • Issue 69: Renamed extension projects to be more intuitive.
  • Issue 52: Deprecated classes/methods/fields from version 1.6 have been removed.

Version 1.6.0-beta

Nov 8, 2011

Highlights:

  • HttpRequest now automatically follows redirects.
  • Addition of a URI template implementation that supports Level 1 templates and all Level 4 composite templates.
  • Addition of a new JSON HTTP layer (JsonHttpClient, JsonHttpRequest) that can be used to build easy-to-use generated libraries like the ones for Google APIs.
  • Addition of JsonHttpRequestInitializer to initialize JSON HTTP requests. E.g for setting global parameters.
  • Users can now provide a custom implementation of HttpClient to ApacheHttpTransport. E.g for setting up a proxy.

Version 1.5.3-beta

Bugs Fixed:

  • Issue 23: NullPointerException when non-top-level element declares a new namespace and uses it

Version 1.5.0-beta

Announcing the release of the new Google HTTP Client Library for Java project split off from the Google API Client Library for Java project. It contains the core packages that should work with any HTTP REST service on the web.

Version 1.4.1-beta

See Version 1.4.1-beta Release Notes from Google API Client Library for Java.