Recent Releases of re-frame
re-frame - v0.10.7
New
- add
update-effect#440
Fixed
afterandenrichinterceptors now no longer run if there is nodbeffect, rather than running against thedbcoffect. #453- #512 Error with infer-externs "goog is not defined in the externs"
Improvements
- Update dependency on reagent from
0.7.0to0.8.1. - Update dependency on karma from
4.0.0to4.1.0. - Update dependency on Clojure from
1.8.0to1.10.1. - Update dependency on ClojureScript from
1.10.439to1.10.520.
- Clojure
Published by superstructor almost 7 years ago
re-frame -
Fixed
- After interceptor now runs against effect db if effect db is nil/false. #447
- The effect handler for
:dispatch-laterwill now ignorenils. #455 - Add locking to the EventQueue when running under JVM to avoid race conditions and subtle errors when dispatching lots of events. #471
- Clojure
Published by danielcompton over 7 years ago
re-frame -
Changed
- Event handlers and fx are now traced, to provide more granular timing info in re-frame-trace. This has no impact on your code execution if you haven't enabled tracing.
- Clojure
Published by danielcompton over 8 years ago
re-frame -
Changed
- Interceptors, effects, and coeffects are now captured in re-frame's tracing.
- Clojure
Published by danielcompton over 8 years ago
re-frame -
New
- add
purge-event-queueto the API. See https://github.com/Day8/re-frame-test/issues/13 for motivation. - added a new FAQ entry Reagent looks terrific. Why do I need re-frame?
- added a new Infographic explaining how dominoes play out over time in the browser
Changed
- Debounce trace callbacks to handle larger batches of traces at once, to improve efficiency.
- Improved error messages to not have multiple spaces before variables.
Fixed
- Handle js/performance not being defined in NodeJS. #439
- Improve cache eviction behaviour of subscription caches. In more complex applications a subscription may have been unnecessarily created and destroyed several times after a Figwheel re-render.
Historical changes are at CHANGES.md.
- Clojure
Published by danielcompton over 8 years ago
re-frame - v0.10.2 (2017.10.07)
New Features
- On dispose callbacks now run on JVM re-frame. #386.
- Log warnings when tracing is not enabled and you try to add a trace callback #395.
New Docs
- added a new FAQ entry How do I turn on/off polling a database every 60 secs (hint: effects)
- added a new FAQ entry How do I do full-stack re-frame?
- Added a gitbook for re-frame docs #414.
- Lots of spelling fixes, for which we are eternally grateful.
See the full changelog at CHANGES.md
- Clojure
Published by danielcompton over 8 years ago
re-frame -
This release has a show-stopper bug in it. You shouldn't use it, and instead should upgrade to 0.10.1.
- Clojure
Published by danielcompton almost 9 years ago
re-frame -
0.10.1 (2017.08.17)
- fix a showstopper bug introduced at the last minute in v0.10.0
0.10.0 (2017.08.16)
New Docs
- added API documentation
- added testing docs
- added a new mental model
- added a new FAQ entry on dispatch processing
- added a new FAQ entry on representing normalised data in
app-db - added a new FAQ entry on how to register a global interceptor
Breaking
- #357
I'd be amazed if this actually broke any apps. Shocked! But, better safe than sorry.
The effect handler for
:dbhas changed: if the new value provided testsidentical?to the existing value withinapp-db, thenapp-dbis notreset!. Previously,app-dbwas alwaysreset!irrespective, which potentially caused Layer 2 subscriptions to run unnecessarily. So this is a tiny efficiency change in this edge case, and it results in behaviour that better matches programmer intuitions.
Minor Fixes and Improvements
- #400 Improve error message when a registered cofx can't be found
- The effect handler for
:dispatch-nwill now ignorenils. See checkin - #340
- #341 Fix
re-frame.core/on-changesto work even if event handler does not set:db. - #395 Warn users if they try to enable tracing without setting the closure define
re-frame.trace.trace-enabled?.
- Clojure
Published by danielcompton almost 9 years ago
re-frame -
This is another minor release, fixing a bad ns form, some undefined behaviour around reg-sub, and the update-coeffect interceptor.
N.B. The changes to reg-sub breaks code that was wrong but previously worked. The reg-sub function was too liberal in the separator it accepted, now only :<- is accepted.
You can see the full changelog here.
- Clojure
Published by danielcompton about 9 years ago
re-frame -
Dr Ford has created a new 6-part narrative, and Bernard some infographics. Anyone seen Dolores?
You can see all of the changes in 0.9.0 in the meticulously laid out changelog. What's that you say? It doesn't look like anything to you?
- Clojure
Published by danielcompton over 9 years ago
re-frame -
This is likely the last pre-release before 0.9.0. Please try it in your apps and give us feedback (both good and bad) through the usual channels. Notable code changes since the last release:
- #278 Provide enrich interceptor with db coeffect, if no db effect was produced.
- #223 When using make-restore-fn, dispose of any subscriptions that were created after the restore function was created.
- Clojure
Published by danielcompton over 9 years ago
re-frame - v0.9.0-alpha1
This is a pre-release version of re-frame 0.9.0-alpha1. Please give it a try in your projects and give us any feedback if there are any issues. If not, then we will likely release 0.9.0 shortly. You can see the full list of changes at CHANGES.md
- Clojure
Published by danielcompton over 9 years ago
re-frame - v0.7.0
See the release notes CHANGES.md for changes in this release.
- Clojure
Published by danielcompton about 10 years ago
re-frame - v0.5.0 - Dynamic Subscriptions
See CHANGES.md
- Clojure
Published by mike-thompson-day8 over 10 years ago
re-frame - v0.5.0 Alpha 1
Feedback (both positive and negative) welcome in https://github.com/Day8/re-frame/issues/125
See CHANGES.md
clj
[re-frame "0.5.0-alpha1"]
- Clojure
Published by danielcompton over 10 years ago
re-frame - v0.4.1 Check for rogue undoables
See CHANGES.md
- Clojure
Published by mike-thompson-day8 about 11 years ago
re-frame - v0.4.0 - Resilient router loop
See CHANGES.md
- Clojure
Published by mike-thompson-day8 about 11 years ago
re-frame - v0.3.2 Catch dispatch-sync abuse
See CHANGES.md
OOPS: due to git snafu, this tag is incorrectly positioned in the repo history. So beware downloading the zips. I'm not going to go to the trouble of doing a 0.3.3 because this is a relatively minor release. Clojars will be correct.
- Clojure
Published by mike-thompson-day8 about 11 years ago