github statelyai/xstate @xstate/inspect@0.6.5

latest releases: @xstate/svelte@3.0.5, @xstate/vue@3.1.4, @xstate/store@2.6.0...
2 years ago

Patch Changes

  • #3198 09e2130df Thanks @Andarist! - Fixed an issue that prevented some states from being sent correctly to the inspector when serializable values hold references to objects throwing on toJSON property access (like obj.toJSON). This property is accessed by the native algorithm before the value gets passed to the custom serializer. Because of a bug we couldn't correctly serialize such values even when a custom serializer was implemented that was meant to replace it in a custom way from within its parent's level.

  • #3199 f3d63147d Thanks @Andarist! - Fixed an issue that caused sending the same event multiple times to the inspector for restarted services.

  • #3076 34f3d9be7 Thanks @SimeonC! - Fixed an issue with "maximum call stack size exceeded" errors being thrown when registering a machine with a very deep object in its context despite using a serializer capable of replacing such an object.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.