Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Releases: SyneticNL/Hyral

1.2.0

30 Aug 13:52
Compare
Choose a tag to compare

Important: BC break in @hyral/vue:
The getters for resource and collection do not always return a resource or collection. If they were not previously set the getters will return null. This was required to fix a number of outstanding bugs and get proper reactivity for Vue & the Vuex store.


Bug Fixes

  • core: fromState returns incorrect relationship types for resources (4193e49)
  • vue: vue created() does not check if mixin should run (85d59ab)
  • vue: vue mixin resets collection if created() is called 2+ times (a57285f)

Features

  • core: add support for ParameterBag in Repository.findById #82 (9b2e79e)
  • core: delete support in persistCascade for 1-to-1 relations #42 (e9aca6f)
  • vue: add support for ParameterBag in resource mixin #82 (5381dcc)
  • core: move Resource creation from responseNormalizer to repository to enable use for api's that don't return type

v1.1.0

12 Jul 13:07
Compare
Choose a tag to compare
  • Resource incorrectly states is loaded in the metadata when created from state #75
  • Include meta information on resource level if available #73
  • Error: [vuex] do not mutate vuex store state outside mutation handlers. #66
  • Make API consistent for creating instances #62
  • Vue dependency should be a peer-dependency? #57
  • Add possibility to catch collection load errors. #50
  • Lazy-loading not enabled by default? #45

Warning:
A small BC break has been made by not enabling the lazyloading decorator by default. If you want to keep using is add it according to the guidelines in the documentation.

v1.0.6

11 Jul 13:57
Compare
Choose a tag to compare
  • Security update for lodash
  • Documentation updates