Skip to content

Releases: christoph-fricke/xsystem

v0.6.0

29 May 15:22
Compare
Choose a tag to compare

Features

Documentation

Internal

  • Refactor of the history behavior to use a double-linked list internally, which simplified the implementation. #21
  • Use commit-lint to lint commit messages while creating a commit.
  • Update dev dependencies

v0.5.0

01 Mar 11:14
Compare
Choose a tag to compare

Features

Documentation

  • Add documentation for createSendCall.

Fixes

  • Remove "type": "module" from package defintiontion.
    • XSystem is shipped as ESM + CJS anyway, so the module type just caused problems when build tools do not have full module support.

v0.4.0

08 Jan 17:13
Compare
Choose a tag to compare

Features

Documentation

  • Add documentation for the new features.
  • Recommend creator.match over is.

Internal

  • Replace event creator functions with createEvent creators where possible.

v0.3.2

10 Dec 07:29
Compare
Choose a tag to compare

Fixes

  • Add a CommonJS bundle and entrypoint.
    • This fixes errors when used in some Jest Setups such as the one for create-react-script.

The story around bundling this library and providing multiple entrypoint will still be improved and changed in the future, while keeping a solution as lean as possible, given the current situation of an ecosystem transition towards pure ESM packages.

v0.3.1

08 Dec 12:41
Compare
Choose a tag to compare

Fixes

  • Change build target from "ES2020" to "ES6".
    • This should make it possible to use XSystem with templates such as create-react-app.

v0.3.0

21 Nov 15:49
Compare
Choose a tag to compare

Features

Documentation

  • Add relevant documentation for the new features

Internal

  • Update dev-dependencies to their latest versions
  • Use jest-mock-extended to simplify actor setups for testing

v0.2.1

19 Oct 22:06
Compare
Choose a tag to compare

Fixes

  • The dependency to @swc-node/jest is now correctly declared as a dev-dependency.

v0.2.0

19 Oct 15:26
Compare
Choose a tag to compare

Features

  • Export action creators for undo and redo events in the main package entry point.
  • Remove test files from npm bundle, which reduces the package install size.

Documentation

  • Complete documentation in the repository's wiki.

Internal

  • Remove our custom BaseActorRef.
  • Switch to @swc-node/jest as a test transformer.

v0.1.2

09 Oct 20:07
Compare
Choose a tag to compare

Fixes

  • Simplified type definitions around the subscribe and unsubscribe events to avoid TypeScript problems when they are used. #5
    • They should still provide a complete type experience when used - just without errors.
  • Fixed type definitions of fromActor to make the utility function usable without TypeScript problems. #9

Internal

  • Added tests for most features. #6
    • The only missing feature is the broadcast strategy of the event bus, which uses a BroadcastChannel.
  • Updated badges in the documentation.

v0.1.1

01 Oct 21:08
Compare
Choose a tag to compare

Fixes

  • Correctly type fromMachine so machines can be provided without type issues. #2

Documentation

  • Remove Bundlephobia badge because it currently has build errors