Skip to content

Releases: fixate/xstream-store-resource

v4.0.0

31 Aug 10:57
Compare
Choose a tag to compare

4.0.0 (2018-08-31)

Bug Fixes

  • resource state shape: use 'response' instead of items / entity (e2eea77)

BREAKING CHANGES

  • resource state shape: 'entity' and 'items' are no longer available on ResourceState. 'response' should be
    used when all methods respond with success

v3.0.2

28 Aug 12:06
Compare
Choose a tag to compare

3.0.2 (2018-08-28)

Bug Fixes

  • resource state type: allow any shape, not just arrays, to be provided (f515553)

v3.0.1

20 Aug 08:55
Compare
Choose a tag to compare

3.0.1 (2018-08-20)

Bug Fixes

  • resource state interface: allow any generic (142d29b)

v3.0.0

17 Aug 14:34
Compare
Choose a tag to compare

3.0.0 (2018-08-17)

Bug Fixes

  • src/utils.ts: id param is no longer special, all params required to exist (69665b0)
  • src/utils.ts: Make url segment blank if not found, to allow for :id (34d268f)

Code Refactoring

  • types: update xstream and imports (b2e860a)

Styles

  • Enums: Enum names should be singular and have capital case keys (273c654)

BREAKING CHANGES

  • types: dependency on [email protected]
  • Enums: Breaks public api
  • src/utils.ts: Parameterized urls without a corresponding params value
    will throw an error

v2.0.3

15 Aug 09:21
Compare
Choose a tag to compare

2.0.3 (2018-08-15)

Bug Fixes

  • remove action creator: make data paramter optional (e623fa7)

v2.0.2

19 Jul 09:04
Compare
Choose a tag to compare

2.0.2 (2018-07-19)

Bug Fixes

  • getUrl: fix absolute url being split at // by passing in baseUrl (be68b6f)

v2.0.1

13 Jul 15:07
Compare
Choose a tag to compare

2.0.1 (2018-07-13)

Bug Fixes

  • effects: fix ts error when attempting to define string values for effects config (a2d0c37)

v2.0.0

13 Jul 11:42
Compare
Choose a tag to compare

2.0.0 (2018-07-13)

Bug Fixes

  • dummy commit: dummy commit to force version bump (1898d48)
  • effects: fix name of config property and associated types (b34c8cc)

Features

  • effects: change all references to 'method' to 'effect' (c74b45c)

BREAKING CHANGES

  • dummy commit: RequestMethods export is now RequestEffects
  • effects: exported RequestMethod enum is now RequestEffect
  • effects: config property 'methods' is now 'effects'

v1.2.0

12 Jul 15:54
Compare
Choose a tag to compare

1.2.0 (2018-07-12)

Features

  • effects: pass actions to effect creators (5dd54cc)

v1.1.0

12 Jul 14:01
Compare
Choose a tag to compare

1.1.0 (2018-07-12)

Features

  • effect creator: append id to request if provided (c3a2cb3)