@sap-cloud-sdk/odata-common 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 +5 -5
  2. package/CHANGELOG.md +0 -172
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/odata-common",
3
- "version": "3.0.1",
3
+ "version": "3.0.2-20230302014216.0",
4
4
  "description": "SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.",
5
5
  "homepage": "https://sap.github.io/cloud-sdk/docs/js/overview",
6
6
  "license": "Apache-2.0",
@@ -37,16 +37,16 @@
37
37
  "readme": "ts-node ../../scripts/replace-common-readme.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@sap-cloud-sdk/connectivity": "^3.0.1",
41
- "@sap-cloud-sdk/http-client": "^3.0.1",
42
- "@sap-cloud-sdk/util": "^3.0.1",
40
+ "@sap-cloud-sdk/connectivity": "^3.0.2-20230302014216.0",
41
+ "@sap-cloud-sdk/http-client": "^3.0.2-20230302014216.0",
42
+ "@sap-cloud-sdk/util": "^3.0.2-20230302014216.0",
43
43
  "bignumber.js": "^9.1.1",
44
44
  "moment": "^2.29.4",
45
45
  "uuid": "^9.0.0",
46
46
  "voca": "^1.4.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@sap-cloud-sdk/test-services-odata-common": "^3.0.1",
49
+ "@sap-cloud-sdk/test-services-odata-common": "^3.0.2-20230302014216.0",
50
50
  "typescript": "~4.9.5"
51
51
  }
52
52
  }
package/CHANGELOG.md DELETED
@@ -1,172 +0,0 @@
1
- # @sap-cloud-sdk/odata-common
2
-
3
- ## 3.0.1
4
-
5
- ### Patch Changes
6
-
7
- - @sap-cloud-sdk/connectivity@3.0.1
8
- - @sap-cloud-sdk/http-client@3.0.1
9
- - @sap-cloud-sdk/util@3.0.1
10
-
11
- ## 3.0.0
12
-
13
- ### Major Changes
14
-
15
- - 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.
16
- - fde964e37: [Compatibility Note] The constructor of `ODataRequestConfig` was changed so that the third parameter cannot be a `string` anymore.
17
- Passing in a string which was then interpreted as the value for the `Content-Type` HTTP header was deprecated.
18
- The type of the parameter is now `Record<string, any>`, and if only want to set the `Content-Type` HTTP header you can do so by passing `{'content-type': 'some-value'}` to the constructor.
19
- - fde964e37: [Compatibility Note] The constructor of the entity API is private to avoid accidental usage. Use the service object to get a API instance.
20
- - fde964e37: [Compatibility Note] Remove the options `timeout` and `enableCircuitBreaker` from all BTP service interactions i.e. destination and token fetching.
21
- - 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.
22
- - fde964e37: [Compatibility Note] Remove `timeout()` method from the request builders and the `timeout` options from the `executeHttpRequest()` function.
23
- Visit the [documentation portal](https://sap.github.io/cloud-sdk/docs/js/guides/resilience) to see how to add a timeout using middlewares.
24
- - 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.
25
- - fde964e37: [Compatibility Note] Setting custom fields in `fromJson` through the `_customFields` property has been removed.
26
- Add custom properties to your JSON object instead.
27
- - fde964e37: [Compatibility Note]] The `url` property in `Destination` is now optional as destinations of type `MAIL` do not have a URL.
28
-
29
- ### Minor Changes
30
-
31
- - fde964e37: [New Functionality] Introduce the middleware on the request builders and http-client.
32
- Visit the [documentation portal](https://sap.github.io/cloud-sdk/docs/js/guides/resilience) to see how to use middlewares.
33
-
34
- ### Patch Changes
35
-
36
- - Updated dependencies [fde964e37]
37
- - Updated dependencies [fde964e37]
38
- - Updated dependencies [fde964e37]
39
- - Updated dependencies [fde964e37]
40
- - Updated dependencies [fde964e37]
41
- - Updated dependencies [fde964e37]
42
- - Updated dependencies [fde964e37]
43
- - Updated dependencies [fde964e37]
44
- - Updated dependencies [fde964e37]
45
- - Updated dependencies [fde964e37]
46
- - Updated dependencies [fde964e37]
47
- - Updated dependencies [fde964e37]
48
- - Updated dependencies [fde964e37]
49
- - Updated dependencies [fde964e37]
50
- - Updated dependencies [fde964e37]
51
- - Updated dependencies [fde964e37]
52
- - Updated dependencies [fde964e37]
53
- - Updated dependencies [fde964e37]
54
- - Updated dependencies [fde964e37]
55
- - @sap-cloud-sdk/util@3.0.0
56
- - @sap-cloud-sdk/connectivity@3.0.0
57
- - @sap-cloud-sdk/http-client@3.0.0
58
-
59
- ## 2.11.0
60
-
61
- ### Minor Changes
62
-
63
- - 79e0fe811: [Improvement] Change the place where batch ID is generated from on serialization to request creation.
64
- - 79e0fe811: [New Functionality] Add `getBatchReference()` and `setBatchId()` in request builders to use the batch ID as a reference to an entity in a batch request changeset.
65
- Batch reference are available in `create`, `delete`, `getByKey`, `update` and `actions/functions` request builder.
66
-
67
- ### Patch Changes
68
-
69
- - @sap-cloud-sdk/connectivity@2.11.0
70
- - @sap-cloud-sdk/http-client@2.11.0
71
- - @sap-cloud-sdk/util@2.11.0
72
-
73
- ## 2.10.0
74
-
75
- ### Minor Changes
76
-
77
- - 144ff66f4: [Compatibility Note] Changed constructor argument of class `EntityBase` from `schema` to `_entityApi`.
78
-
79
- ### Patch Changes
80
-
81
- - @sap-cloud-sdk/connectivity@2.10.0
82
- - @sap-cloud-sdk/http-client@2.10.0
83
- - @sap-cloud-sdk/util@2.10.0
84
-
85
- ## 2.9.0
86
-
87
- ### Minor Changes
88
-
89
- - f62eb0d3: [Improvement] Make OderBy() set in ascending order by default.
90
-
91
- ### Patch Changes
92
-
93
- - Updated dependencies [4c51d3dc]
94
- - Updated dependencies [24029503]
95
- - @sap-cloud-sdk/util@2.9.0
96
- - @sap-cloud-sdk/connectivity@2.9.0
97
- - @sap-cloud-sdk/http-client@2.9.0
98
-
99
- ## 2.8.0
100
-
101
- ### Minor Changes
102
-
103
- - 15e9ef4b: [New Functionality] Allow function imports using GET http method in batch requests.
104
-
105
- ### Patch Changes
106
-
107
- - Updated dependencies [15e9ef4b]
108
- - Updated dependencies [15e9ef4b]
109
- - Updated dependencies [15e9ef4b]
110
- - @sap-cloud-sdk/connectivity@2.8.0
111
- - @sap-cloud-sdk/http-client@2.8.0
112
- - @sap-cloud-sdk/util@2.8.0
113
-
114
- ## 2.7.1
115
-
116
- ### Patch Changes
117
-
118
- - @sap-cloud-sdk/connectivity@2.7.1
119
- - @sap-cloud-sdk/http-client@2.7.1
120
- - @sap-cloud-sdk/util@2.7.1
121
-
122
- ## 2.7.0
123
-
124
- ### Patch Changes
125
-
126
- - Updated dependencies [3bff42e1]
127
- - Updated dependencies [010a46fa]
128
- - @sap-cloud-sdk/connectivity@2.7.0
129
- - @sap-cloud-sdk/http-client@2.7.0
130
- - @sap-cloud-sdk/util@2.7.0
131
-
132
- ## 2.6.0
133
-
134
- ### Patch Changes
135
-
136
- - de851289: [Fixed Issue] Fix parsing of `Edm.DateTimeOffset` with high-precision fractional seconds and edge-cases like 5-digit years.
137
- - 0675ee3b: [Fixed Issue] Allow OData service to contain an entity name 'entity'.
138
- - Updated dependencies [cb598c16]
139
- - Updated dependencies [09094607]
140
- - Updated dependencies [e44c214a]
141
- - Updated dependencies [93d41281]
142
- - Updated dependencies [e46bb51d]
143
- - Updated dependencies [8fdfebd6]
144
- - @sap-cloud-sdk/connectivity@2.6.0
145
- - @sap-cloud-sdk/http-client@2.6.0
146
- - @sap-cloud-sdk/util@2.6.0
147
-
148
- ## 2.5.0
149
-
150
- ### Minor Changes
151
-
152
- - 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.
153
-
154
- ### Patch Changes
155
-
156
- - Updated dependencies [89f1c423]
157
- - Updated dependencies [9481ec69]
158
- - @sap-cloud-sdk/util@2.5.0
159
- - @sap-cloud-sdk/http-client@2.5.0
160
- - @sap-cloud-sdk/connectivity@2.5.0
161
-
162
- ## 2.4.0
163
-
164
- ### Patch Changes
165
-
166
- - Updated dependencies [04726a35]
167
- - Updated dependencies [0a008674]
168
- - Updated dependencies [0a008674]
169
- - Updated dependencies [0a008674]
170
- - @sap-cloud-sdk/connectivity@2.4.0
171
- - @sap-cloud-sdk/http-client@2.4.0
172
- - @sap-cloud-sdk/util@2.4.0