(MAINT) Update CHANGELOG and project.clj for 0.4.0 release
This commit is contained in:
parent
8d0fcdf713
commit
74ef5ee0fc
2 changed files with 23 additions and 1 deletions
22
CHANGELOG.md
22
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.
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue