Skip to content

Releases: microsoft/satcheljs

v3.0.0-beta4

10 Aug 17:19
Compare
Choose a tag to compare
v3.0.0-beta4 Pre-release
Pre-release
  • Change the select API so that it is simpler and easier to understand. (#69)

v3.0.0-beta3

07 Aug 17:56
Compare
Choose a tag to compare
v3.0.0-beta3 Pre-release
Pre-release

This release just updates the package.json to include a license field. It is still licensed under MIT license.

v2.15.0

17 Jul 22:52
Compare
Choose a tag to compare

In this minor release, we are turning the select() API to one of more clarity. It will no longer create setters.

v3.0.0-beta2

14 Jul 20:36
Compare
Choose a tag to compare
v3.0.0-beta2 Pre-release
Pre-release

Breaking changes

  1. All satcheljs-* packages have been folded into a single package under src
  2. "legacy" APIs are moved under src/legacy
  3. All legacy public APIs are exposed through 'satcheljs/lib/legacy' index.ts instead of the 'satcheljs' index.ts. To consume legacy API, import from there:
import { action } from 'satcheljs/lib/legacy';

Infra changes

  1. Jest is introduced for testing
  2. Husky, lint-staged and prettier are introduced and enforces code style
  3. Update Travis configuration to allow Travis to handle deployment rather than a custom script

Satchel 3 Beta 1

02 Jun 03:35
Compare
Choose a tag to compare
Satchel 3 Beta 1 Pre-release
Pre-release

This is the first beta release for v3 of SatchelJS. The changes are pretty extensive; see the README for details.

v2.14.1

01 May 23:46
Compare
Choose a tag to compare
  • Changes satcheljs-promise to override Promise in a more reliable way (#56)

v2.14.0

28 Apr 20:39
Compare
Choose a tag to compare

The satcheljs-promise package brought the es6-promise typing to use the @types/es6-promise.

This is no longer necessary because Typescript already includes a lib.es6.d.ts that has the definitive definition for Promise. We are standardizing towards this so that any consumer can be sure they are using the same Promise definition.

v2.13.0

13 Apr 23:51
Compare
Choose a tag to compare
  • Adds the getActionType API to get the action type string from an action. (#50) This replaces the actionType property on actions.

v2.12.0

07 Apr 20:50
Compare
Choose a tag to compare
  • Adds satcheljs-promise middleware (#46). With this middleware applied, any then or catch callbacks created during an action are treated as actions themselves. This makes writing asynchronous code much easier because it is not necessary to manually wrap each callback in an action.
  • Changes the way satcheljs-trace writes to the console (#47). It no longer uses the console.group API, but rather writes simple console.log statements.
  • Replaces raise with raiseAction in satcheljs-stitch (raise is now deprecated). (#48)

ActionType Release

06 Mar 18:35
Compare
Choose a tag to compare
  • Adds action type exposed as property off of actions (#43).

    let someAction = action("someAction")(
        function someAction() { });
    
    expect(someAction.actionType).toBe("someAction");
    
  • Adds support for actions to decorate class methods (#40).

    class TestClass {
        @action("testMethod")
        testMethod() { }
    }