@openapi-qraft/plugin 2.5.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @openapi-qraft/plugin
2
2
 
3
+ ## 2.6.1
4
+
5
+ ## 2.6.0
6
+
7
+ ### Minor Changes
8
+
9
+ - c71e7f9: ### Multiple API Client Generation
10
+
11
+ - Added support for generating multiple custom API client functions for a single OpenAPI specification with the new `--create-api-client-fn` option
12
+ - Improved modularity by allowing the creation of API clients with specific sets of services and callbacks
13
+ - Enhanced type inference by removing generic type parameters from `qraftAPIClient` function, making it more user-friendly
14
+
15
+ #### Breaking Changes
16
+
17
+ - Removed generic type parameters from `qraftAPIClient` function - types are now automatically inferred from arguments
18
+ - Updated return type of `createAPIClient` which may require changes to code that references this type in contexts or variables
19
+ - Added a migration guide and codemod script to help users update their code to the new API
20
+
3
21
  ## 2.5.0
4
22
 
5
23
  ## 2.5.0-beta.3
@@ -1,2 +1,2 @@
1
- export declare const packageVersion = "2.5.0";
1
+ export declare const packageVersion = "2.6.1";
2
2
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // This file was generated automatically
2
- export const packageVersion = '2.5.0';
2
+ export const packageVersion = '2.6.1';
3
3
  //# sourceMappingURL=packageVersion.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-qraft/plugin",
3
- "version": "2.5.0",
3
+ "version": "2.6.1",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
1
  // This file was generated automatically
2
- export const packageVersion = '2.5.0';
2
+ export const packageVersion = '2.6.1';