Skip to content

Releases: rtk-incubator/rtk-query-codegen

v0.5.1

21 Nov 15:46
Compare
Choose a tag to compare

0.5

16 Sep 00:39
Compare
Choose a tag to compare
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

v0.4.0...v0.5.0

0.4.0

14 Jul 22:54
Compare
Choose a tag to compare

Overview

This release primarily updates dependencies while updating the handling of query string parameters.

  • correct sanitization of querystring parameters, test (#65) b8ff772
  • valid property access in generatePathExpression 7c075c4
  • re-add openapi-types 985d8df
  • bump oazapfts to 3.4.0 bce1f66
  • fix: special chars in params name handling (#52) 992ad9b
  • update back to official oazapfts version 3.3.1 320a060

v0.3.2...v0.4.0

Import from RTK 1.6-alpha.2

27 Apr 15:14
Compare
Choose a tag to compare

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

  • Merge pull request #50 from rtk-incubator/next 454d4cf
  • fix(imports): move from rtk-query to redux-toolkit (#49) 7dad2b5

v0.3.1...v0.3.2

Fixes: Rename entityTypes to tagTypes

23 Apr 16:54
Compare
Choose a tag to compare

Overview:

Renames entityTypes to tagTypes in the output per rtk-incubator/rtk-query#213

  • Merge pull request #48 from rtk-incubator/next 982c2fa
  • fix: rename entityTypes to tagTypes (#47) f0a962f

v0.3.0...v0.3.1

0.3.0

19 Apr 22:34
Compare
Choose a tag to compare

Adds support for the /react entrypoint for RTK Query 0.3.0

  • Merge pull request #46 from rtk-incubator/next 3fc7339
  • Merge pull request #45 from rtk-incubator/rtkq-0.3-support 3e23e4f
  • Add support for RTKQ 0.3 with the /react entrypoint c52d6f7

v0.2.5...v0.3.0

0.2.5

13 Apr 01:45
Compare
Choose a tag to compare

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 and baseQuery at the same time that warns a user that the baseUrl will be ignored

Commits

  • Update README (#44) edbd524
  • Add test for warning behavior when combining baseUrl and baseQuery options (#43) d539de6
  • Modify --baseQuery and --baseUrl behaviors (#41) 9b32e67
  • Fix #32 by appending ./ to relative imports from the same folder (#38) 609b066
  • bump oazapfts 001db47

v0.2.4...v0.2.5

v0.2.4

16 Jan 23:02
Compare
Choose a tag to compare

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...v0.2.4

v0.2.3

14 Jan 03:31
Compare
Choose a tag to compare

v0.2.2...v0.2.3

v0.2.2-0

14 Jan 03:20
Compare
Choose a tag to compare
  • Include lib in package output 451b743

v0.2.1-0...v0.2.2-0