|
| 1 | +# openapi-react-query |
| 2 | + |
| 3 | +## 0.3.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#1881](https://github.com/openapi-ts/openapi-typescript/pull/1881) [`ccbc2e3`](https://github.com/openapi-ts/openapi-typescript/commit/ccbc2e3f68ced4d3038b9003064fe449925b55dc), [#2117](https://github.com/openapi-ts/openapi-typescript/pull/2117) [`3ef38b8`](https://github.com/openapi-ts/openapi-typescript/commit/3ef38b8b9371bc2a2ade202a6dc864b765446305) Thanks [@jungwoo3490](https://github.com/jungwoo3490), [@lukasedw](https://github.com/lukasedw)! - Implements useInfiniteQuery() in openapi-react-query |
| 8 | + |
| 9 | +### Patch Changes |
| 10 | + |
| 11 | +- [#2120](https://github.com/openapi-ts/openapi-typescript/pull/2120) [`efea325`](https://github.com/openapi-ts/openapi-typescript/commit/efea32521ffa1557547a0000051cc73157be5a61) Thanks [@drwpow](https://github.com/drwpow)! - Fix minor type error with latest version of TanStack Query |
| 12 | + |
| 13 | +- [#2061](https://github.com/openapi-ts/openapi-typescript/pull/2061) [`6871e73`](https://github.com/openapi-ts/openapi-typescript/commit/6871e73b4c004560ba514d19c0f1f948ba63f5c8) Thanks [@kevmo314](https://github.com/kevmo314)! - Drop init argument when not needed in query key |
| 14 | + |
| 15 | +- [#2114](https://github.com/openapi-ts/openapi-typescript/pull/2114) [`0c35b32`](https://github.com/openapi-ts/openapi-typescript/commit/0c35b321778afe0705d7fd7a8375c4e10d5f95c2) Thanks [@kerwanp](https://github.com/kerwanp)! - [#2098](https://github.com/openapi-ts/openapi-typescript/pull/2098): Fix CJS type issues by pointing to proper d.ts file |
| 16 | + |
| 17 | +- [#1945](https://github.com/openapi-ts/openapi-typescript/pull/1945) [`248195d`](https://github.com/openapi-ts/openapi-typescript/commit/248195df11f186e379005d487ad9113c3bdd32a9) Thanks [@freshgiammi](https://github.com/freshgiammi)! - Add MethodResponse to get the return type of an endpoint from an `OpenapiQueryClient` client. |
| 18 | + |
| 19 | +- Updated dependencies []: |
| 20 | + |
| 21 | + |
| 22 | +## 0.2.10 |
| 23 | + |
| 24 | +### Patch Changes |
| 25 | + |
| 26 | +- [#2105](https://github.com/openapi-ts/openapi-typescript/pull/2105) [`af0e72f`](https://github.com/openapi-ts/openapi-typescript/commit/af0e72f16f1515f2953a719d7f58c76ec27637ea) Thanks [@HagenMorano](https://github.com/HagenMorano)! - [#1845](https://github.com/openapi-ts/openapi-typescript/pull/2105): The return value of the `select` property is now considered when inferring the `data` type. |
| 27 | + |
| 28 | +## 0.2.9 |
| 29 | + |
| 30 | +### Patch Changes |
| 31 | + |
| 32 | +- Updated dependencies [[`5935cd2`](https://github.com/openapi-ts/openapi-typescript/commit/5935cd25a05d3ec1f4c8bf222d65395a0b9ae5b4)]: |
| 33 | + |
| 34 | + |
| 35 | +## 0.2.8 |
| 36 | + |
| 37 | +### Patch Changes |
| 38 | + |
| 39 | +Refresh of 0.2.7; corrupted package |
| 40 | + |
| 41 | +## 0.2.7 |
| 42 | + |
| 43 | +### Patch Changes |
| 44 | + |
| 45 | +- Updated dependencies [[`7081842`](https://github.com/openapi-ts/openapi-typescript/commit/70818420c1cd6ca2ad2529bf2d7936bd01f3ef42)]: |
| 46 | + |
| 47 | + |
| 48 | +## 0.2.6 |
| 49 | + |
| 50 | +### Patch Changes |
| 51 | + |
| 52 | +- Updated dependencies [[`35c576c`](https://github.com/openapi-ts/openapi-typescript/commit/35c576c8b2852f66e641014d13ffcfdeb21e98a1)]: |
| 53 | + |
| 54 | + |
| 55 | +## 0.2.5 |
| 56 | + |
| 57 | +### Patch Changes |
| 58 | + |
| 59 | +- [#1975](https://github.com/openapi-ts/openapi-typescript/pull/1975) [`621792f`](https://github.com/openapi-ts/openapi-typescript/commit/621792f23b0b8830949f3c1e25fe480557016b9a) Thanks [@HugeLetters](https://github.com/HugeLetters)! - - Fixed empty value check in queryFn: only throws error for undefined, other falsy values are allowed |
| 60 | + - Fixed empty value check in mutationFn: allow falsy values |
| 61 | + |
| 62 | +## 0.2.4 |
| 63 | + |
| 64 | +### Patch Changes |
| 65 | + |
| 66 | +- [#1952](https://github.com/openapi-ts/openapi-typescript/pull/1952) [`455b735`](https://github.com/openapi-ts/openapi-typescript/commit/455b73527c788918d665a3d607e8ac240a4e5e52) Thanks [@zsugabubus](https://github.com/zsugabubus)! - Fix return type inference for `queryOptions()` when used inside `useQuery` or `useSuspenseQuery`. |
| 67 | + |
| 68 | +- [#1952](https://github.com/openapi-ts/openapi-typescript/pull/1952) [`455b735`](https://github.com/openapi-ts/openapi-typescript/commit/455b73527c788918d665a3d607e8ac240a4e5e52) Thanks [@zsugabubus](https://github.com/zsugabubus)! - Narrow `queryFn` returned by `queryOptions()` to be a function. |
| 69 | + |
| 70 | +## 0.2.3 |
| 71 | + |
| 72 | +### Patch Changes |
| 73 | + |
| 74 | +- Updated dependencies [[`06163a2`](https://github.com/openapi-ts/openapi-typescript/commit/06163a2030eaf8d0579f624d86481e1205aef396)]: |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +## 0.2.2 |
| 79 | + |
| 80 | +### Patch Changes |
| 81 | + |
| 82 | +- Updated dependencies [[`abfad56`](https://github.com/openapi-ts/openapi-typescript/commit/abfad5659183f95f705598dc52ae2dfe7a18ec04)]: |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | +## 0.2.1 |
| 87 | + |
| 88 | +### Patch Changes |
| 89 | + |
| 90 | +- Updated dependencies [[`d14aa65`](https://github.com/openapi-ts/openapi-typescript/commit/d14aa65207b8abd1f369965bbd32ebb581e8d741)]: |
| 91 | + |
| 92 | + |
| 93 | +## 0.2.0 |
| 94 | + |
| 95 | +### Minor Changes |
| 96 | + |
| 97 | +- [#1858](https://github.com/openapi-ts/openapi-typescript/pull/1858) [`29bd162`](https://github.com/openapi-ts/openapi-typescript/commit/29bd162dccf441abbb33f07c6158410fd81a85d7) Thanks [@zsugabubus](https://github.com/zsugabubus)! - Introduce `queryOptions` that can be used as a building block to integrate with `useQueries`/`fetchQueries`/`prefetchQueries`… etc. |
| 98 | + |
| 99 | +## 0.1.7 |
| 100 | + |
| 101 | +### Patch Changes |
| 102 | + |
| 103 | +- Updated dependencies [[`e39d11e`](https://github.com/openapi-ts/openapi-typescript/commit/e39d11e5ac4e7f5fc2ce81e8a6d7792f91a6551a)]: |
| 104 | + |
| 105 | + |
| 106 | +## 0.1.6 |
| 107 | + |
| 108 | +### Patch Changes |
| 109 | + |
| 110 | +- Updated dependencies [[`efaa1e2`](https://github.com/openapi-ts/openapi-typescript/commit/efaa1e23b9cb0901fe026e48fbb4b347f0c95507)]: |
| 111 | + |
| 112 | + |
| 113 | +## 0.1.5 |
| 114 | + |
| 115 | +### Patch Changes |
| 116 | + |
| 117 | +- [#1864](https://github.com/openapi-ts/openapi-typescript/pull/1864) [`899b157`](https://github.com/openapi-ts/openapi-typescript/commit/899b1575968334bc55aa402ea1419bc5db801391) Thanks [@zsugabubus](https://github.com/zsugabubus)! - Pass down signal to fetch function this way `useQuery` and `useSuspenseQuery` can cancel queries. |
| 118 | + |
| 119 | +- Updated dependencies []: |
| 120 | + |
| 121 | + |
| 122 | +## 0.1.4 |
| 123 | + |
| 124 | +### Patch Changes |
| 125 | + |
| 126 | +- Updated dependencies [[`b893c44`](https://github.com/openapi-ts/openapi-typescript/commit/b893c44f4290917f24c2ef7cda106c540df9cb3d)]: |
| 127 | + |
| 128 | + |
| 129 | +## 0.1.3 |
| 130 | + |
| 131 | +### Patch Changes |
| 132 | + |
| 133 | +- Updated dependencies [[`2a4b067`](https://github.com/openapi-ts/openapi-typescript/commit/2a4b067f43f7e0b75aecbf5c2fb3013a4e96e591), [`0e42cbb`](https://github.com/openapi-ts/openapi-typescript/commit/0e42cbb98e2a023c33685de65ab0b8dbf82cc4b3)]: |
| 134 | + |
| 135 | + |
| 136 | +## 0.1.2 |
| 137 | + |
| 138 | +### Patch Changes |
| 139 | + |
| 140 | +- [#1833](https://github.com/openapi-ts/openapi-typescript/pull/1833) [`cec023d`](https://github.com/openapi-ts/openapi-typescript/commit/cec023d3461c79ca355a88366949d0f6382e4e2a) Thanks [@ngraef](https://github.com/ngraef)! - Fix identification of required properties when `strictNullChecks` is disabled |
| 141 | + |
| 142 | +- Updated dependencies [[`091e71a`](https://github.com/openapi-ts/openapi-typescript/commit/091e71ad4bf805be32261a53524f320c2fa42690), [`cec023d`](https://github.com/openapi-ts/openapi-typescript/commit/cec023d3461c79ca355a88366949d0f6382e4e2a)]: |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | +## 0.1.1 |
| 147 | + |
| 148 | +### Patch Changes |
| 149 | + |
| 150 | +- Updated dependencies [[`a956d5d`](https://github.com/openapi-ts/openapi-typescript/commit/a956d5d8480834402536283ee2f24ce8086698dc)]: |
| 151 | + |
| 152 | + |
| 153 | +## 0.1.0 |
| 154 | + |
| 155 | +### Minor Changes |
| 156 | + |
| 157 | +- [#1814](https://github.com/openapi-ts/openapi-typescript/pull/1814) [`2a044d0`](https://github.com/openapi-ts/openapi-typescript/commit/2a044d029ec089e391703a4cdc1340f3b5c1b543) Thanks [@yoshi2no](https://github.com/yoshi2no)! - feat: Allow passing a queryClient as an argument to the `useQuery`, `useMutation`, and `useSuspenseQuery` methods |
| 158 | + |
| 159 | +### Patch Changes |
| 160 | + |
| 161 | +- Updated dependencies [[`f21c05b`](https://github.com/openapi-ts/openapi-typescript/commit/f21c05b9afcc89ee6ef73edab4045620b410eb01), [`ba0d595`](https://github.com/openapi-ts/openapi-typescript/commit/ba0d595556661053b5ef310afafec4fcc116e206)]: |
| 162 | + |
| 163 | + |
| 164 | +## 0.0.3 |
| 165 | + |
| 166 | +### Patch Changes |
| 167 | + |
| 168 | +- Updated dependencies [[`7698546`](https://github.com/openapi-ts/openapi-typescript/commit/76985467402dc52d705902c21159387ddaff3519)]: |
| 169 | + |
| 170 | + |
| 171 | +## 0.0.2 |
| 172 | + |
| 173 | +### Patch Changes |
| 174 | + |
| 175 | +- Updated dependencies [[`bcc9222`](https://github.com/openapi-ts/openapi-typescript/commit/bcc92223c83ba074316e17534a173fee8da9cd41)]: |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | +## 0.0.1 |
| 180 | + |
| 181 | +### Patch Changes |
| 182 | + |
| 183 | +- [#1717](https://github.com/openapi-ts/openapi-typescript/pull/1717) [`335530c`](https://github.com/openapi-ts/openapi-typescript/commit/335530c4f8f966d0154f19504585c462f5f5a409) Thanks [@kerwanp](https://github.com/kerwanp)! - Initial release |
| 184 | + |
| 185 | +- Updated dependencies [[`335530c`](https://github.com/openapi-ts/openapi-typescript/commit/335530c4f8f966d0154f19504585c462f5f5a409), [`335530c`](https://github.com/openapi-ts/openapi-typescript/commit/335530c4f8f966d0154f19504585c462f5f5a409)]: |
| 186 | + |
| 187 | + |
0 commit comments