Skip to content

Releases: rlaffers/xstate-ninja

[email protected]

21 Oct 19:00
Compare
Choose a tag to compare

✨ 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

07 Oct 16:29
Compare
Choose a tag to compare

✨ Features

  • send the inspector version to the extension

🔧 Other Changes

  • add CI workflows to watch code quality

v2.0.0

02 Oct 18:01
Compare
Choose a tag to compare

✨ 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

Read more about configuring XState Ninja here.

[email protected]

01 Oct 12:36
Compare
Choose a tag to compare

Bug Fixes

  • fix formatting of values which are not strings

[email protected]

01 Oct 12:34
Compare
Choose a tag to compare

Bug Fixes

  • Prevent value summaries from wrapping to a new line

v1.3.10

01 Oct 12:33
Compare
Choose a tag to compare

🔧 Other Changes

  • fix TS errors
  • relax parameter types in type guards for inspect events

v1.3.9

01 Oct 12:30
Compare
Choose a tag to compare

🪲 Bug Fixes

  • fix serialization of machine context and snapshots when sending them to the extension to prevent mutation of the machine (#10)

v1.3.8

01 Oct 12:28
Compare
Choose a tag to compare

⚠️ Important note: This release is broken and may cause errors in your state machines. Install v1.3.9+ instead.

Bug Fixes

  • prevent mutations of state machine context and snapshots when serializing data (#10)

v1.3.7

14 Sep 19:05
Compare
Choose a tag to compare

⚠️ Important note: This release is broken and may cause errors in your state machines. Install v1.3.9+ instead.

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]

14 Sep 19:03
Compare
Choose a tag to compare

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