Skip to content

Commit 821e9a0

Browse files
committed
Release 2.0.0
1 parent 7b4bc5d commit 821e9a0

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

README.org

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ function.
6262
With Leiningen/Boot:
6363

6464
#+BEGIN_SRC clojure
65-
[clj-http "1.1.2"]
65+
[clj-http "2.0.0"]
6666
#+END_SRC
6767

6868
Previous versions available as:
6969

7070
#+BEGIN_SRC clojure
71+
[clj-http "1.1.2"]
7172
[clj-http "1.1.1"]
7273
[clj-http "1.0.1"]
73-
[clj-http "0.9.2"]
7474
#+END_SRC
7575

7676
clj-http supports clojure 1.5.0 and higher.
@@ -772,21 +772,24 @@ out the [[https://github.com/myfreeweb/clj-http-fake][clj-http-fake]] library.
772772

773773
** Optional Dependencies
774774

775+
In 2.0.0+ clj-http's optional dependencies at excluded by default, in order to
776+
use the features you will need to add them to your =project.clj= file.
777+
775778
clj-http currently has four optional dependencies, =cheshire=, =crouton=,
776779
=tools.reader= and =ring/ring-codec=. Any number of them may be included by
777780
adding them with the clj-http dependency in your project.clj:
778781

779782
#+BEGIN_SRC clojure
780-
(defproject foo "0.1.0-SNAPSHOT"
781-
:dependencies [[org.clojure/clojure "1.6.0"]
782-
[clj-http "1.1.2"]
783-
;; optional dependencies
784-
[cheshire "5.4.0"] ;; for :as :json
785-
[crouton "0.1.2"] ;; for :decode-body-headers
786-
[org.clojure/tools.reader] ;; for :as :clojure
787-
[ring/ring-codec]]]]) ;; for :as :x-www-form-urlencoded
783+
;; optional dependencies
784+
[cheshire] ;; for :as :json
785+
[crouton] ;; for :decode-body-headers
786+
[org.clojure/tools.reader] ;; for :as :clojure
787+
[ring/ring-codec] ;; for :as :x-www-form-urlencoded
788788
#+END_SRC
789789

790+
Prior to 2.0.0, you can /exclude/ the dependencies and clj-http will work
791+
without them.
792+
790793
** clj-http-lite
791794

792795
Like clj-http but need something more lightweight without as many external

changelog.org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ List of user-visible changes that have gone into each release
100100
and clean up whitespace for new clojure-mode
101101
- Merged https://github.com/dakrone/clj-http/pull/171 to support SOCKS proxies
102102
* Work log
103+
** 2015-07-18
104+
- merged https://github.com/dakrone/clj-http/pull/274 to update Potemkin so it
105+
supports Clojure 1.7.0 correctly
103106
** 2015-05-23
104107
- merged https://github.com/dakrone/clj-http/pull/264 to add support for
105108
coercion of urlencoded data

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject clj-http "2.0.0-SNAPSHOT"
1+
(defproject clj-http "2.0.0"
22
:description "A Clojure HTTP library wrapping the Apache HttpComponents client."
33
:url "https://github.com/dakrone/clj-http/"
44
:license {:name "The MIT License"

0 commit comments

Comments
 (0)