diff --git a/CHANGELOG.md b/CHANGELOG.md index e78b524..75c57a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -Babashka [http-client](https://github.com/babashka/http-client): HTTP client for Clojure and babashka built on java.net.http +Babashka [http-client](https://github.com/babashka/http-client): HTTP client for Clojure and babashka built on java.net.http -## Unreleased +## 0.4.20 -- [#60](https://github.com/babashka/http-client/issues/60): Minimum Clojure version is now 1.10 +- [#60](https://github.com/babashka/http-client/issues/60): Minimum Clojure version is now 1.10 instead of 1.11 ([@lread](https://github.com/lread)) ## 0.4.19 (2024-04-24) diff --git a/deps.edn b/deps.edn index f6b6222..b5b3ec7 100644 --- a/deps.edn +++ b/deps.edn @@ -1,16 +1,17 @@ {:deps {} :aliases {:neil {:project {:name org.babashka/http-client - :version "0.4.19"}} + :version "0.4.20"}} :clj-1.10 {:extra-deps {org.clojure/clojure {:mvn/version "1.10.3"}}} :clj-1.11 {:extra-deps {org.clojure/clojure {:mvn/version "1.11.4"}}} :clj-1.12 {:extra-deps {org.clojure/clojure {:mvn/version "1.12.0-rc1"}}} :repl {:extra-deps {cheshire/cheshire {:mvn/version "5.11.0"} io.github.borkdude/deflet {:mvn/version "0.1.0"} - babashka/fs {:mvn/version "0.2.16"}}} + babashka/fs {:mvn/version "0.2.16"}} + :extra-paths ["dev"]} :test ;; added by neil - {:extra-paths ["test"] + {:extra-paths ["dev" "test"] :extra-deps {cheshire/cheshire {:mvn/version "5.11.0"} io.github.cognitect-labs/test-runner {:git/tag "v0.5.0" :git/sha "b3fd0d2"} diff --git a/dev/user.clj b/dev/user.clj new file mode 100644 index 0000000..f2a2755 --- /dev/null +++ b/dev/user.clj @@ -0,0 +1,2 @@ +(println "Toggling warn on reflection to true...") +(alter-var-root #'*warn-on-reflection* (constantly true)) diff --git a/test/babashka/http_client_test.clj b/test/babashka/http_client_test.clj index 3a498e2..8b88b6d 100644 --- a/test/babashka/http_client_test.clj +++ b/test/babashka/http_client_test.clj @@ -15,6 +15,8 @@ [java.net.http HttpRequest$BodyPublishers] [javax.net.ssl SSLContext])) +(set! *warn-on-reflection* false) ;; only in this test namespace + (def !server (atom nil)) (defn run-server []