Skip to content

Releases: reststate/reststate-vuex

v0.2.3

15 Oct 11:18
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release
  • [BUG] 'state' should be a method that returns an object

v0.2.2

04 May 12:14
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  • [BUG]: when updating a record to remove all records from a relationship, the cached related data is now cleared out as well. Thanks @SancheZz! #186

v0.2.1

18 Apr 09:43
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • When updating a record, its cached related data is now updated as well (#184)
  • When you delete a record that is in another record's relationship, you will no longer get an undefined when accessing that relationship; the missing record will be skipped instead (#185)

v0.2.0: Merge pull request #134 from reststate/include-docs

09 Oct 10:44
452af3c
Compare
Choose a tag to compare

Adds support for the include feature to eagerly load related resources.

v0.1.0

09 Oct 10:38
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Initial minor release, indicating the library has some readiness for production use. Supports:

  • Loading all records, by ID, by filters, related data, and pagination
  • Creating, updating, and deleting records

v0.0.13

07 Apr 12:06
Compare
Choose a tag to compare
v0.0.13 Pre-release
Pre-release
  1. loadRelated action and related getter now correctly handle relationships that return a single record rather than an array.
  2. Breaking change: related getter previously returned [] when the relationship had not been loaded; now it returns null. This is because we can no longer assume that it will contain an array when loaded due to change 1 above.