Skip to content

馃巵 Instance-Level Pending Getters & lots more!

Compare
Choose a tag to compare
@marshallswain marshallswain released this 05 Oct 15:19
· 92 commits to master since this release

This is a great release, with lots of code contributions from the community! Let's dive right in:

馃摐 Mixins Docs Cleanup

The mixins documentation is now much more readable thanks to a great contribution by @fratzinger. The main change is that the makeFindMixin and the makeGetMixin have been given their own section in the document rather than grouping similar options and properties. You can see the details of the changes here

馃巵 Per-Instance Pending Status

Thanks to an exciting contribution made by @hamiltoes, model instances now have their own pending state for each of the FeathersJS service methods. Before today, Feathers-Vuex would track pending status for create, update, patch and remove only at the service level. This means that if any model is pending, the status for that service reflects the change. It is now much easier to track status for individual instances thanks to additional properties listed below. Check out the full details in the PR.

  • isCreatePending
  • isUpdatePending
  • isPatchPending
  • isSavePending, which is a combination of the above three.
  • isRemovePending
  • isPending, which is a combination of all of the above.

馃悳 Fixing the Dirty FormWrapper

The FeathersVuexFormWrapper just got a little bit easier to use thanks to a great catch by @ecirish. He observantly noticed that after calling reset() on the instance, the isDirty boolean status was not getting set back to false. You can check out the details in this commit

馃悳 Option Fix for makeFindMixin

In another contribution from a keen eye, @fratzinger noticed that the make-find-mixin had one of its options misnamed. The fetchParams option was accidentally named fetchQuery. This bug fix brings the code up to date with what was already reflected in the docs. See more details in the original commit.

馃悳 Fixing the Count Getter

The final contribution packed into this release is another by @fratzinger. He fixed a bug that prevented the count getter from working properly. You can find details in the commit

This is a pretty big release, overall. Many, many thanks to @fratzinger, @ecirish, and @hamiltoes for their contributions!