From 74ef5ee0fc19b2b7ac1f59fc1fe095e453aacb5f Mon Sep 17 00:00:00 2001 From: Jeremy Barlow Date: Mon, 17 Nov 2014 13:53:41 -0800 Subject: [PATCH] (MAINT) Update CHANGELOG and project.clj for 0.4.0 release --- CHANGELOG.md | 22 ++++++++++++++++++++++ project.clj | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f29dd5..b582817 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## 0.4.0 + This is a feature release which has some breaking changes. + + * Support for non-client bound asynchronous requests has been removed from both + the Clojure and Java-layer APIs. This includes all of the request functions + that previously existed in the `client.async` Clojure namespace and the + request methods in the `AsyncHttpClient` Java class. + * Add a Java-layer API for getting an instance of an HttpClient on which + multiple requests -- e.g.., GET, POST -- can be made. Clients are created + via the `createClient` method on the new `Async` and `Sync` classes, for + a client that can make asynchronous or synchronous web requests, respectively. + * Non-client bound synchronous requests can still be performed through the Java + API but must now be done through the `Sync` classes rather than the + `SyncHttpClient` class. The `SyncHttpClient` class is now used as the type + of the instance that the `Sync.createClient()` method returns. + * The Java `RequestOptions` class was refactored into new `ClientOptions` and + `RequestOptions` classes which can be used with the client-bound `Async` + and `Sync` APIs. For non-client bound requests, options are now defined + via a `SimpleRequestOptions` class. + * Reworked connection close behavior to more robustly handle successful and + failed connections. + ## 0.3.1 This is a bugfix release. diff --git a/project.clj b/project.clj index 5284bea..816c671 100644 --- a/project.clj +++ b/project.clj @@ -1,7 +1,7 @@ (def ks-version "0.7.2") (def tk-version "0.5.1") -(defproject puppetlabs/http-client "0.3.2-SNAPSHOT" +(defproject puppetlabs/http-client "0.4.0-SNAPSHOT" :description "HTTP client wrapper" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}