Releases: rtk-incubator/rtk-query-codegen
Releases · rtk-incubator/rtk-query-codegen
v0.5.1
0.5
- Update snapshots d4cc311
- Merge branch 'next' b018371
- Merge pull request #55 from StefanBRas/adjustable-createApi-import-path e186638
- Merge pull request #72 from jordancarney1/generate-void-type d206121
- Generates void type when Request QueryArgs are empty. 451a2c2
- Update README links for rtk docs 37db9e7
- remove it.only from test f935565
- type base import 2cfcb82
- refactor package imports 0e86990
- add documentation 2f100f8
- add import path argument 4fe6368
0.4.0
Overview
This release primarily updates dependencies while updating the handling of query string parameters.
Import from RTK 1.6-alpha.2
Overview
This changes the base import from @rtk-incubator/rtk-query
to @reduxjs/toolkit/query
. In the event you want to keep the original imports and not upgrade to RTK 1.6 at this time, you can continue to use 0.3.1
as the last compatible version to generate from with RTK 1.5.
Commits
Fixes: Rename entityTypes to tagTypes
Overview:
Renames entityTypes
to tagTypes
in the output per rtk-incubator/rtk-query#213
0.3.0
0.2.5
About this release
This release fixes several bugs while getting ready for a 0.3 release to go along with RTK Query 0.3.
- Fixes a bug when using relative imports where a custom
baseQuery
was imported from the same folder as the generated API client - Adds a warning when combining
baseUrl
andbaseQuery
at the same time that warns a user that thebaseUrl
will be ignored
Commits
v0.2.4
About this release
This release adds support for using module aliases in addition to relative file paths for --baseQuery
.
Example usage:
npx @rtk-incubator/rtk-query-codegen-openapi -h --baseQuery @/customBaseQuery:namedExportFn -c ../tsconfig.json https://petstore3.swagger.io/api/v3/openapi.json
Thanks to @kahirokunn for this awesome work!
v0.2.3
- Move prettier to deps cc0e957
v0.2.2-0
- Include lib in package output 451b743