Skip to content

Releases: klis87/normy

@normy/react-query v0.6.1

22 Mar 22:40
Compare
Choose a tag to compare

Fixed the way queries keys are calculated. Before the fix, query key like ['book', { liked: true }], did not work. Now all keys are supported, including nested arrays and objects.

@normy/react-query v0.6.0

17 Mar 22:05
Compare
Choose a tag to compare
  • updated core to version 0.5.0 to use new devLogging option

@normy/core v0.5.0

17 Mar 22:04
Compare
Choose a tag to compare
  • added devLogging option to turn on logging in development
  • tech: updated lerna to version 6, utilize nx cache and switch from yarn to pnpm

@normy/react-query v0.5.0

09 Mar 21:39
Compare
Choose a tag to compare
  • fix createNormalizedQueryClient types, now both arguments are optional
  • add normalize option to createNormalizedQueryClient, true by default, when you pass false, it will disable normalization for queries and mutations, unless you explicitly turn it on for a given query or mutation

@normy/react-query v0.4.0

04 Mar 22:12
Compare
Choose a tag to compare
  • rewritten to Typescript
  • updated @normy/core dependency to 0.4.0

@normy/core v0.4.0

04 Mar 22:10
Compare
Choose a tag to compare
  • rewritten to TypeScript - previously the library was written in JavaScript with just TypeScript types, now it is 100% Typescript with autogenerated types
  • added tests to achieve 100% coverage
  • removed shouldObjectBeNormalized, having getNormalisationObjectKey is enough, if getNormalisationObjectKey returns undefined it just means that an object should not be normalized

@normy/react-query v0.3.0

12 Feb 23:26
Compare
Choose a tag to compare
  • added possibility to disable normalization per query and mutation
  • added support for optimistic updates
  • updated to use @normy/core v0.3.0 internally

@normy/core v0.3.0

12 Feb 23:24
Compare
Choose a tag to compare

API change - all methods to update normalized state were renamed.

@normy/react-query v0.2.0

09 Feb 21:39
Compare
Choose a tag to compare

Added onQueryRemoval call on queries garbage collection.

@normy/core v0.2.0

09 Feb 21:37
Compare
Choose a tag to compare

Added onQueryRemoval method to allow clearing unused queries.