Skip to content

finity-reactjs v0.0.13

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 19:03
Immutable release. Only release title and notes can be modified.
2b2add2

New

  • FinityError is exported as a type, alongside InvalidTransitionError. It's the base of every error finity creates, with its subclasses in its namespace: FinityError.InvalidTransitionError. For an instanceof check, import the class from @ghostry/finity-core.

Behavior change

  • The error onInvalidTransition receives is named "@ghostry/finity-core:InvalidTransitionError", where it was "Error".

Compatibility

  • Depends on @ghostry/finity-core 0.0.13 exactly. If you also import from finity-core directly, for noop, never, shallowEqual, or an instanceof check, install 0.0.13 so only one copy is installed.
  • package.json declares engines.node >=20.0.0 and sideEffects: false.

Internal

  • Each finity package has its own version and release, tagged finity-reactjs/vX.Y.Z. Releases up to v0.0.12 covered all three packages under one version.
  • Tests run on bun test.

Docs: FinityError, Installation