Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"cli": "3.1.0",
"plugins/typescript": "11.1.0"
"plugins/typescript": "11.1.0",
".": "1.0.0"
}
110 changes: 110 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Changelog

## 1.0.0 (2025-12-08)


### ⚠ BREAKING CHANGES

* Add support for `skipToken` ([#289](https://github.com/fabien0102/openapi-codegen/issues/289))
* deep merge variables with fetcherOptions from context. ([#284](https://github.com/fabien0102/openapi-codegen/issues/284))
* Generated enum should be in pascal case ([#282](https://github.com/fabien0102/openapi-codegen/issues/282))
* Use query option pattern and support useSuspense ([#263](https://github.com/fabien0102/openapi-codegen/issues/263))
* Refactor/Simplify cli ([#268](https://github.com/fabien0102/openapi-codegen/issues/268))
* remove lerna bootstrap
* Add camelize to queryKeyFn path parameters ([#203](https://github.com/fabien0102/openapi-codegen/issues/203))
* Support react-query v5 (use object signatures) #179
* Implement query cancellation in react-query generated components ([#95](https://github.com/fabien0102/openapi-codegen/issues/95))
* Update to react-query v4 ([#77](https://github.com/fabien0102/openapi-codegen/issues/77))
* Improve error type safety ([#63](https://github.com/fabien0102/openapi-codegen/issues/63))
* React query key cache manager ([#49](https://github.com/fabien0102/openapi-codegen/issues/49))
* Inject query options in context ([#31](https://github.com/fabien0102/openapi-codegen/issues/31))

### Features

* [generateFetchers] Add extra props support ([#25](https://github.com/fabien0102/openapi-codegen/issues/25)) ([35fc219](https://github.com/fabien0102/openapi-codegen/commit/35fc219d9c644becdf38b0b3e38e1512d095d2d0))
* Add `init` command ([#44](https://github.com/fabien0102/openapi-codegen/issues/44)) ([2ccd5ec](https://github.com/fabien0102/openapi-codegen/commit/2ccd5ec45c4bc27908c45a16002afef04f92ed96))
* Add a way to generate all configs at once ([#297](https://github.com/fabien0102/openapi-codegen/issues/297)) ([f795e7c](https://github.com/fabien0102/openapi-codegen/commit/f795e7c178ae26778d1040490117b206f43d7f6d)), closes [#195](https://github.com/fabien0102/openapi-codegen/issues/195)
* Add fetchers dictionary by tag ([#45](https://github.com/fabien0102/openapi-codegen/issues/45)) ([b2751d0](https://github.com/fabien0102/openapi-codegen/commit/b2751d03c23ccb841822eafb03d9e579d159dc41))
* add react-query generator ([2ecbcf8](https://github.com/fabien0102/openapi-codegen/commit/2ecbcf8cb803163a57303ad9f8d39fcf36dc108c))
* Add support for `skipToken` ([#289](https://github.com/fabien0102/openapi-codegen/issues/289)) ([d1976e0](https://github.com/fabien0102/openapi-codegen/commit/d1976e0193e459a58ac4a949b845add8fe42c97b))
* Add support for flags in `gen` command ([#27](https://github.com/fabien0102/openapi-codegen/issues/27)) ([ec263c2](https://github.com/fabien0102/openapi-codegen/commit/ec263c2f55e4cc4fcb1bc427bf2c9fd1152f640d))
* add support for union type nodes in shouldExtractNode function ([#318](https://github.com/fabien0102/openapi-codegen/issues/318)) ([c555865](https://github.com/fabien0102/openapi-codegen/commit/c555865557025bb69bf9d5e0dc589a965829ae4f))
* Add suspense ([#261](https://github.com/fabien0102/openapi-codegen/issues/261)) ([8b12827](https://github.com/fabien0102/openapi-codegen/commit/8b12827ec9bcbc07678cbd7077bbc3706fad631e))
* add text/csv media type support ([#321](https://github.com/fabien0102/openapi-codegen/issues/321)) ([536dc4d](https://github.com/fabien0102/openapi-codegen/commit/536dc4d039aefc9a0253f9b001b91f4a2502aa49))
* Added config formatFilename to allow more custom formatting of filenames ([#231](https://github.com/fabien0102/openapi-codegen/issues/231)) ([ea2cac8](https://github.com/fabien0102/openapi-codegen/commit/ea2cac812d59603dddfb630674e47af97a6345df))
* added file upload and download support ([#84](https://github.com/fabien0102/openapi-codegen/issues/84)) ([3a15e0c](https://github.com/fabien0102/openapi-codegen/commit/3a15e0ceb55b8d93947d06b99b699f405af3d469))
* Adding constant handling ([#220](https://github.com/fabien0102/openapi-codegen/issues/220)) ([8944be4](https://github.com/fabien0102/openapi-codegen/commit/8944be44a36a3100cf2ac9f683d245b59a3f954e))
* Allow generating code without a prefix ([#50](https://github.com/fabien0102/openapi-codegen/issues/50)) ([cb4d68f](https://github.com/fabien0102/openapi-codegen/commit/cb4d68fcd52ce0a14ae1f378071fbc2a4e7d1877))
* bump typescript & lerna versions ([#89](https://github.com/fabien0102/openapi-codegen/issues/89)) ([cf22aa1](https://github.com/fabien0102/openapi-codegen/commit/cf22aa1b999b86934ec907aa37dc53477ed0a3e2))
* Create Query Functions (eg. for react-router v6.4+) ([#122](https://github.com/fabien0102/openapi-codegen/issues/122)) ([5ff77ef](https://github.com/fabien0102/openapi-codegen/commit/5ff77ef55537036e0ce46b3cc89f391c9892c9f7))
* enum support ([#153](https://github.com/fabien0102/openapi-codegen/issues/153)) ([aecaa73](https://github.com/fabien0102/openapi-codegen/commit/aecaa738280837256d669b21a1a3de1988b9607d))
* Extend useEnums to all schema files ([#223](https://github.com/fabien0102/openapi-codegen/issues/223)) ([447ef09](https://github.com/fabien0102/openapi-codegen/commit/447ef09207328e1e8897d6247315bf574390c1da))
* generate fetchers only ([#22](https://github.com/fabien0102/openapi-codegen/issues/22)) ([b1d5c4a](https://github.com/fabien0102/openapi-codegen/commit/b1d5c4a6cc104904f4bc72777974973cdda7832d))
* github as openapi source ([#54](https://github.com/fabien0102/openapi-codegen/issues/54)) ([0d054f4](https://github.com/fabien0102/openapi-codegen/commit/0d054f488dfa660f647007002fd80b6ae242b784))
* handle large specs ([#301](https://github.com/fabien0102/openapi-codegen/issues/301)) ([307c0e3](https://github.com/fabien0102/openapi-codegen/commit/307c0e3daca8351265d86b16c312989a83d2e912))
* Implement query cancellation in react-query generated components ([#95](https://github.com/fabien0102/openapi-codegen/issues/95)) ([450b069](https://github.com/fabien0102/openapi-codegen/commit/450b0696073746615d61ab66a7f09de337139a00))
* Improve error type safety ([#63](https://github.com/fabien0102/openapi-codegen/issues/63)) ([d32d84a](https://github.com/fabien0102/openapi-codegen/commit/d32d84a566c52a2b0b7a97b6b240fdf4ca3facca))
* Inject query options in context ([#31](https://github.com/fabien0102/openapi-codegen/issues/31)) ([0a7fd6d](https://github.com/fabien0102/openapi-codegen/commit/0a7fd6d6b46132ae12df787edd4169bbec76dd81))
* Only generate utils if they don't exist ([#288](https://github.com/fabien0102/openapi-codegen/issues/288)) ([e517a2e](https://github.com/fabien0102/openapi-codegen/commit/e517a2e27e72ebe09ad0c526b5ad6b296f08d59d))
* React query key cache manager ([#49](https://github.com/fabien0102/openapi-codegen/issues/49)) ([4e30ddb](https://github.com/fabien0102/openapi-codegen/commit/4e30ddbbb0db14e5b9c1c54b441218481d8537f6))
* Refactor/Simplify cli ([#268](https://github.com/fabien0102/openapi-codegen/issues/268)) ([33b5a36](https://github.com/fabien0102/openapi-codegen/commit/33b5a36a9332f5d7fc9b7990e9f233ba9fc82e5a))
* select support added for react-query components ([#83](https://github.com/fabien0102/openapi-codegen/issues/83)) ([01574bc](https://github.com/fabien0102/openapi-codegen/commit/01574bcb41694d11b928f7d1f3723777001b6b4a))
* Support FormData in the TS fetcher generator ([#117](https://github.com/fabien0102/openapi-codegen/issues/117)) ([c51203d](https://github.com/fabien0102/openapi-codegen/commit/c51203d77d9fc1cd0414a63538f91c014f2e4841))
* Support nullable on allOf schemas ([#229](https://github.com/fabien0102/openapi-codegen/issues/229)) ([867f451](https://github.com/fabien0102/openapi-codegen/commit/867f4511fb67b3227bf5845366ff1a99cd6ebe53))
* Support react-query v5 (use object signatures) [#179](https://github.com/fabien0102/openapi-codegen/issues/179) ([e1076af](https://github.com/fabien0102/openapi-codegen/commit/e1076af6387c5eba15306e647bda051c80185164))
* **typescript:** add useTypeImports option ([#314](https://github.com/fabien0102/openapi-codegen/issues/314)) ([6c16829](https://github.com/fabien0102/openapi-codegen/commit/6c168296cae316a8ddf11b85eb8636e587656fd6))
* **typescript:** Improve generated fetcher names ([2aa1b4b](https://github.com/fabien0102/openapi-codegen/commit/2aa1b4b52628450172d39a68838f825c1bcd2a6d))
* update release-please ([#242](https://github.com/fabien0102/openapi-codegen/issues/242)) ([ce6995a](https://github.com/fabien0102/openapi-codegen/commit/ce6995aab3835a48f8b9db2ca4fd76df4d1f370e))
* Update to react-query v4 ([#77](https://github.com/fabien0102/openapi-codegen/issues/77)) ([a019e39](https://github.com/fabien0102/openapi-codegen/commit/a019e3936169e39109c5bd2cb5f3eb44d3d771f3))
* Use query option pattern and support useSuspense ([#263](https://github.com/fabien0102/openapi-codegen/issues/263)) ([b97044f](https://github.com/fabien0102/openapi-codegen/commit/b97044ff5f8aa6a85336a1629ce31d0195b09cc7))


### Bug Fixes

* [#157](https://github.com/fabien0102/openapi-codegen/issues/157) allOf w/ properties ([#158](https://github.com/fabien0102/openapi-codegen/issues/158)) ([9a39e52](https://github.com/fabien0102/openapi-codegen/commit/9a39e5244563b3f57b5be0c55c6e8fc514a5d6ad))
* Add camelize to queryKeyFn path parameters ([#203](https://github.com/fabien0102/openapi-codegen/issues/203)) ([a24d31b](https://github.com/fabien0102/openapi-codegen/commit/a24d31b721f629f5b5da2c284be61341a5ba616f))
* add typescript as dependency ([22bfb09](https://github.com/fabien0102/openapi-codegen/commit/22bfb091e1617318a38e206d5f88fe3594e0f571))
* adjust documentation with the current state of the project ([2a55e01](https://github.com/fabien0102/openapi-codegen/commit/2a55e0119e1155c0280cd16e5cee95b39e9e7bca))
* Allow components to have dots in their names ([#151](https://github.com/fabien0102/openapi-codegen/issues/151)) ([c91200e](https://github.com/fabien0102/openapi-codegen/commit/c91200e7c714084bcb236e6f0862b74e03b3ba0f))
* Bundle cli with react ([#65](https://github.com/fabien0102/openapi-codegen/issues/65)) ([36b9a35](https://github.com/fabien0102/openapi-codegen/commit/36b9a35652b8adb95e70e8bffca0683ff11281d9))
* camelCase query function operationId ([93b6669](https://github.com/fabien0102/openapi-codegen/commit/93b6669997da806a2f7b6046e09a2b96e401f1f9))
* Changed Read API Method for Github from Graphql API to Rest API ([#253](https://github.com/fabien0102/openapi-codegen/issues/253)) ([a1abe62](https://github.com/fabien0102/openapi-codegen/commit/a1abe62f70910d1b418aa1a75cc317fac926b857))
* Check that property is an object ([#162](https://github.com/fabien0102/openapi-codegen/issues/162)) ([76005e0](https://github.com/fabien0102/openapi-codegen/commit/76005e0c68e87efe5899e205ae63b7e55fb62eae))
* **cli:** update rollup config ([#265](https://github.com/fabien0102/openapi-codegen/issues/265)) ([6c02ab3](https://github.com/fabien0102/openapi-codegen/commit/6c02ab3bdf93e3ae7a79d4ccc62321842152dc3c))
* Deal with empty object generation ([#299](https://github.com/fabien0102/openapi-codegen/issues/299)) ([e36516a](https://github.com/fabien0102/openapi-codegen/commit/e36516a9ff937a30ac12e08855a3387b4601b890)), closes [#258](https://github.com/fabien0102/openapi-codegen/issues/258)
* Deal with forbidden chars in description ([#272](https://github.com/fabien0102/openapi-codegen/issues/272)) ([df5912c](https://github.com/fabien0102/openapi-codegen/commit/df5912c917af82152b86550220e122b65e0e6d19))
* deep merge variables with fetcherOptions from context. ([#284](https://github.com/fabien0102/openapi-codegen/issues/284)) ([2678ea4](https://github.com/fabien0102/openapi-codegen/commit/2678ea407a64cd373adddd868a969b2e3bcc586a))
* **enum:** handle nullable enum when useEnums=true ([#324](https://github.com/fabien0102/openapi-codegen/issues/324)) ([d10922f](https://github.com/fabien0102/openapi-codegen/commit/d10922f810be2e4b7ad09f78f9805ed0d1f7df12))
* error return for fetcher ([#125](https://github.com/fabien0102/openapi-codegen/issues/125)) ([934ea0c](https://github.com/fabien0102/openapi-codegen/commit/934ea0cfcd7dbe78cec965a0b8437ec844b4429a))
* Escape special chars in enum name ([#283](https://github.com/fabien0102/openapi-codegen/issues/283)) ([3392588](https://github.com/fabien0102/openapi-codegen/commit/33925883600418bbdfff65437ce4a1b796766b12))
* Fix `gen --pr` command ([#71](https://github.com/fabien0102/openapi-codegen/issues/71)) ([bc9bed4](https://github.com/fabien0102/openapi-codegen/commit/bc9bed4dfad6820556709736db43357d657dbda2))
* Fix `path` usage for node 14 ([#34](https://github.com/fabien0102/openapi-codegen/issues/34)) ([4422e61](https://github.com/fabien0102/openapi-codegen/commit/4422e61b317ffd4d3aa0b30340592063c4a222cc))
* fix baseUrl in fetcherTemplate ([78b2a40](https://github.com/fabien0102/openapi-codegen/commit/78b2a4003bd9b960cdaf58db36ad205a503888a9))
* fix camelizedPathParams ([#172](https://github.com/fabien0102/openapi-codegen/issues/172)) ([53c7fd0](https://github.com/fabien0102/openapi-codegen/commit/53c7fd02ff28f913a16bb6ab583e36a1b399242c))
* Fix comment generation ([#58](https://github.com/fabien0102/openapi-codegen/issues/58)) ([f291a32](https://github.com/fabien0102/openapi-codegen/commit/f291a32bb6225d224e6f14089aef8313f50481a6))
* Fix multiple discriminator on same type ([#285](https://github.com/fabien0102/openapi-codegen/issues/285)) ([8937c46](https://github.com/fabien0102/openapi-codegen/commit/8937c460dc9de9cec66fe7588bf5ec7aea5e8eae))
* Fix pascal enum reference ([#219](https://github.com/fabien0102/openapi-codegen/issues/219)) ([f5b8902](https://github.com/fabien0102/openapi-codegen/commit/f5b8902a66924b3ce62c1acc2d673ff604def57b))
* Fix path param regex ([#166](https://github.com/fabien0102/openapi-codegen/issues/166)) ([59bae62](https://github.com/fabien0102/openapi-codegen/commit/59bae62ce64f9652e4ab15021ed8e61624b69ccc))
* fix url validation on the init command ([0184dd4](https://github.com/fabien0102/openapi-codegen/commit/0184dd4283a4f7f50161122e270d051b1d3b2243))
* Fixed fetcher template to compile when noUncheckedIndexedAccess ts compile option is set ([#228](https://github.com/fabien0102/openapi-codegen/issues/228)) ([ecf90cd](https://github.com/fabien0102/openapi-codegen/commit/ecf90cd247e4133a13557ab83fed3ced1a9460d5))
* Generated enum should be in pascal case ([#282](https://github.com/fabien0102/openapi-codegen/issues/282)) ([e16bc82](https://github.com/fabien0102/openapi-codegen/commit/e16bc826a580aaae2f7b29fbb31fe53a7d6a6f57))
* getReferenceSchema for names with '.' chars ([#141](https://github.com/fabien0102/openapi-codegen/issues/141)) ([865fcf6](https://github.com/fabien0102/openapi-codegen/commit/865fcf654c84ff798cdd063336ab6bf11c843fff))
* Handle TypeScript breaking changes [#136](https://github.com/fabien0102/openapi-codegen/issues/136) ([#142](https://github.com/fabien0102/openapi-codegen/issues/142)) ([f05ab09](https://github.com/fabien0102/openapi-codegen/commit/f05ab09dfb451061ff234629206362293743bea9))
* Invalid variable access inside fetcher ([#277](https://github.com/fabien0102/openapi-codegen/issues/277)) ([ea21f34](https://github.com/fabien0102/openapi-codegen/commit/ea21f34552c47a10151e0536fb2c521d687924c1))
* Issue with generated utils. ([#291](https://github.com/fabien0102/openapi-codegen/issues/291)) ([e6cdf21](https://github.com/fabien0102/openapi-codegen/commit/e6cdf217b89d13f3ce52327895340d99943a8bd0))
* JSDoc generation ([#92](https://github.com/fabien0102/openapi-codegen/issues/92)) ([2dcfa87](https://github.com/fabien0102/openapi-codegen/commit/2dcfa87fa6285ba8e2b8963eb24e542e9f0d6f91))
* omit `initialData` to support tanstack-query v5 ([35a28b5](https://github.com/fabien0102/openapi-codegen/commit/35a28b5047ee4ee7e4c0975dec0060d831585a58))
* Parse dot case in path params ([#201](https://github.com/fabien0102/openapi-codegen/issues/201)) ([84b7928](https://github.com/fabien0102/openapi-codegen/commit/84b79284ee832070b08138e5585873124ce30150)), closes [#101](https://github.com/fabien0102/openapi-codegen/issues/101)
* permit `null` as body ([bdfa4b9](https://github.com/fabien0102/openapi-codegen/commit/bdfa4b9a6062b0b9ddd23f589d0d7acd88589961))
* properly handle request errors ([#260](https://github.com/fabien0102/openapi-codegen/issues/260)) ([88e09cc](https://github.com/fabien0102/openapi-codegen/commit/88e09cc6c2216ab50341623c29622051c8220d6e))
* remove spaces in fetcher template ([58f7741](https://github.com/fabien0102/openapi-codegen/commit/58f774161856afa9bc16eaba299114ce7de03833))
* Support for nullable enums ([#146](https://github.com/fabien0102/openapi-codegen/issues/146)) ([151d47a](https://github.com/fabien0102/openapi-codegen/commit/151d47af08d43c8a0c94a244df8da3c4c40e6cd5))
* update dependencies ([fbb85ae](https://github.com/fabien0102/openapi-codegen/commit/fbb85ae60e4956e0297daaf10172698724e6b863))
* update prettier ([#205](https://github.com/fabien0102/openapi-codegen/issues/205)) ([c8152b9](https://github.com/fabien0102/openapi-codegen/commit/c8152b9b303902997f399690f0a4ac753af497aa))
* Update prettier version to 3.2.5 ([#237](https://github.com/fabien0102/openapi-codegen/issues/237)) ([9c9af24](https://github.com/fabien0102/openapi-codegen/commit/9c9af24bb931b61e878c937b5608e7498d36778b))
* Update release-please ([#319](https://github.com/fabien0102/openapi-codegen/issues/319)) ([13d5fb8](https://github.com/fabien0102/openapi-codegen/commit/13d5fb8f54bff091c3e3bae52e125ced21d004c0))


### Miscellaneous Chores

* remove lerna bootstrap ([519c0ae](https://github.com/fabien0102/openapi-codegen/commit/519c0ae41fca6772c10f6cb790a8771b2714a492))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openapi-codegen",
"version": "0.0.1",
"version": "1.0.0",
"description": "OpenAPI code generator framework",
"repository": "https://github.com/fabien0102/openapi-codegen",
"author": "Fabien Bernard",
Expand Down