Releases: rlaffers/xstate-ninja
Releases · rlaffers/xstate-ninja
[email protected]
✨ Features
- Display the detected xstate-ninja inspector version and add incompatibility warning (#13)
🔧 Other Changes
- refactor the extension logic to use state machines
v2.1.0
v2.0.0
✨ Features
- a new
configure
function is now exported which should be used to enable/disable the inspector, or set the log level.
🪲 Fixes
- add units tests for the core library
- fix TS and linting errors
- fix the examples
💔 Breaking Changes
Setting options (enabled
or logLevel
) with the default export is no longer possible. Use the new configure
function instead:
// ❌ DEPRECATED xstate-ninja v1
import XStateNinja from 'xstate-ninja'
XStateNinja({ enabled: false })
// ✅ xstate-ninja v2
import { configure } from 'xstate-ninja'
configure({ enabled: false })
The default export is strictly for getting the instance of the XState Ninja Inspector.
import getInspector from 'xstate-ninja'
const inspector = getInspector() // instance of XStateNinjaInspector
[email protected]
Bug Fixes
- fix formatting of values which are not strings
[email protected]
Bug Fixes
- Prevent value summaries from wrapping to a new line
v1.3.10
v1.3.9
v1.3.8
v1.3.7
Bug Fixes
- fix issue with serializing circular data in machine contexts (#10)
Other Changes
- set up proper linting and type checking
Full Changelog: v1.3.6...v1.3.7
[email protected]
BREAKING CHANGES
- The minimum required Node version has been raised to 16.0.0
Features
- add TS type declarations
Other
- set up proper linting and type checking
- fix linting issues
- fix TS issues
- Upgrade dependencies