diff --git a/CHANGELOG.md b/CHANGELOG.md index 172d479..66cba99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ # Changelog +## 0.4.1 + +- Made Reagent compatible with ClojureScript 0.0-2173. `reagent.core/atom` now implements the necessary IAtom, ISwap and IReset protocols. Reagent should still be compatible with older ClojureScript versions, but you will get a lot of compilation warnings. + + ## 0.4.0 - Breaking change: Component functions can get arbitrary arguments, and not just vectors and maps. This is a breaking change, but behaviour is unchanged if you pass a map as the first argument (as in all the examples in the old documentation). diff --git a/Makefile b/Makefile index eec6370..e1e20b3 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PROF = dev CLJSBUILD = client CLJSDIRS = src test -VERSION = 0.4.0 +VERSION = 0.4.1 all: buildrun diff --git a/README.md b/README.md index 8b37924..af78810 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Reagent provides a way to write efficient React components using (almost) nothin To use Reagent you add this to your dependencies in `project.clj`: - [reagent "0.4.0"] + [reagent "0.4.1"] You also need to include react.js itself. One way to do this is to add diff --git a/examples/geometry/project.clj b/examples/geometry/project.clj index c766e3d..afcee34 100644 --- a/examples/geometry/project.clj +++ b/examples/geometry/project.clj @@ -1,9 +1,9 @@ -(defproject geometry-reagent "0.4.0" +(defproject geometry-reagent "0.4.1" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/clojurescript "0.0-2173"] - [reagent "0.4.0"]] + [reagent "0.4.1"]] :plugins [[lein-cljsbuild "1.0.2"]] :hooks [leiningen.cljsbuild] :profiles {:prod {:cljsbuild diff --git a/examples/simple/project.clj b/examples/simple/project.clj index 58cb001..a259380 100644 --- a/examples/simple/project.clj +++ b/examples/simple/project.clj @@ -1,9 +1,9 @@ -(defproject simple-reagent "0.4.0" +(defproject simple-reagent "0.4.1" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/clojurescript "0.0-2173"] - [reagent "0.4.0"]] + [reagent "0.4.1"]] :plugins [[lein-cljsbuild "1.0.2"]] :hooks [leiningen.cljsbuild] :profiles {:prod {:cljsbuild diff --git a/examples/todomvc/project.clj b/examples/todomvc/project.clj index 5697063..dae02a1 100644 --- a/examples/todomvc/project.clj +++ b/examples/todomvc/project.clj @@ -1,9 +1,9 @@ -(defproject todomvc-reagent "0.4.0" +(defproject todomvc-reagent "0.4.1" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/clojurescript "0.0-2173"] - [reagent "0.4.0"]] + [reagent "0.4.1"]] :plugins [[lein-cljsbuild "1.0.2"]] :hooks [leiningen.cljsbuild] :profiles {:prod {:cljsbuild diff --git a/project.clj b/project.clj index 28ee9a5..375f4e8 100644 --- a/project.clj +++ b/project.clj @@ -1,5 +1,5 @@ -(defproject reagent "0.4.0" +(defproject reagent "0.4.1" :url "http://github.com/holmsand/reagent" :license {:name "MIT"} :description "A simple ClojureScript interface to React"