@sap-cloud-sdk/openapi-generator 3.0.0-20230228165641.0 → 3.0.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/package.json +4 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,128 @@
1
+ # @sap-cloud-sdk/openapi-generator
2
+
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - fde964e37: [Compatibility Note] The internal option `packageVersion` of the OpenAPI generator is removed.
8
+ - fde964e37: [Compatibility Note] Removed the option `versionInPackageJson` from the OData and OpenAPI generator.
9
+ If the option `packageJson` is enabled now a `package.json` with a default version `1.0.0` is created.
10
+ If necessary use the `include` option to add a `package.json` with a custom value.
11
+ [Compatibility Note] Removed the option `licenseInPackageJson` from the OData and OpenAPI generator.
12
+ If the option `packageJson` is enabled now a `package.json` with a default license `UNLICENSED` is created.
13
+ If necessary use the `include` option to add a `package.json` with a custom value.
14
+ - fde964e37: [Compatibility Note] Rename servicePath to basePath.
15
+ - fde964e37: [Compatibility Note] Switch the compilerOptions.module to `Node16` instead of `CommonJS` for better interoperability with ES modules. See the [TypeScript handbook](https://www.typescriptlang.org/docs/handbook/esm-node.html) for technical details if needed.
16
+ - fde964e37: [Compatibility Note] The `serviceMapping` option of the OData generator has been renamed to `optionsPerService`. The mapping file, `service-mapping.json` has also been renamed to `options-per-service.json`. By default, an options file will not be generated.
17
+ - fde964e37: [Compatibility Note] `tsConfig` option has been renamed to `tsconfig`.
18
+ - fde964e37: [Compatibility Note] The two generators use the same CLI parsing code now, aligning the way paths are resolved.
19
+ In case you experience problems with the new logic, enable the `verbose` flag to investigate the new paths.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [fde964e37]
24
+ - Updated dependencies [fde964e37]
25
+ - Updated dependencies [fde964e37]
26
+ - Updated dependencies [fde964e37]
27
+ - Updated dependencies [fde964e37]
28
+ - Updated dependencies [fde964e37]
29
+ - Updated dependencies [fde964e37]
30
+ - Updated dependencies [fde964e37]
31
+ - Updated dependencies [fde964e37]
32
+ - Updated dependencies [fde964e37]
33
+ - Updated dependencies [fde964e37]
34
+ - @sap-cloud-sdk/util@3.0.0
35
+ - @sap-cloud-sdk/generator-common@3.0.0
36
+ - @sap-cloud-sdk/openapi@3.0.0
37
+
38
+ ## 2.11.0
39
+
40
+ ### Minor Changes
41
+
42
+ - 74e14427a: [New Functionality] Generated sources are formatted using prettier with default config. Use the CLI option `prettierConfigPath` to provide a custom config.
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [74e14427a]
47
+ - @sap-cloud-sdk/generator-common@2.11.0
48
+ - @sap-cloud-sdk/openapi@2.11.0
49
+ - @sap-cloud-sdk/util@2.11.0
50
+
51
+ ## 2.10.0
52
+
53
+ ### Patch Changes
54
+
55
+ - f76da3060: [Fixed Issue] Show detailed error message of compilation errors instead of `[object Object]`.
56
+ - f76da3060: [Improvement] Add `force` option to`rm` commands, when setting `clearOutputDir` to true.
57
+ - Updated dependencies [f76da3060]
58
+ - @sap-cloud-sdk/generator-common@2.10.0
59
+ - @sap-cloud-sdk/openapi@2.10.0
60
+ - @sap-cloud-sdk/util@2.10.0
61
+
62
+ ## 2.9.0
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [4c51d3dc]
67
+ - @sap-cloud-sdk/util@2.9.0
68
+ - @sap-cloud-sdk/generator-common@2.9.0
69
+ - @sap-cloud-sdk/openapi@2.9.0
70
+
71
+ ## 2.8.0
72
+
73
+ ### Minor Changes
74
+
75
+ - 15e9ef4b: [Compatibility Note] Description for package.json in a generated client has changed.
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies [15e9ef4b]
80
+ - @sap-cloud-sdk/generator-common@2.8.0
81
+ - @sap-cloud-sdk/openapi@2.8.0
82
+ - @sap-cloud-sdk/util@2.8.0
83
+
84
+ ## 2.7.1
85
+
86
+ ### Patch Changes
87
+
88
+ - @sap-cloud-sdk/generator-common@2.7.1
89
+ - @sap-cloud-sdk/openapi@2.7.1
90
+ - @sap-cloud-sdk/util@2.7.1
91
+
92
+ ## 2.7.0
93
+
94
+ ### Minor Changes
95
+
96
+ - 3f70b0c9: [New Functionality] Support globs in the `input` option.
97
+
98
+ ### Patch Changes
99
+
100
+ - @sap-cloud-sdk/generator-common@2.7.0
101
+ - @sap-cloud-sdk/openapi@2.7.0
102
+ - @sap-cloud-sdk/util@2.7.0
103
+
104
+ ## 2.6.0
105
+
106
+ ### Patch Changes
107
+
108
+ - @sap-cloud-sdk/generator-common@2.6.0
109
+ - @sap-cloud-sdk/openapi@2.6.0
110
+ - @sap-cloud-sdk/util@2.6.0
111
+
112
+ ## 2.5.0
113
+
114
+ ### Patch Changes
115
+
116
+ - Updated dependencies [89f1c423]
117
+ - @sap-cloud-sdk/util@2.5.0
118
+ - @sap-cloud-sdk/generator-common@2.5.0
119
+ - @sap-cloud-sdk/openapi@2.5.0
120
+
121
+ ## 2.4.0
122
+
123
+ ### Patch Changes
124
+
125
+ - Updated dependencies [0a008674]
126
+ - @sap-cloud-sdk/util@2.4.0
127
+ - @sap-cloud-sdk/generator-common@2.4.0
128
+ - @sap-cloud-sdk/openapi@2.4.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/openapi-generator",
3
- "version": "3.0.0-20230228165641.0",
3
+ "version": "3.0.0",
4
4
  "description": "SAP Cloud SDK for JavaScript OpenAPI client generator",
5
5
  "homepage": "https://sap.github.io/cloud-sdk/docs/js/overview",
6
6
  "license": "Apache-2.0",
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@apidevtools/swagger-parser": "^10.0.3",
41
- "@sap-cloud-sdk/generator-common": "^3.0.0-20230228165641.0",
42
- "@sap-cloud-sdk/openapi": "^3.0.0-20230228165641.0",
43
- "@sap-cloud-sdk/util": "^3.0.0-20230228165641.0",
41
+ "@sap-cloud-sdk/generator-common": "^3.0.0",
42
+ "@sap-cloud-sdk/openapi": "^3.0.0",
43
+ "@sap-cloud-sdk/util": "^3.0.0",
44
44
  "js-yaml": "^4.0.0",
45
45
  "openapi-types": "^12.1.0",
46
46
  "swagger2openapi": "^7.0.4"