diff --git a/CHANGELOG.md b/CHANGELOG.md index 75ae388..35cb438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## 0.12.4 + +### New + +- `:did-remount` is now `:will-remount`, the name matches semantics closely +- Added support for soft-deprecated lifecycle methods prefixed with `UNSAFE`: `:unsafe/will-mount` and `:unsafe/will-update` +- Added a wrapper for React's `useLayoutEffect` hook: `use-layout-effect!` +- Added Reagent-like `:>` syntax for interop with React components + +### Fixes + +- Fixed `fragment` macro not supporting optional attributes +- Fixed crashing in projects using Rum w/o ClojureScript dependency + ## 0.12.3 ### Fixes diff --git a/README.md b/README.md index b3aba97..a254fb8 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Rum: ## Using Rum -Add to project.clj: `[rum "0.12.3"]` +Add to project.clj: `[rum "0.12.4"]` ### API Docs & Articles @@ -642,7 +642,7 @@ There are Rum wrappers for the various React hooks. See doc strings for examples When used from cljs Rum delegates serizliation to ReactDOM library. If used from clj/cljc, Rum works as a traditional template engine à la Hiccup: -1. Rum’s `project.clj` dependency becomes `[rum "0.12.3" :exclusions [cljsjs/react cljsjs/react-dom]` +1. Rum’s `project.clj` dependency becomes `[rum "0.12.4" :exclusions [cljsjs/react cljsjs/react-dom]` 2. Import `rum.core` as usual. 3. Define components using `rum/defc` or other macros as usual. 4. Instead of mounting, call `rum/render-html` to render into a string. diff --git a/project.clj b/project.clj index 3ef8db8..8760e16 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject rum "0.12.3" +(defproject rum "0.12.4" :description "ClojureScript wrapper for React" :license {:name "Eclipse" :url "http://www.eclipse.org/legal/epl-v10.html"}