Skip to content

Commit

Permalink
chore(changesets): bump package version (#84)
Browse files Browse the repository at this point in the history
chore: bump package version

Co-authored-by: Luke Morales <[email protected]>
  • Loading branch information
github-actions[bot] and lukemorales authored Feb 9, 2024
1 parent e68ca7d commit 81cd141
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .changeset/nasty-trains-glow.md

This file was deleted.

10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lukemorales/query-key-factory

## 1.3.3

### Patch Changes

- [`9b5401c`](https://github.com/lukemorales/query-key-factory/commit/9b5401cdd8ff6b3a85074285ab7ed68a6ab3a252) Thanks [@lukemorales](https://github.com/lukemorales)! - Improve `mergeQueryKeys` type inference and improve type-safety for dynamic query keys

## 1.3.2

### Patch Changes
Expand Down Expand Up @@ -61,7 +67,7 @@
New in `@lukemorales/query-key-factory` is support for nested keys and generation of query options, adopting the query options overload as first class citizen, in preparation for [React Query v5 roadmap](https://github.com/TanStack/query/discussions/4252).

```ts
const people = createQueryKeys('people', {
const people = createQueryKeys("people", {
person: (id: number) => ({
queryKey: [id],
queryFn: () => api.getPerson({ params: { id } }),
Expand All @@ -88,7 +94,7 @@
Each entry outputs an object that can be used in the query options overload in React Query:

```tsx
console.log(people.person('person_01'));
console.log(people.person("person_01"));
// => output:
// {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lukemorales/query-key-factory",
"version": "1.3.2",
"version": "1.3.3",
"author": "Luke Morales <[email protected]>",
"description": "A library for creating standardized query keys, useful for cache management in @tanstack/query",
"license": "MIT",
Expand Down

0 comments on commit 81cd141

Please sign in to comment.