Skip to content

Releases: klis87/normy

@normy/core v0.10.1

16 Jul 06:56
Compare
Choose a tag to compare

Updated deep merging library dependency. Thanks @haddowg for the contribution!

@normy/swr v0.1.2

13 Feb 23:04
Compare
Choose a tag to compare

Update to newest @normy/core to get new structuralSharing feature.

@normy/rtk-query v0.1.3

13 Feb 23:05
Compare
Choose a tag to compare

Updated core to the newest version.

@normy/react-query v0.14.2

13 Feb 23:03
Compare
Choose a tag to compare

Update to newest @normy/core to get new structuralSharing feature.

@normy/core v0.10.0

13 Feb 22:14
Compare
Choose a tag to compare

Added structuralSharing option, which is true by default. It is a big performance improvenent for libraries which use structural sharing - preserving data reference for the same structure. For such cases, normy will not normalize data, as it would not update normalized store anyway.

@normy/rtk-query v0.1.0

12 Jan 22:45
Compare
Choose a tag to compare

This is the first release of the new rtk-query integration. Please check its documentation.

@normy/swr v0.0.2

08 Dec 22:44
Compare
Choose a tag to compare

This is the first release of the new swr integration. Please check its documentation.

@normy/react-query v0.13.0

08 Dec 22:43
Compare
Choose a tag to compare

Updated @normy/core to 0.9.0 to get new mutation performance improvement.

@normy/core v0.9.0

08 Dec 22:42
Compare
Choose a tag to compare

Added performance improvement for mutations. Now, after data is received in your mutation, each object in data will be compared with normalized data you already have in your store. If it is the same, then your queries dependent on a given object will not be updated.

It is a big performance improvement, because this check is super quick, while updating a very big query/queries is slower, and it does not make sense to do it if data is the same, as updated queries would remain the same anyway.

@normy/react-query v0.12.0

13 Nov 10:49
Compare
Choose a tag to compare

Added getObjectById and getQueryFragment functions. You can use getObjectById to get an object from normalized store by id. With getQueryFragment you can get multiple objects by id.

See https://github.com/klis87/normy/tree/master/packages/normy-react-query#getobjectbyid-and-getqueryfragment-arrow_up for potential usage.