Releases: zalmoxisus/remotedev-app
Releases · zalmoxisus/remotedev-app
Support multiple instances in one connection
v0.7.0 v0.7.0
v0.6.3
Autogenerate "real" tests
As announced at React Europe, remotedev-app
can generate tests for the inspected actions.
Thanks to Redux principles, it's a rather simple task:
expect(reducer(pervousState, action), currentState);
However, such tests are difficult to maintain and they aren't human-readable. Hacking a lot these days, we can now check only what was changed.
So, instead of
expect(
reducers(
{counter:0},
{type:'INCREMENT_COUNTER'}
)
).toEqual(
{counter:1}
);
the extension generates tests like so
state = reducers(
{counter:0},
{type:'INCREMENT_COUNTER'}
);
expect(state.counter).toEqual(1);
Or for arrays, instead of
expect(
reducers(
{todos:[{text:'Use Redux',completed:false,id:0}]},
{type:'ADD_TODO',text:'Generate tests'})
)
).toEqual(
{todos:[{id:1,completed:false,text:'Generate tests'},{text:'Use Redux',completed:false,id:0}]}
);
it will check only the length and new elements:
state = reducers(
{todos:[{text:'Use Redux',completed:false,id:0}]},
{type:'ADD_TODO',text:'Generate tests'})
);
expect(state.todos.length).toEqual(2);
expect(state.todos[0]).toEqual({id:1,completed:false,text:'Generate tests'});
Here's the full autogenerated test with also changing and removing an item:
v0.6.1
- Generate non-redux tests.
- Fix monitor actions for multiple instances.
- Don't show dispatcher when there's no monitored instance.
- Autoclean href value for Export button, not to consume memory.
v0.6.0
- Use
noSettings
parameter to remove Settings button and dialog (for custom monitor apps where settings are passed via parameters). - Optimization: State is not relayed twice when starting monitoring.
- Move remote dispatch eval to the client part [#14].
- Different behaviours when the monitored app is not Redux.
v0.4.0
Breaking
Remove redux-devtools-diff-monitor
.
Style improving
Now use material-ui
instead of react-desctop
.
Fixes
- Prevent dispatching empty actions.
- Prevent throwing when socket url is invalid.
v0.3.8
- Toggle slider monitor.
- Update monitors.
- Update dependencies for React 15.
- Fix styles.
- Forbid monitors actions for now.
v0.3.6
- Added
secure
option to use secure connection (wss) forremotedev-server
. - Improved the setting form and buttons.
v0.3.5
- Import / export state feature
- Optimizations of the components
v0.3.4
- Show all previous history when the app is opened.
- Start / stop relaying changes from the client app (zalmoxisus/remote-redux-devtools#20).
- Show / hide dispatcher monitor.
- Added DiffMonitor.
v0.3.3
- Add ability to dispatch actions remotely with Dispatch monitor.
- Add Chart monitor.
- Fixed issues in log and inspect monitors.