@sap-cloud-sdk/generator 3.0.1 → 3.0.2-20230302014216.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/package.json +6 -6
  2. package/CHANGELOG.md +0 -212
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/generator",
3
- "version": "3.0.1",
3
+ "version": "3.0.2-20230302014216.0",
4
4
  "description": "SAP Cloud SDK for JavaScript OData client generator",
5
5
  "homepage": "https://sap.github.io/cloud-sdk/docs/js/overview",
6
6
  "license": "Apache-2.0",
@@ -40,11 +40,11 @@
40
40
  "readme": "ts-node ../../scripts/replace-common-readme.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@sap-cloud-sdk/generator-common": "^3.0.1",
44
- "@sap-cloud-sdk/odata-common": "^3.0.1",
45
- "@sap-cloud-sdk/odata-v2": "^3.0.1",
46
- "@sap-cloud-sdk/odata-v4": "^3.0.1",
47
- "@sap-cloud-sdk/util": "^3.0.1",
43
+ "@sap-cloud-sdk/generator-common": "^3.0.2-20230302014216.0",
44
+ "@sap-cloud-sdk/odata-common": "^3.0.2-20230302014216.0",
45
+ "@sap-cloud-sdk/odata-v2": "^3.0.2-20230302014216.0",
46
+ "@sap-cloud-sdk/odata-v4": "^3.0.2-20230302014216.0",
47
+ "@sap-cloud-sdk/util": "^3.0.2-20230302014216.0",
48
48
  "@types/fs-extra": "^11.0.1",
49
49
  "fast-xml-parser": "^4.1.3",
50
50
  "fs-extra": "^11.1.0",
package/CHANGELOG.md DELETED
@@ -1,212 +0,0 @@
1
- # @sap-cloud-sdk/generator
2
-
3
- ## 3.0.1
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [c78c16ddf]
8
- - @sap-cloud-sdk/generator-common@3.0.1
9
- - @sap-cloud-sdk/odata-common@3.0.1
10
- - @sap-cloud-sdk/odata-v2@3.0.1
11
- - @sap-cloud-sdk/odata-v4@3.0.1
12
- - @sap-cloud-sdk/util@3.0.1
13
-
14
- ## 3.0.0
15
-
16
- ### Major Changes
17
-
18
- - fde964e37: [Compatibility Note] By default, generation of OData clients fails if a service path cannot be determined. Either provide `servicePath` value in the `options-per-service.json` or set `skipValidation` to true, in which case, `/` will be used.
19
- - fde964e37: [Compatibility Note] The options per service behavior is now the same as for the OpenApi generator.
20
- For details on how to migrate and what has change look at the migration guide.
21
- - fde964e37: [Compatibility Note] The deprecated `forceOverwrite` option of the generator is removed. Use the `overwrite` option instead.
22
- [Compatibility Note] The deprecated `generatePackageJson` option of the generator is removed. Use the `packageJson` option instead.
23
- [Compatibility Note] The deprecated `writeReadme` option of the generator is removed. Use the `readme` option instead.
24
- [Compatibility Note] The deprecated `processesJsGeneration` option of the generator is removed. Use the `transpilationProcesses` option instead.
25
- [Compatibility Note] The internal options `sdkAfterVersionScript`, `s4HanaCloud` and `packageVersion` of the generator are removed.
26
- These were hidden options never meant for external usage and there is no replacement.
27
- [Compatibility Note] The deprecated `generateNpmrc` option of the generator is removed. Use the `include` option to add a `.npmrc` to the generated code if needed.
28
- - fde964e37: [Compatibility Note] Add `verbose` generator option. By default, only error and warning logs will be displayed. If `verbose` is set to `true`, all logs will be displayed.
29
- - fde964e37: [New Functionality] Introduced options `transpile` and `tsconfig` to configure transpilation for generated OData clients.
30
- - fde964e37: [Compatibility Note] The `generateJs` option has been replaced with the `transpile` option. Transpilation is not enabled by default.
31
- - fde964e37: [Compatibility Note] The command line argument `inputDir` of the OData generator is renamed to `input`.
32
- The new `input` options accepts now also file paths and glob patterns.
33
- - fde964e37: [Compatibility Note] The OData generator won't automatically rename identifiers to avoid name conflicts.
34
- The generation process will fail if identifiers have conflicting names.
35
- Switch on the `skipValidation` flag if you want to generate despite name conflicts and are okay with changed identifier names to avoid conflicts.
36
- - fde964e37: [Compatibility Note] Removed the option `versionInPackageJson` from the OData and OpenAPI generator.
37
- If the option `packageJson` is enabled now a `package.json` with a default version `1.0.0` is created.
38
- If necessary use the `include` option to add a `package.json` with a custom value.
39
- [Compatibility Note] Removed the option `licenseInPackageJson` from the OData and OpenAPI generator.
40
- If the option `packageJson` is enabled now a `package.json` with a default license `UNLICENSED` is created.
41
- If necessary use the `include` option to add a `package.json` with a custom value.
42
- - fde964e37: [Compatibility Note] Rename servicePath to basePath.
43
- - 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.
44
- - fde964e37: [Compatibility Note] The option `generateCSN` is removed. There is no replacement.
45
- - 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.
46
- - fde964e37: [Compatibility Note] The type for paths in the `GeneratorOptions` is changed from `fs.PathLike` to `string`.
47
- In case you passed a buffer object please resolve it to a string before passing it to the SAP Cloud SDK.
48
- - fde964e37: [Compatibility Note] The two generators use the same CLI parsing code now, aligning the way paths are resolved.
49
- In case you experience problems with the new logic, enable the `verbose` flag to investigate the new paths.
50
-
51
- ### Minor Changes
52
-
53
- - fde964e37: [Improvement] Align naming rules for operations and properties in OData clients by removing `_` prefix
54
- - fde964e37: [Fixed Issue] Allow OData service to contain an entity name 'Service'.
55
-
56
- ### Patch Changes
57
-
58
- - fde964e37: [Fixed Issue] Now links to the correct generator binary.
59
- - Updated dependencies [fde964e37]
60
- - Updated dependencies [fde964e37]
61
- - Updated dependencies [fde964e37]
62
- - Updated dependencies [fde964e37]
63
- - Updated dependencies [fde964e37]
64
- - Updated dependencies [fde964e37]
65
- - Updated dependencies [fde964e37]
66
- - Updated dependencies [fde964e37]
67
- - Updated dependencies [fde964e37]
68
- - Updated dependencies [fde964e37]
69
- - Updated dependencies [fde964e37]
70
- - Updated dependencies [fde964e37]
71
- - Updated dependencies [fde964e37]
72
- - Updated dependencies [fde964e37]
73
- - Updated dependencies [fde964e37]
74
- - Updated dependencies [fde964e37]
75
- - Updated dependencies [fde964e37]
76
- - @sap-cloud-sdk/odata-common@3.0.0
77
- - @sap-cloud-sdk/util@3.0.0
78
- - @sap-cloud-sdk/generator-common@3.0.0
79
- - @sap-cloud-sdk/odata-v2@3.0.0
80
- - @sap-cloud-sdk/odata-v4@3.0.0
81
-
82
- ## 2.11.0
83
-
84
- ### Minor Changes
85
-
86
- - 8ea28151b: [New Functionality] Support parsing and generating OData bound functions and actions in OData v4
87
- - 74e14427a: [New Functionality] Generated sources are formatted using prettier with default config. Use the CLI option `prettierConfigPath` to provide a custom config.
88
-
89
- ### Patch Changes
90
-
91
- - Updated dependencies [79e0fe811]
92
- - Updated dependencies [8ea28151b]
93
- - Updated dependencies [74e14427a]
94
- - Updated dependencies [79e0fe811]
95
- - @sap-cloud-sdk/odata-common@2.11.0
96
- - @sap-cloud-sdk/odata-v4@2.11.0
97
- - @sap-cloud-sdk/generator-common@2.11.0
98
- - @sap-cloud-sdk/odata-v2@2.11.0
99
- - @sap-cloud-sdk/util@2.11.0
100
-
101
- ## 2.10.0
102
-
103
- ### Patch Changes
104
-
105
- - f76da3060: [Fixed Issue] Show detailed error message of compilation errors instead of `[object Object]`.
106
- - Updated dependencies [f76da3060]
107
- - Updated dependencies [144ff66f4]
108
- - Updated dependencies [f76da3060]
109
- - @sap-cloud-sdk/odata-v2@2.10.0
110
- - @sap-cloud-sdk/odata-v4@2.10.0
111
- - @sap-cloud-sdk/odata-common@2.10.0
112
- - @sap-cloud-sdk/generator-common@2.10.0
113
- - @sap-cloud-sdk/util@2.10.0
114
-
115
- ## 2.9.0
116
-
117
- ### Patch Changes
118
-
119
- - Updated dependencies [f62eb0d3]
120
- - Updated dependencies [4c51d3dc]
121
- - @sap-cloud-sdk/odata-common@2.9.0
122
- - @sap-cloud-sdk/util@2.9.0
123
- - @sap-cloud-sdk/generator-common@2.9.0
124
- - @sap-cloud-sdk/odata-v2@2.9.0
125
- - @sap-cloud-sdk/odata-v4@2.9.0
126
-
127
- ## 2.8.0
128
-
129
- ### Minor Changes
130
-
131
- - 15e9ef4b: [Compatibility Note] Deprecated `generateNpmrc` cli option. This option was only used to configure the now defunct npm registry hosted by SAP. It now has no effect anymore and should be removed in all invocations of the generator cli.
132
- - 15e9ef4b: [Compatibility Note] Description for package.json in a generated client has changed.
133
- - 15e9ef4b: [New Functionality] Allow function imports using GET http method in batch requests.
134
-
135
- ### Patch Changes
136
-
137
- - Updated dependencies [15e9ef4b]
138
- - Updated dependencies [15e9ef4b]
139
- - @sap-cloud-sdk/generator-common@2.8.0
140
- - @sap-cloud-sdk/odata-common@2.8.0
141
- - @sap-cloud-sdk/odata-v2@2.8.0
142
- - @sap-cloud-sdk/odata-v4@2.8.0
143
- - @sap-cloud-sdk/util@2.8.0
144
-
145
- ## 2.7.1
146
-
147
- ### Patch Changes
148
-
149
- - @sap-cloud-sdk/generator-common@2.7.1
150
- - @sap-cloud-sdk/odata-common@2.7.1
151
- - @sap-cloud-sdk/odata-v2@2.7.1
152
- - @sap-cloud-sdk/odata-v4@2.7.1
153
- - @sap-cloud-sdk/util@2.7.1
154
-
155
- ## 2.7.0
156
-
157
- ### Patch Changes
158
-
159
- - @sap-cloud-sdk/generator-common@2.7.0
160
- - @sap-cloud-sdk/odata-common@2.7.0
161
- - @sap-cloud-sdk/odata-v2@2.7.0
162
- - @sap-cloud-sdk/odata-v4@2.7.0
163
- - @sap-cloud-sdk/util@2.7.0
164
-
165
- ## 2.6.0
166
-
167
- ### Minor Changes
168
-
169
- - 069aa168: [Compatibility Note] Deprecate generator option `versionInPackageJson`. If you need to set the version, use the new `include` option to add your own `package.json` file instead.
170
- - 069aa168: [Compatibility Note] The hidden generator option `additionalFiles` is renamed to `include`.
171
- - 069aa168: [New Functionality] New generator option `include` which allows to add files to generated packages.
172
-
173
- ### Patch Changes
174
-
175
- - 0675ee3b: [Fixed Issue] Allow OData service to contain an entity name 'entity'.
176
- - Updated dependencies [de851289]
177
- - Updated dependencies [de851289]
178
- - Updated dependencies [0675ee3b]
179
- - Updated dependencies [9ffe0824]
180
- - @sap-cloud-sdk/odata-common@2.6.0
181
- - @sap-cloud-sdk/odata-v4@2.6.0
182
- - @sap-cloud-sdk/odata-v2@2.6.0
183
- - @sap-cloud-sdk/generator-common@2.6.0
184
- - @sap-cloud-sdk/util@2.6.0
185
-
186
- ## 2.5.0
187
-
188
- ### Minor Changes
189
-
190
- - c3166ff6: [Compatibility Note] Change `Edm.String`, `Edm.Boolean` and `Edm.Guid` to be orderable to support `lt`/`lessThan()`, `le`/`lessOrEqual()`, `gt`/`greaterThan()`, and `ge`/`greaterOrEqual` operators. Re-generate odata services to adopt the changes.
191
-
192
- ### Patch Changes
193
-
194
- - Updated dependencies [c3166ff6]
195
- - Updated dependencies [89f1c423]
196
- - @sap-cloud-sdk/odata-common@2.5.0
197
- - @sap-cloud-sdk/util@2.5.0
198
- - @sap-cloud-sdk/generator-common@2.5.0
199
- - @sap-cloud-sdk/odata-v2@2.5.0
200
- - @sap-cloud-sdk/odata-v4@2.5.0
201
-
202
- ## 2.4.0
203
-
204
- ### Patch Changes
205
-
206
- - Updated dependencies [0a008674]
207
- - Updated dependencies [0a008674]
208
- - @sap-cloud-sdk/odata-v4@2.4.0
209
- - @sap-cloud-sdk/util@2.4.0
210
- - @sap-cloud-sdk/generator-common@2.4.0
211
- - @sap-cloud-sdk/odata-common@2.4.0
212
- - @sap-cloud-sdk/odata-v2@2.4.0