diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8803198..3e057e9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { - "openapi-generator": "5.0.3", - "openapi-generator-annotations": "5.0.3", - "openapi-generator-cli": "5.0.3" + "openapi-generator": "6.0.0", + "openapi-generator-annotations": "6.0.0", + "openapi-generator-cli": "6.0.0" } diff --git a/openapi-generator-annotations/CHANGELOG.md b/openapi-generator-annotations/CHANGELOG.md index 72cb5d0..8783d3e 100644 --- a/openapi-generator-annotations/CHANGELOG.md +++ b/openapi-generator-annotations/CHANGELOG.md @@ -4,6 +4,53 @@ * fixed spec diff tracking +## [6.0.0](https://github.com/gibahjoe/openapi-generator-dart/compare/openapi-generator-annotations-v5.0.3...openapi-generator-annotations-v6.0.0) (2024-11-02) + + +### ⚠ BREAKING CHANGES + +* **cli:** removed various deprecated methods and properties such as inputSpecFile +* **annotations:** changed Inputspec.emptyYaml to Inputspec.yaml + +### Features + +* add --name-mappings param support for generator ([f5c6aed](https://github.com/gibahjoe/openapi-generator-dart/commit/f5c6aed0408de33c8f273f6e21aacb42a34cbbc1)) +* Add headers options for requests (nextGen only) ([bc4a170](https://github.com/gibahjoe/openapi-generator-dart/commit/bc4a170be1c011ca3e2843cf05a92a39965bcc29)) +* **annotation:** removed deprecated properties from annotation ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* Bumped versions to match ([506689c](https://github.com/gibahjoe/openapi-generator-dart/commit/506689c960491962c56cbb4418fc86dafc1a4c2e)) +* Changing to a config based approach for obtaining the official openapi generator jar. ([a0f3ca2](https://github.com/gibahjoe/openapi-generator-dart/commit/a0f3ca2d24e29ff27d032a1f6dd093c195c7ff83)) +* **cli:** bumped official generator version to 7.2 ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* **cli:** remove unsupported flags for DioAltProperties ([72a509b](https://github.com/gibahjoe/openapi-generator-dart/commit/72a509b6323ef7519e7917148f07932f7901ad44)) +* **generator:** moved completely to newgen ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* updateAnnotatedFile property to OpenApi annotation ([e7bfa94](https://github.com/gibahjoe/openapi-generator-dart/commit/e7bfa947a9a9610509bd52f0cec08a5689495015)) +* updated generator versions ([4f13112](https://github.com/gibahjoe/openapi-generator-dart/commit/4f13112fc0e8cbb16c17e38bfdfee34d65473291)) + + +### Bug Fixes + +* Add work around to be able to always be able to regenerate when run. Add documentation around the usage of useNextGen, add tests ([523f169](https://github.com/gibahjoe/openapi-generator-dart/commit/523f169159a3607487342b71fdd155d5fb50acfe)) +* **annotation:** fixed formatting ([b21a177](https://github.com/gibahjoe/openapi-generator-dart/commit/b21a1778ee27fc965c6ba092da63582ce6563f75)) +* Consume testing version of the source_gen branch to simplify testing. ([37af696](https://github.com/gibahjoe/openapi-generator-dart/commit/37af696ac90f27e47c31f87bb5c60c952bf56230)) +* Correct most of the tests while using the newest verison of the source gen changes ([4156d9a](https://github.com/gibahjoe/openapi-generator-dart/commit/4156d9a18bf83337e608219315d19abbe08f8bd8)) +* dep overrides v2 ([ea76ec8](https://github.com/gibahjoe/openapi-generator-dart/commit/ea76ec8c12dc302b64060059f21b38fd75c45c93)) +* **dependencies:** added required dependencies to pubspec ([7738439](https://github.com/gibahjoe/openapi-generator-dart/commit/7738439a89637bb1226f6586a0c9d311053e1702)) +* fix tests now that the generator is running correctly ([4643a0c](https://github.com/gibahjoe/openapi-generator-dart/commit/4643a0ce57fea053a47a41291c8ba07312390a43)) +* fixed spec not caching ([b2fcd94](https://github.com/gibahjoe/openapi-generator-dart/commit/b2fcd945f6c4ccc90071db50cedf96e0d1b18903)) +* fixed spec not caching ([9bd7a80](https://github.com/gibahjoe/openapi-generator-dart/commit/9bd7a8004c8f0f98293f5f4daa70ac4144ba7251)) +* fixes useEnumExtension and other non string additional properties fields throwing error ([53b711a](https://github.com/gibahjoe/openapi-generator-dart/commit/53b711a3c9319e31ec0b159edfc76674b62feb19)) +* Last few tweaks ([12c138a](https://github.com/gibahjoe/openapi-generator-dart/commit/12c138a2fcc99a30305fc2a143dbf85d12f0df7b)) +* move to delegate, add tests, revert version requirement ([6a32542](https://github.com/gibahjoe/openapi-generator-dart/commit/6a32542cc7e09558db837d0313c4029951dc48ba)) +* remove duplicate run test, fix failing tests ([677a318](https://github.com/gibahjoe/openapi-generator-dart/commit/677a3189d4f694c999d3ea1cf0075543649e40c1)) +* repair the docker run command, update the type_methods to expand out the remote delegate ([c00b334](https://github.com/gibahjoe/openapi-generator-dart/commit/c00b3345d934e2f1508ba1129a3a769f86a85017)) +* updated ([5d21f4a](https://github.com/gibahjoe/openapi-generator-dart/commit/5d21f4aa99faf94d22a4958d30c157f9430bdbf3)) +* Use API within SDK bounds (will change in future release), fix the analyzer warnings, fmt ([c229767](https://github.com/gibahjoe/openapi-generator-dart/commit/c2297675d7cb5217a33fe476a3784e1a18a13612)) +* use bool.tryParse instead of casting ([5003ea1](https://github.com/gibahjoe/openapi-generator-dart/commit/5003ea11a3af43b90bdb59aea01b66bc06036f39)) + + +### Code Refactoring + +* **annotations:** changed inputspec methods to be more descriptive ([84f72df](https://github.com/gibahjoe/openapi-generator-dart/commit/84f72df661cb729ed30a239e4ac856a5ded26111)) + ## [5.0.1](https://github.com/gibahjoe/openapi-generator-dart/compare/v5.0.0...v5.0.1) (2024-01-16) ### Bug Fixes diff --git a/openapi-generator-annotations/pubspec.yaml b/openapi-generator-annotations/pubspec.yaml index b2ce713..9b4afc5 100644 --- a/openapi-generator-annotations/pubspec.yaml +++ b/openapi-generator-annotations/pubspec.yaml @@ -1,6 +1,6 @@ name: openapi_generator_annotations description: Annotation package for openapi_generator https://pub.dev/packages/openapi_generator. -version: 5.0.2 +version: 6.0.0 homepage: https://github.com/gibahjoe/openapi-generator-dart diff --git a/openapi-generator-cli/CHANGELOG.md b/openapi-generator-cli/CHANGELOG.md index 43ae91d..1f3c098 100644 --- a/openapi-generator-cli/CHANGELOG.md +++ b/openapi-generator-cli/CHANGELOG.md @@ -4,6 +4,30 @@ * fixed spec diff tracking +## [6.0.0](https://github.com/gibahjoe/openapi-generator-dart/compare/openapi-generator-cli-v5.0.3...openapi-generator-cli-v6.0.0) (2024-11-02) + + +### ⚠ BREAKING CHANGES + +* **cli:** removed various deprecated methods and properties such as inputSpecFile + +### Features + +* **annotation:** removed deprecated properties from annotation ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* Bumped versions to match ([506689c](https://github.com/gibahjoe/openapi-generator-dart/commit/506689c960491962c56cbb4418fc86dafc1a4c2e)) +* Changing to a config based approach for obtaining the official openapi generator jar. ([a0f3ca2](https://github.com/gibahjoe/openapi-generator-dart/commit/a0f3ca2d24e29ff27d032a1f6dd093c195c7ff83)) +* **cli:** bumped official generator version to 7.2 ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* **cli:** bumped official generator version to 7.7 ([d8b9de1](https://github.com/gibahjoe/openapi-generator-dart/commit/d8b9de1a948ea5958ecfe85bcf228b97e0f2a8fd)) +* **cli:** bumped unofficial generator version to 8.1 ([2fdd022](https://github.com/gibahjoe/openapi-generator-dart/commit/2fdd022bbcca07dc03bd743e378dbc10b9f0503f)) +* **generator:** moved completely to newgen ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* updated generator versions ([4f13112](https://github.com/gibahjoe/openapi-generator-dart/commit/4f13112fc0e8cbb16c17e38bfdfee34d65473291)) + + +### Bug Fixes + +* Trigger version bump for CLI ([996f328](https://github.com/gibahjoe/openapi-generator-dart/commit/996f3281cad0bdaf58a3d0bbdc4df7dbdc7b135f)) +* updated ([5d21f4a](https://github.com/gibahjoe/openapi-generator-dart/commit/5d21f4aa99faf94d22a4958d30c157f9430bdbf3)) + ## [5.0.1](https://github.com/gibahjoe/openapi-generator-dart/compare/v5.0.0...v5.0.1) (2024-01-16) ### Bug Fixes diff --git a/openapi-generator-cli/pubspec.yaml b/openapi-generator-cli/pubspec.yaml index fbb3ff2..96600b0 100644 --- a/openapi-generator-cli/pubspec.yaml +++ b/openapi-generator-cli/pubspec.yaml @@ -1,6 +1,6 @@ name: openapi_generator_cli description: A dart wrapper around openapi-generator inspired by the node implementation. -version: 5.0.2 +version: 6.0.0 homepage: https://github.com/gibahjoe/openapi-generator-dart environment: diff --git a/openapi-generator/CHANGELOG.md b/openapi-generator/CHANGELOG.md index 04b0a02..45da7ce 100755 --- a/openapi-generator/CHANGELOG.md +++ b/openapi-generator/CHANGELOG.md @@ -4,6 +4,64 @@ * fixed spec diff tracking +## [6.0.0](https://github.com/gibahjoe/openapi-generator-dart/compare/openapi-generator-v5.0.3...openapi-generator-v6.0.0) (2024-11-02) + + +### ⚠ BREAKING CHANGES + +* **cli:** removed various deprecated methods and properties such as inputSpecFile +* **annotations:** changed Inputspec.emptyYaml to Inputspec.yaml + +### Features + +* add --name-mappings param support for generator ([f5c6aed](https://github.com/gibahjoe/openapi-generator-dart/commit/f5c6aed0408de33c8f273f6e21aacb42a34cbbc1)) +* Add a format stage to the end of nextGen ([acac104](https://github.com/gibahjoe/openapi-generator-dart/commit/acac1044cbd6161c5a959a178a120fbf010f5c27)) +* Add headers options for requests (nextGen only) ([bc4a170](https://github.com/gibahjoe/openapi-generator-dart/commit/bc4a170be1c011ca3e2843cf05a92a39965bcc29)) +* annotated file updating made optional by argument ([c108469](https://github.com/gibahjoe/openapi-generator-dart/commit/c108469787da68794dce7ca595387539e009eb50)) +* **annotation:** removed deprecated properties from annotation ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* Changing to a config based approach for obtaining the official openapi generator jar. ([a0f3ca2](https://github.com/gibahjoe/openapi-generator-dart/commit/a0f3ca2d24e29ff27d032a1f6dd093c195c7ff83)) +* **cli:** bumped official generator version to 7.2 ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* **generator:** moved completely to newgen ([51d3683](https://github.com/gibahjoe/openapi-generator-dart/commit/51d3683bb83dc3e8f0f05d9d4913e11d3cc82b0f)) +* updated generator versions ([4f13112](https://github.com/gibahjoe/openapi-generator-dart/commit/4f13112fc0e8cbb16c17e38bfdfee34d65473291)) + + +### Bug Fixes + +* add tests and ensure that the sub processes can be mocked out. ([5822666](https://github.com/gibahjoe/openapi-generator-dart/commit/5822666aad384444827ca6a5aa3028ac3317c443)) +* Add work around to be able to always be able to regenerate when run. Add documentation around the usage of useNextGen, add tests ([523f169](https://github.com/gibahjoe/openapi-generator-dart/commit/523f169159a3607487342b71fdd155d5fb50acfe)) +* Apply types to default empty maps ([bfb0ec4](https://github.com/gibahjoe/openapi-generator-dart/commit/bfb0ec4f66296e38d3ad3cb5dac15f532a477def)) +* bumped generator version ([751369e](https://github.com/gibahjoe/openapi-generator-dart/commit/751369ea6ea4e8dd72a96cec8e5a0f821bf9e3b7)) +* Consume testing version of the source_gen branch to simplify testing. ([37af696](https://github.com/gibahjoe/openapi-generator-dart/commit/37af696ac90f27e47c31f87bb5c60c952bf56230)) +* Correct most of the tests while using the newest verison of the source gen changes ([4156d9a](https://github.com/gibahjoe/openapi-generator-dart/commit/4156d9a18bf83337e608219315d19abbe08f8bd8)) +* dep override ([8266ab1](https://github.com/gibahjoe/openapi-generator-dart/commit/8266ab1b8d49350205ba5f43d9eefc4404029c59)) +* **dependencies:** added required dependencies to pubspec ([7738439](https://github.com/gibahjoe/openapi-generator-dart/commit/7738439a89637bb1226f6586a0c9d311053e1702)) +* failing test ([feead33](https://github.com/gibahjoe/openapi-generator-dart/commit/feead33bac9ce9ef36d6cbf3ab8dc8dbbfb0a817)) +* fix gitignore, readd api/petstore_api/pubspec ([37f862c](https://github.com/gibahjoe/openapi-generator-dart/commit/37f862c81db924a14a8b11beffca51e055c3acec)) +* fix incorrect find and replace causing tests to fail ([0016a03](https://github.com/gibahjoe/openapi-generator-dart/commit/0016a031e3a7447f2deab1fa4e49ed228a29dc82)) +* fix tests now that the generator is running correctly ([4643a0c](https://github.com/gibahjoe/openapi-generator-dart/commit/4643a0ce57fea053a47a41291c8ba07312390a43)) +* fixed spec not caching ([9bd7a80](https://github.com/gibahjoe/openapi-generator-dart/commit/9bd7a8004c8f0f98293f5f4daa70ac4144ba7251)) +* fixes useEnumExtension and other non string additional properties fields throwing error ([53b711a](https://github.com/gibahjoe/openapi-generator-dart/commit/53b711a3c9319e31ec0b159edfc76674b62feb19)) +* fmt ([e63c9b9](https://github.com/gibahjoe/openapi-generator-dart/commit/e63c9b9b74cf681d1c16fb93f9b055c6f56cf3d4)) +* **generator:** fixed bad deps ([5d6407a](https://github.com/gibahjoe/openapi-generator-dart/commit/5d6407a05e23480f946a325c35c81bdca04b3bdc)) +* **generator:** updated deps ([09f6039](https://github.com/gibahjoe/openapi-generator-dart/commit/09f603964092d975f4c60722b95867727e66648b)) +* Last few tweaks ([12c138a](https://github.com/gibahjoe/openapi-generator-dart/commit/12c138a2fcc99a30305fc2a143dbf85d12f0df7b)) +* move to delegate, add tests, revert version requirement ([6a32542](https://github.com/gibahjoe/openapi-generator-dart/commit/6a32542cc7e09558db837d0313c4029951dc48ba)) +* remove duplicate run test, fix failing tests ([677a318](https://github.com/gibahjoe/openapi-generator-dart/commit/677a3189d4f694c999d3ea1cf0075543649e40c1)) +* remove extra testing infra since it is no longer used, add additional configs, refactor function ([3dd7054](https://github.com/gibahjoe/openapi-generator-dart/commit/3dd705460e5dc09e86e568419c99198ff92b4e4b)) +* remove unused import, update paramter name ([d2f5a90](https://github.com/gibahjoe/openapi-generator-dart/commit/d2f5a9001458126e7c315ef89ebdf5b26b7282fc)) +* remove unused imports ([4eb64c9](https://github.com/gibahjoe/openapi-generator-dart/commit/4eb64c90c2468a8ce26b79266c0e705be3e979de)) +* repair the docker run command, update the type_methods to expand out the remote delegate ([c00b334](https://github.com/gibahjoe/openapi-generator-dart/commit/c00b3345d934e2f1508ba1129a3a769f86a85017)) +* tweak gitignore ([f1122d0](https://github.com/gibahjoe/openapi-generator-dart/commit/f1122d007ef47f0849656e5180a78052b9542ec9)) +* Tweak the processing of the builder to handle how process.run returns ([90a1b90](https://github.com/gibahjoe/openapi-generator-dart/commit/90a1b90143661c9d9dd02ab6a4481ece99e9a221)) +* updated ([5d21f4a](https://github.com/gibahjoe/openapi-generator-dart/commit/5d21f4aa99faf94d22a4958d30c157f9430bdbf3)) +* updated logs ([45af1cf](https://github.com/gibahjoe/openapi-generator-dart/commit/45af1cf21ab1d11b12898b6cb8f2ee9895dca133)) +* Use Dart 2 API ([8d59613](https://github.com/gibahjoe/openapi-generator-dart/commit/8d596135d4b7700cb37b14134a15904a3b32f049)) + + +### Code Refactoring + +* **annotations:** changed inputspec methods to be more descriptive ([84f72df](https://github.com/gibahjoe/openapi-generator-dart/commit/84f72df661cb729ed30a239e4ac856a5ded26111)) + ## [5.0.1](https://github.com/gibahjoe/openapi-generator-dart/compare/v5.0.0...v5.0.1) (2024-01-16) ### Bug Fixes diff --git a/openapi-generator/pubspec.yaml b/openapi-generator/pubspec.yaml index 1402a24..a90b8a9 100755 --- a/openapi-generator/pubspec.yaml +++ b/openapi-generator/pubspec.yaml @@ -1,6 +1,6 @@ name: openapi_generator description: Generator for openapi client sdk inspired by the npm implementation of openapi-generator-cli. -version: 5.0.2 +version: 6.0.0 homepage: https://github.com/gibahjoe/openapi-generator-dart environment: