Releases: rlaffers/eslint-plugin-xstate
Releases · rlaffers/eslint-plugin-xstate
v3.2.1
v3.2.0
v3.1.0
v3.0.1
v3.0.0
3.0.0 (2023-09-28)
Bug Fixes
- prevent errors when the plugin is used with eslint < 8.40.0 by raising the min required version (3af1b77)
Features
- prefer-predictable-action-arguments: change auto-fix into a suggestion for switching this on (dcd50f1)
BREAKING CHANGES
- The minimum required eslint version has been raised to 8.40.0
v1.1.3
v2.2.0
v2.1.0
v2.0.0
2.0.0 (2023-08-17)
Features
- add support for xstate v5 (0637a6f)
- no-async-guard: support the "guard" prop with xstate v5 (2b0346d)
- no-auto-forward: report error if autoForward is found with XState v5 (ffa717e)
- no-imperative-actions: add support for xstate v5 action creators (409fd67)
- no-infinite-loop: add detection of incorrect eventless transitions in xstate v5 (360b609)
- no-inline-implementation: allow built-in higher level guards with xstate v5 (bee4ad5)
- no-inline-implementation: detect inline implementation inside spawn calls with xstate v4 (9654443)
- no-inline-implementation: detect inline implementations inside spawn call with xstate v5 (b95101d)
- no-invalid-state-props: modify the rule to accept new xstate@5 state props (4aecdff)
- no-invalid-transition-props: support new transition props from xstate v5 (c9a2b9c)
- prefer-always: add message about deprecated eventless empty string transitions for xstate v5 (7678a5b)
- prefer-predictable-action-arguments: add a deprecation error for this rule with xstate v5 (15f778c)
- spawn-usage: throw error if spawn-usage is used with xstate > 4 (02976f2)
BREAKING CHANGES
- no-inline-implementation: Option "serviceCreatorRegex" has been renamed to "actorCreatorRegex".
- The default configs are no longer compatible with xstate v4. To continue working
with xstate v4, use new shareable configs "all_v4" or "recommended_v4".