Releases: day8/re-frame-10x
Releases · day8/re-frame-10x
0.3.2
Changed
- Updated cljs-devtools to 0.9.10, which includes a fix to render ClojureScript 1.10's MapEntry's in a cleaner fashion. Note, if you are using cljs-devtools directly (and you should be!) you will need to update your own version to 0.9.10 or higher.
- Efficiently print results in the code browser, so you only have to pay for the cost of printing what is visible, not the entire data structure. This should result in a big performance boost on apps which have a lot of data in app-db.
0.3.1
Added
- There's a new "Replay" button that lets you re-run an event (generally after tweaking some code). This enables the salaciously named HotPlay workflow.
- We've linked
re-frame-10xwith your browser-connected REPL. It is easy to now experiment directly with captured trace data using the full power of ClojureScript. See docs. Our approach was inspired by the scope-capture library. - Popout windows now preserve their previous dimensions and screen position (note that Chrome won't let us reposition windows across displays).
- The display of traced code has been improved with indentations which better communicate the call stack. Traced forms deeper in the stack are more deeply indented.
- Hovering over a code trace shows a preview of the value so you can easily scan it.
- In the "Event" tab, double clicking on the code display will toggle between showing all of the captured function, or just 10 lines.
Changed
- Improved the vertical space and visual design of the 'pods' in the subs and app-db panels.
- Removed the play/paused distinction. It was confusing for people and unclear what its purpose was. re-frame-10x will navigate to the most recent event that arrives if you were looking at a previous event.
- Popout windows are now titled "re-frame-10x | <parent window title>"
Fixed
- Added syntax highlighting for more elements in the Event code blocks
0.3.0
Added
- Form level code tracing. This lets you inspect all of the intermediate results of an event handlers execution. More info on how to set it up at https://github.com/Day8/re-frame-debux.
Changed
- New visual style for app-db and subs panels
N.B. For React 16 users, you should use the hotfix [day8.re-frame/re-frame-10x "0.3.0-1-react16"] instead of [day8.re-frame/re-frame-10x "0.3.0-react16"] as 0.3.0-react16 has a bad merge which breaks it.
0.2.1-react16
Merge tag '0.2.1' into react-16
0.2.1
Changed
- Set default behaviour on first launch to show the re-frame-10x panel instead of keeping it hidden. This will help people better debug their setup when they are configuring re-frame-10x.
Fixed
0.2.0
Upgrade notes
- re-frame-trace has been renamed to re-frame-10x! To upgrade you need to do two things:
- Update your dependency from
day8.re-frame/trace "0.1.21today8.re-frame/re-frame-10x "0.2.0 - Update your preload from
day8.re-frame.trace.preloadtoday8.re-frame-10x.preload. If you don't update the preload you will get a deprecation warning, reminding you to update it.
- Update your dependency from
0.1.22
Changed
- This is the final release of this project under the
day8.re-frame/traceartifact ID. The only change from 0.1.21 is that this version will print a warning to the console every time you load it, reminding you to update today8.re-frame/re-frame-10x.
0.1.20
Upgrade notes
To take advantage of the more granular timing info in this version, you will need to upgrade to re-frame 0.10.5.
Added
- A time-travelling debugger. Navigating forwards and backwards through the event history updates app-db to match. Be careful when using this with a stateful backend; as in the movies if you change too much or go too far back, the future can become unpredictable.
Improved
- Improve Timing panel to show more granular timing info.
Fixed
- Settings panel has a scroll bar if your screen height is too small.
0.1.19
Changed
- Massive overhaul to how subscriptions are processed.
- Subscriptions that exist but weren't run, now show up in the subscription panel.
- Subscription creations and disposals that happen during figwheel reloads or otherwise outside of the re-frame event domino cycle are now correctly handled. If any of these happen, they show up in the new section Inter-Epoch Subscriptions.
- All of the actions that happen to a subscription within an epoch are now shown. This lets you spot unusual behaviour like a subscription being created but not-run, or a subscription running multiple times.
- Present better explanation messages when viewing the diff section for a sub where the value is unchanged, not run yet, or only run once.
Fixed
- Garden source dependencies are now working if you don't have your own dependency on Garden.
- New app-db path inspectors default to
"""instead of"[]"so you can see the help text.
0.1.18
Fixed
- Garden source dependencies are now working if you don't have your own dependency on Garden.