Releases: voodooattack/when-ts
Releases · voodooattack/when-ts
Version 1.0.2, no code changes
commit c02d8b4dd78e27ddcfaad35199d19fa2694c2816 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 16:17:08 2018 +0200 chore: Version 1.0.2 - Fixing my blunders with `git commit` properly commit d5deb00da52707d3e0cfab339b348a1e895edf54 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 16:15:45 2018 +0200 docs: Fix some documentation errors. commit 7a5bfa624a3fc23e5ecea5a5ca35a3013220991e Merge: c43ad30 8f944d0 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 16:10:06 2018 +0200 Merge branch 'master' into devel commit c43ad30ccc608a6a3ba8778eca918435ac27b5ea Merge: 7c1cb34 3f0ecd1 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 16:01:26 2018 +0200 Merge branch 'master' into devel commit 3f0ecd14a0b2006a0005ef43251eae656337800d Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 16:00:33 2018 +0200 chore: Version 1.0.1 - Hotfix for unupdated README commit 164c62c0cd03fde09759d32adccc373f8a9f0146 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:38:51 2018 +0200 Stable version: 1.0.0 commit 2fec00e40ac2a7c50482d5191446a010f74bf7c5 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:34:13 2018 +0200 build: Force source linting before git commit commit 6dd651addbb2de9c71658b08077520e5e6632065 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:32:43 2018 +0200 style: Fix linting errors commit 68afe74b34c844488f5ebfe2b2d2fd169bd6e950 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:25:32 2018 +0200 chore: First stable release: 1.0.0 commit b4f27362dd66252d76db110675a6c7f6b5cc8c49 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:21:49 2018 +0200 docs(Spec): Separated spec into its own document. commit 60c9296c10c56c40bb231d6bbab3a4b7314f8ea6 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:17:05 2018 +0200 feat: Dynamic/computed priorities You may now specify an expression as an argument to the priority decorator, which will be called once per tick to evaluate the priority for a given action based on the state. commit 7c1cb34dcd0b72c783c0a193ab024bb9c3fbf996 Merge: 2fec00e 43a4ce5 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:41:40 2018 +0200 Merge branch 'master' into devel commit 43a4ce52d80a818ba321637a37a67e7ad0aa1ae7 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:38:51 2018 +0200 Stable version: 1.0.0 commit 2fec00e40ac2a7c50482d5191446a010f74bf7c5 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:34:13 2018 +0200 build: Force source linting before git commit commit 6dd651addbb2de9c71658b08077520e5e6632065 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:32:43 2018 +0200 style: Fix linting errors commit 68afe74b34c844488f5ebfe2b2d2fd169bd6e950 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:25:32 2018 +0200 chore: First stable release: 1.0.0 commit b4f27362dd66252d76db110675a6c7f6b5cc8c49 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:21:49 2018 +0200 docs(Spec): Separated spec into its own document. commit 60c9296c10c56c40bb231d6bbab3a4b7314f8ea6 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:17:05 2018 +0200 feat: Dynamic/computed priorities You may now specify an expression as an argument to the priority decorator, which will be called once per tick to evaluate the priority for a given action based on the state. commit 2fec00e40ac2a7c50482d5191446a010f74bf7c5 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:34:13 2018 +0200 build: Force source linting before git commit commit 6dd651addbb2de9c71658b08077520e5e6632065 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:32:43 2018 +0200 style: Fix linting errors commit 68afe74b34c844488f5ebfe2b2d2fd169bd6e950 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:25:32 2018 +0200 chore: First stable release: 1.0.0 commit b4f27362dd66252d76db110675a6c7f6b5cc8c49 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:21:49 2018 +0200 docs(Spec): Separated spec into its own document. commit 60c9296c10c56c40bb231d6bbab3a4b7314f8ea6 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:17:05 2018 +0200 feat: Dynamic/computed priorities You may now specify an expression as an argument to the priority decorator, which will be called once per tick to evaluate the priority for a given action based on the state. commit 2b126bdb20eb09e54efdbd887d58566547da7106 Merge: e37ba3a d18fdcb Author: Abdullah Ali <[email protected]> Date: Sat Nov 3 06:37:56 2018 +0200 Merge branch 'master' into devel commit e37ba3a3c718a5dd809e744346cc6a1188f6f04d Merge: ed1efa5 698e518 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 21:53:12 2018 +0200 Merge branch 'master' into devel commit 698e5182ba543296142f74741ffb12903d152254 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 21:32:13 2018 +0200 Version 1.0.0-alpha.5 Squashed commit of the following: commit ed1efa566c28ac6bedf1b3b1f03603210cf08486 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:35:40 2018 +0200 build: Upgrade to latest Node.js LTS: 10.13.0 commit 188ff9d6a65281bb34891acced6846cdc95f6861 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:30:13 2018 +0200 chore: Version bump: 1.0.0-alpha5 commit 4d32b4ea9e6070c94641e5932eeef8088860404b Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:28:20 2018 +0200 feat: Action priorities A new decorator to specify which actions override others. A higher prioirity means an action gets to override all those below it when updating the state. commit b9110b89a25943a9c317e7f5ae863c46899420d0 Author: Abdullah Ali <[email protected]> Date: Sat Sep 29 10:49:50 2018 +0200 test: Fix unused variable/parameters in the tests. commit f77a4a6836df22459c64119cb2a0f85cc16625de Author: Abdullah Ali <[email protected]> Date: Sat Sep 29 10:48:45 2018 +0200 docs(Spec): Fix spec pseudocode examples. commit e536638cf86df9f1a10af287a1d03b84cf295fb8 Merge: 452ec70 555f566 Author: Abdullah Ali <[email protected]> Date: Wed Sep 26 20:18:51 2018 +0200 Merge branch 'master' into devel commit 452ec70eb357bd608c4b35885ec6ac33d6497c6a commit ed1efa566c28ac6bedf1b3b1f03603210cf08486 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:35:40 2018 +0200 build: Upgrade to latest Node.js LTS: 10.13.0 commit 188ff9d6a65281bb34891acced6846cdc95f6861 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:30:13 2018 +0200 chore: Version bump: 1.0.0-alpha5 commit 4d32b4ea9e6070c94641e5932eeef8088860404b Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:28:20 2018 +0200 feat: Action priorities A new decorator to specify which actions override others. A higher prioirity means an action gets to override all those below it when updating the state. commit b9110b89a25943a9c317e7f5ae863c46899420d0 Author: Abdullah Ali <[email protected]> Date: Sat Sep 29 10:49:50 2018 +0200 test: Fix unused variable/parameters in the tests. commit f77a4a6836df22459c64119cb2a0f85cc16625de Author: Abdullah Ali <[email protected]> Date: Sat Sep 29 10:48:45 2018 +0200 docs(Spec): Fix spec pseudocode examples. commit e536638cf86df9f1a10af287a1d03b84cf295fb8 Merge: 452ec70 555f566 Author: Abdullah Ali <[email protected]> Date: Wed Sep 26 20:18:51 2018 +0200 Merge branch 'master' into devel commit 452ec70eb357bd608c4b35885ec6ac33d6497c6a Author: Abdullah Ali <[email protected]> Date: Wed Sep 26 19:53:40 2018 +0200 feat: Version 1.0.0-alpha.4 A complete rewrite of how inputs work. BREAKING CHANGE: The StateMachine class now recognises the distinction between State and Input. A second generic argument is need (`StateMachine<State, InputSource>`) that defined the layout of the input source. The `@input` decorator must now decorate fields on the input source itself. The state object passed to condition and actions is now a union of State & Input, but the return value from actions can only be a partial State. commit 37e82e399e17e11c34b85d60f3cf7050ceea9aee Author: Abdullah Ali <[email protected]> Date: Mon Sep 24 20:12:44 2018 +0200 docs(Spec): Rewind now accepts a discrete tick number instead of a realtive argument. For better control, rewind no longer accepts a relative number specifying the number of past states to rewind. It now only accepts the parameter `t`, which must be a discrete tick number of a past saved state. BREAKING CHANGE: Any code passing a relative number to `rewind` must be switched to provide the absolute tick number. commit 80a5058eede8fff380212a16a55189dc008e7315 Author: Abdullah Ali <[email protected]> Date: Sun Sep 23 17:47:10 2018 +0200 docs(Spec): Fixed some typos. commit aca860bb720c9f09605a79780dae169ee2b67d85 Author: Abdullah Ali <[email protected]> Date: Sun Sep 23 15:55:44 2018 +0200 docs(Spec): Refined the spec. Added decorators for @input and @priority to the spec. Fixed some typos and small errors in the examples in the readme. commit c531daf507d73ea9104dc5240b7efb5517a62268 Author: Abdullah Ali <[email protected]> Date: Sun Sep 23 15:45:25 2018 +0200 chore: Switched the project to conventional-changelog. Contributers must now commit any new changes using `npm run commit`. commit fc3ad1a314df537391e472d0980eab6e01da3861 Author: Abdullah Ali <[email protected]> Date: Sat Sep 22 20:53:15 2018 +0200 Update README commit 3f9c860926faf9989bc6d093ca6e5447427c58ab Author: Abdullah Ali <[email protected]> Date: Sat Sep 22 20:21:55 2018 +0200 Updated docs and fixed a typo in README commit a1c696281e45c3b68588dc39a9ca9cf5bf4036f3 Author: Abdullah Ali <[email protected]> Date: Sat Sep 22 19:42:31 2018 +0200 Version 1.0.0-alpha.3 commit 33c80bdc260bb1196b6e245ff008b0e627c06436 Author: Abdullah Ali <[email protected]> Date: Sat Sep 22 19:40:52 2018 +0200 Implemented inputs and refactored some of the public interface. Updated spec. commit 3d770e1be20e8dad28916f197798b5bbbc2f255f Author: Abdullah Ali <[email protected]> Date: Sat Sep 22 16:55:32 2018 +0200 Bring coverage up for the new features. commit 17c2da2d87557f19f7ec47aa0788e408f4706f56 Author: Abdullah Ali <[email protected]> Date: Sat Sep 22 02:13:37 2018 +0200 Feature: decorators are now chainable, added 2 new decorators Feature: inhibitors via @when().inhibitOn('methodName') Feature: exclusions via @when().exceptWhen(condition) Breaking: @when is stricter and requires the state type as the first generic argument. commit 930651cef99291482d883757a7e3aa2b5fbea806 Author: Abdullah Ali <[email protected]> Date: Fri Sep 21 19:39:27 2018 +0200 Improved prime example, fixed an issue with StackMachine.run having a mixed return type commit 41bed07e724957e6a23aac4fd9a98da3624533d2 Author: Abdullah Ali <[email protected]> Date: Fri Sep 21 18:31:54 2018 +0200 Improve examples commit 88c1f5a445a18175ee1ad18e1b93ca2da98eda3f Author: Abdullah Ali <[email protected]> Date: Thu Sep 20 20:21:28 2018 +0200 Update spec Overhaul for recombination and various fixes .editorconfig and code rearranged
1.0.1
chore: Version 1.0.1 - Hotfix for unupdated README
Stable version: 1.0.0
commit 2fec00e40ac2a7c50482d5191446a010f74bf7c5 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:34:13 2018 +0200 build: Force source linting before git commit commit 6dd651addbb2de9c71658b08077520e5e6632065 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:32:43 2018 +0200 style: Fix linting errors commit 68afe74b34c844488f5ebfe2b2d2fd169bd6e950 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:25:32 2018 +0200 chore: First stable release: 1.0.0 commit b4f27362dd66252d76db110675a6c7f6b5cc8c49 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:21:49 2018 +0200 docs(Spec): Separated spec into its own document. commit 60c9296c10c56c40bb231d6bbab3a4b7314f8ea6 Author: Abdullah Ali <[email protected]> Date: Tue Nov 6 15:17:05 2018 +0200 feat: Dynamic/computed priorities You may now specify an expression as an argument to the priority decorator, which will be called once per tick to evaluate the priority for a given action based on the state.
Version 1.0.0-alpha.5
Squashed commit of the following: commit ed1efa566c28ac6bedf1b3b1f03603210cf08486 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:35:40 2018 +0200 build: Upgrade to latest Node.js LTS: 10.13.0 commit 188ff9d6a65281bb34891acced6846cdc95f6861 Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:30:13 2018 +0200 chore: Version bump: 1.0.0-alpha5 commit 4d32b4ea9e6070c94641e5932eeef8088860404b Author: Abdullah Ali <[email protected]> Date: Fri Nov 2 10:28:20 2018 +0200 feat: Action priorities A new decorator to specify which actions override others. A higher prioirity means an action gets to override all those below it when updating the state. commit b9110b89a25943a9c317e7f5ae863c46899420d0 Author: Abdullah Ali <[email protected]> Date: Sat Sep 29 10:49:50 2018 +0200 test: Fix unused variable/parameters in the tests. commit f77a4a6836df22459c64119cb2a0f85cc16625de Author: Abdullah Ali <[email protected]> Date: Sat Sep 29 10:48:45 2018 +0200 docs(Spec): Fix spec pseudocode examples. commit e536638cf86df9f1a10af287a1d03b84cf295fb8 Merge: 452ec70 555f566 Author: Abdullah Ali <[email protected]> Date: Wed Sep 26 20:18:51 2018 +0200 Merge branch 'master' into devel commit 452ec70eb357bd608c4b35885ec6ac33d6497c6a
Version 1.0.0-alpha.4 (#3)
* feat: decorators are now chainable, added 2 new decorators * feat: inhibitors via `@inhibitOn('methodName')` * feat: exclusions via `@exceptWhen(condition)` BREAKING CHANGE: @when is stricter and requires the state type as the first generic argument. * chore: Switched the project to conventional-changelog. Contributers must now commit any new changes using `npm run commit`. * docs(Spec): Refined the spec. Added decorators for @input and @priority to the spec. Fixed some typos and small errors in the examples in the readme. * docs(Spec): Fixed some typos. * docs(Spec): Rewind now accepts a discrete tick number instead of a realtive argument. For better control, rewind no longer accepts a relative number specifying the number of past states to rewind. It now only accepts the parameter `t`, which must be a discrete tick number of a past saved state. BREAKING CHANGE: Any code passing a relative number to `rewind` must be switched to provide the absolute tick number. * feat: Version 1.0.0-alpha.4 A complete rewrite of how inputs work. BREAKING CHANGE: The `StateMachine` class now recognises the distinction between State and Input. A second generic argument is need (`StateMachine<State, InputSource>`) that defined the layout of the input source. The `@input` decorator must now decorate fields on the input source itself. The state object passed to condition and actions is now a union of State & Input, but the return value from actions can only be a partial State.
1.0.0-alpha.3
Version 1.0.0-alpha.3
1.0.0-alpha.2
Merge branch 'master' of github.com:voodooattack/when-ts
1.0.0-alpha.1
1.0.0-alpha.1