@odata2ts/odata2ts 0.18.2 → 0.18.6
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 +482 -571
- package/README.md +18 -112
- package/lib/FactoryFunctionModel.d.ts +4 -4
- package/lib/data-model/DataModelDigestion.js +5 -5
- package/lib/data-model/DataModelDigestion.js.map +1 -1
- package/lib/data-model/DataModelDigestionV2.js +1 -1
- package/lib/data-model/DataModelDigestionV2.js.map +1 -1
- package/lib/data-model/DataModelDigestionV4.js +4 -4
- package/lib/data-model/DataModelDigestionV4.js.map +1 -1
- package/lib/data-model/DataTypeModel.d.ts +1 -1
- package/lib/generator/ModelGenerator.js +7 -7
- package/lib/generator/ModelGenerator.js.map +1 -1
- package/lib/generator/QueryObjectGenerator.js +5 -5
- package/lib/generator/QueryObjectGenerator.js.map +1 -1
- package/lib/generator/ServiceGenerator.js +6 -6
- package/lib/generator/ServiceGenerator.js.map +1 -1
- package/lib/project/ProjectManager.js +2 -3
- package/lib/project/ProjectManager.js.map +1 -1
- package/package.json +13 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,621 +3,532 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.18.
|
|
7
|
-
|
|
6
|
+
## [0.18.6](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2ts@0.18.3...@odata2ts/odata2ts@0.18.6) (2023-02-13)
|
|
8
7
|
|
|
9
8
|
### Bug Fixes
|
|
10
9
|
|
|
11
|
-
*
|
|
10
|
+
* build ([2a54611](https://github.com/odata2ts/odata2ts/commit/2a54611ff0dbad14621743361307c261785ca62a))
|
|
12
11
|
|
|
12
|
+
## [0.18.5](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2ts@0.18.3...@odata2ts/odata2ts@0.18.5) (2023-02-13)
|
|
13
13
|
|
|
14
|
+
### Bug Fixes
|
|
14
15
|
|
|
16
|
+
* build ([2a54611](https://github.com/odata2ts/odata2ts/commit/2a54611ff0dbad14621743361307c261785ca62a))
|
|
15
17
|
|
|
18
|
+
## [0.18.4](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2ts@0.18.3...@odata2ts/odata2ts@0.18.4) (2023-02-13)
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
**Note:** Version bump only for package @odata2ts/odata2ts
|
|
18
21
|
|
|
22
|
+
## [0.18.3](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2ts@0.18.2...@odata2ts/odata2ts@0.18.3) (2023-02-03)
|
|
19
23
|
|
|
20
24
|
### Bug Fixes
|
|
21
25
|
|
|
22
|
-
* **odata2ts:**
|
|
26
|
+
* **odata2ts:** peer dep versions did not get auto upated ([#120](https://github.com/odata2ts/odata2ts/issues/120)) ([586627e](https://github.com/odata2ts/odata2ts/commit/586627e354c03ed36135d0b7f21a05b97a11072f))
|
|
27
|
+
|
|
28
|
+
## [0.18.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2ts@0.18.1...@odata2ts/odata2ts@0.18.2) (2023-01-11)
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
23
31
|
|
|
32
|
+
* **odata2ts:** wrong generation of complex and enum params for q operations ([#111](https://github.com/odata2ts/odata2ts/issues/111)) ([f69aadf](https://github.com/odata2ts/odata2ts/commit/f69aadf52201fbf854d00103f763f465c7557de4))
|
|
24
33
|
|
|
34
|
+
## [0.18.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2ts@0.18.0...@odata2ts/odata2ts@0.18.1) (2023-01-10)
|
|
25
35
|
|
|
36
|
+
### Bug Fixes
|
|
26
37
|
|
|
38
|
+
* **odata2ts:** no model param and no q operation generation for collection bound operations ([#110](https://github.com/odata2ts/odata2ts/issues/110)) ([71769c2](https://github.com/odata2ts/odata2ts/commit/71769c22affa37c3a443e91f5070fa07f90d03d6))
|
|
27
39
|
|
|
28
40
|
# 0.18.0 (2023-01-07)
|
|
29
41
|
|
|
30
|
-
|
|
31
42
|
### Bug Fixes
|
|
32
43
|
|
|
33
44
|
* **odata2ts:** configurable naming of main service ([c2bdeeb](https://github.com/odata2ts/odata2ts/commit/c2bdeeb9e35f8a4ed31e35c41e4f01ddef9bd9a6))
|
|
34
45
|
|
|
35
|
-
|
|
36
46
|
### Code Refactoring
|
|
37
47
|
|
|
38
48
|
* odata2model => odata2ts ([#97](https://github.com/odata2ts/odata2ts/issues/97)) ([4085c7c](https://github.com/odata2ts/odata2ts/commit/4085c7ccf173c6712c5238f8b43e86842eecb19a))
|
|
39
|
-
* rename odata-uri-builder to odata-query-builder ([#98](https://github.com/odata2ts/odata2ts/issues/98)) ([e0de825](https://github.com/odata2ts/odata2ts/commit/e0de825663fab15c37854ae08f75ab8df761cd3e))
|
|
40
49
|
|
|
50
|
+
* rename odata-uri-builder to odata-query-builder ([#98](https://github.com/odata2ts/odata2ts/issues/98)) ([e0de825](https://github.com/odata2ts/odata2ts/commit/e0de825663fab15c37854ae08f75ab8df761cd3e))
|
|
41
51
|
|
|
42
52
|
### Features
|
|
43
53
|
|
|
44
54
|
* **odata-service:** introduce entity service resolver ([#100](https://github.com/odata2ts/odata2ts/issues/100)) ([66dd853](https://github.com/odata2ts/odata2ts/commit/66dd853bbc28a0758fae04abd5e8885689aeabc2))
|
|
55
|
+
|
|
45
56
|
* **odata2ts:** add snakeCase as new renaming strategy ([#101](https://github.com/odata2ts/odata2ts/issues/101)) ([09f9bfb](https://github.com/odata2ts/odata2ts/commit/09f9bfbde7f1e75c9a29ff774f7d771cfab7106b))
|
|
57
|
+
|
|
46
58
|
* **odata2ts:** minimal naming options ([#104](https://github.com/odata2ts/odata2ts/issues/104)) ([67ddfa7](https://github.com/odata2ts/odata2ts/commit/67ddfa74f977e164892c2953dc8c5459a92c11d4))
|
|
47
|
-
* **odata2ts:** use navToX instead of getXSrv ([#99](https://github.com/odata2ts/odata2ts/issues/99)) ([4aafcb0](https://github.com/odata2ts/odata2ts/commit/4aafcb0cd307748feed4df075459e17e83876f3b))
|
|
48
59
|
|
|
60
|
+
* **odata2ts:** use navToX instead of getXSrv ([#99](https://github.com/odata2ts/odata2ts/issues/99)) ([4aafcb0](https://github.com/odata2ts/odata2ts/commit/4aafcb0cd307748feed4df075459e17e83876f3b))
|
|
49
61
|
|
|
50
62
|
### BREAKING CHANGES
|
|
51
63
|
|
|
52
64
|
* **odata2ts:** option `service.fileNames` was removed in favour of `service.main`, so that the main service can be configured individually; the underlying bug was that file names SHOULD NOT be configurable for services
|
|
65
|
+
|
|
53
66
|
* **odata2ts:** changed default: uses "navToX" instead of "getXSrv" to navigate to other services; old behaviour can be restored via naming configuration prefix: "get", suffix: "Srv"
|
|
67
|
+
|
|
54
68
|
* rename module odata-uri-builder to odata-query-builder; API completely refactored by renaming all models, classes, functions, props from "uri" to "query"
|
|
69
|
+
|
|
55
70
|
* rename odata2model to odata2ts; affects import in `odata2ts.config`, affects scripts in `package.json` or any scripts which use to call `odata2model` command directly
|
|
56
71
|
|
|
72
|
+
# [0.17.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.16.1...@odata2ts/odata2model@0.17.0) (2023-01-05)
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* **odata2ts:** broken js generation ([#95](https://github.com/odata2ts/odata2ts/issues/95)) ([6df7392](https://github.com/odata2ts/odata2ts/commit/6df7392b6bf72fc1621585d299ed3adebee53021))
|
|
77
|
+
|
|
78
|
+
* **odata2ts:** operation return type for primitive values is wrong ([#91](https://github.com/odata2ts/odata2ts/issues/91)) ([fcbc28a](https://github.com/odata2ts/odata2ts/commit/fcbc28a8c388d256cb14ddf2a5935431e3a50478))
|
|
79
|
+
|
|
80
|
+
### Code Refactoring
|
|
81
|
+
|
|
82
|
+
* **odata2ts:** changing default regarding renaming ([#94](https://github.com/odata2ts/odata2ts/issues/94)) ([67124a2](https://github.com/odata2ts/odata2ts/commit/67124a206d28442e86ab4db50b4aa3eb17056727))
|
|
83
|
+
|
|
84
|
+
### Features
|
|
85
|
+
|
|
86
|
+
* dedicated number params for V2 ([#84](https://github.com/odata2ts/odata2ts/issues/84)) ([7a440d9](https://github.com/odata2ts/odata2ts/commit/7a440d92c40b39aedd4479ceed4afa18cc3a0ce9))
|
|
87
|
+
|
|
88
|
+
* encode & decode function params properly ([#96](https://github.com/odata2ts/odata2ts/issues/96)) ([ca88f57](https://github.com/odata2ts/odata2ts/commit/ca88f572674181962760005cf33f820e231a2b51))
|
|
89
|
+
|
|
90
|
+
* improved number handling ([#86](https://github.com/odata2ts/odata2ts/issues/86)) ([08e9fe0](https://github.com/odata2ts/odata2ts/commit/08e9fe0feaf5af6fcfe0ab8af7ff27d1d52eb097))
|
|
91
|
+
|
|
92
|
+
* **odata2ts:** automatically handle managed props ([#88](https://github.com/odata2ts/odata2ts/issues/88)) ([37eef19](https://github.com/odata2ts/odata2ts/commit/37eef1918f25a4943ae19475dc987463639ab9f4))
|
|
93
|
+
|
|
94
|
+
### BREAKING CHANGES
|
|
95
|
+
|
|
96
|
+
* **odata2ts:** new default: allowRenaming=false; removed prop `naming.disableNamingStrategy`
|
|
97
|
+
|
|
98
|
+
## [0.16.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.16.0...@odata2ts/odata2model@0.16.1) (2022-12-21)
|
|
99
|
+
|
|
100
|
+
### Bug Fixes
|
|
101
|
+
|
|
102
|
+
* **odata2ts:** import deferred content from core (V2 only) ([66bee43](https://github.com/odata2ts/odata2ts/commit/66bee43bfe16bc930614bd82df48c46348e25b2b))
|
|
103
|
+
|
|
104
|
+
* only import QEntityPath when needed ([81a4e77](https://github.com/odata2ts/odata2ts/commit/81a4e77b78d0fb02505b7989e7ae6737dc279e80))
|
|
105
|
+
|
|
106
|
+
# [0.16.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.2...@odata2ts/odata2model@0.16.0) (2022-12-18)
|
|
107
|
+
|
|
108
|
+
### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* **odata2model:** don't generate useless constructors ([f495604](https://github.com/odata2ts/odata2ts/commit/f4956044df9cc081e90208fb3a961fa6572911db))
|
|
111
|
+
|
|
112
|
+
* **odata2ts:** disable entities by name from config interfaces => not implemented yet ([96fefbe](https://github.com/odata2ts/odata2ts/commit/96fefbe22dc10cf7549a61551eadc93b870dcc0d))
|
|
113
|
+
|
|
114
|
+
* **odata2ts:** disable own section about entitiesByName ([78d9c6e](https://github.com/odata2ts/odata2ts/commit/78d9c6e7e9eccd31f47a7f7b34af9e77dfeeb000))
|
|
115
|
+
|
|
116
|
+
### Features
|
|
117
|
+
|
|
118
|
+
* **odata2model:** extensive configuration model via config file ([#67](https://github.com/odata2ts/odata2ts/issues/67)) ([a42aee4](https://github.com/odata2ts/odata2ts/commit/a42aee494a4e30d8704569d7262fc31020ed7711))
|
|
119
|
+
|
|
120
|
+
* **odata2ts:** adapt method generation for services ([486a85c](https://github.com/odata2ts/odata2ts/commit/486a85cffc2ee06e6461ecd1f3dd00a8208b95f7))
|
|
121
|
+
|
|
122
|
+
* **odata2ts:** adapt query object generation to OperationReturnTypes ([734e2bd](https://github.com/odata2ts/odata2ts/commit/734e2bd51a67cc285153c97f96655b950c62a230))
|
|
123
|
+
|
|
124
|
+
* **odata2ts:** apply name mapping in all places ([dd5a6fd](https://github.com/odata2ts/odata2ts/commit/dd5a6fdde83cdc3f803eb1d96553571e78364849))
|
|
125
|
+
|
|
126
|
+
* **odata2ts:** property configuration with name mapping and managed flag ([#78](https://github.com/odata2ts/odata2ts/issues/78)) ([797566c](https://github.com/odata2ts/odata2ts/commit/797566cf962e8c9b1f3a1a8081e066c9f0829b91))
|
|
127
|
+
|
|
128
|
+
# [0.15.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.2...@odata2ts/odata2model@0.15.0) (2022-12-18)
|
|
129
|
+
|
|
130
|
+
### Bug Fixes
|
|
131
|
+
|
|
132
|
+
* **odata2model:** don't generate useless constructors ([f495604](https://github.com/odata2ts/odata2ts/commit/f4956044df9cc081e90208fb3a961fa6572911db))
|
|
133
|
+
|
|
134
|
+
* **odata2ts:** disable entities by name from config interfaces => not implemented yet ([96fefbe](https://github.com/odata2ts/odata2ts/commit/96fefbe22dc10cf7549a61551eadc93b870dcc0d))
|
|
135
|
+
|
|
136
|
+
* **odata2ts:** disable own section about entitiesByName ([78d9c6e](https://github.com/odata2ts/odata2ts/commit/78d9c6e7e9eccd31f47a7f7b34af9e77dfeeb000))
|
|
137
|
+
|
|
138
|
+
### Features
|
|
139
|
+
|
|
140
|
+
* **odata2model:** extensive configuration model via config file ([#67](https://github.com/odata2ts/odata2ts/issues/67)) ([a42aee4](https://github.com/odata2ts/odata2ts/commit/a42aee494a4e30d8704569d7262fc31020ed7711))
|
|
141
|
+
|
|
142
|
+
* **odata2ts:** adapt method generation for services ([486a85c](https://github.com/odata2ts/odata2ts/commit/486a85cffc2ee06e6461ecd1f3dd00a8208b95f7))
|
|
143
|
+
|
|
144
|
+
* **odata2ts:** adapt query object generation to OperationReturnTypes ([734e2bd](https://github.com/odata2ts/odata2ts/commit/734e2bd51a67cc285153c97f96655b950c62a230))
|
|
145
|
+
|
|
146
|
+
* **odata2ts:** apply name mapping in all places ([dd5a6fd](https://github.com/odata2ts/odata2ts/commit/dd5a6fdde83cdc3f803eb1d96553571e78364849))
|
|
147
|
+
|
|
148
|
+
* **odata2ts:** property configuration with name mapping and managed flag ([#78](https://github.com/odata2ts/odata2ts/issues/78)) ([797566c](https://github.com/odata2ts/odata2ts/commit/797566cf962e8c9b1f3a1a8081e066c9f0829b91))
|
|
149
|
+
|
|
150
|
+
## [0.14.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.1...@odata2ts/odata2model@0.14.2) (2022-09-09)
|
|
151
|
+
|
|
152
|
+
### Bug Fixes
|
|
153
|
+
|
|
154
|
+
* IdFunction never gets v2Mode flag ([f36d173](https://github.com/odata2ts/odata2ts/commit/f36d173c3e48255777e5346441030b711706b1ad))
|
|
155
|
+
|
|
156
|
+
## [0.14.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.0...@odata2ts/odata2model@0.14.1) (2022-09-08)
|
|
157
|
+
|
|
158
|
+
### Bug Fixes
|
|
159
|
+
|
|
160
|
+
* corrected int tests ([fff88be](https://github.com/odata2ts/odata2ts/commit/fff88be110cc53a5193ed72bd39a53cddc997a93))
|
|
161
|
+
|
|
162
|
+
* don't map param names for now ([f39f541](https://github.com/odata2ts/odata2ts/commit/f39f541672f8a61a1d7554b8e86e58f606bd117b))
|
|
163
|
+
|
|
164
|
+
# [0.14.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.13.1...@odata2ts/odata2model@0.14.0) (2022-09-08)
|
|
165
|
+
|
|
166
|
+
### Code Refactoring
|
|
167
|
+
|
|
168
|
+
* centralize formatting and parsing of params & attributes ([#62](https://github.com/odata2ts/odata2ts/issues/62)) ([ba93a27](https://github.com/odata2ts/odata2ts/commit/ba93a278afd2de356675973fb2889483bc370f7a))
|
|
169
|
+
|
|
170
|
+
### Features
|
|
171
|
+
|
|
172
|
+
* **odata-service:** allow to pass custom headers per request ([#58](https://github.com/odata2ts/odata2ts/issues/58)) ([d783e51](https://github.com/odata2ts/odata2ts/commit/d783e51e4b5a69892c79a03bedc6bf041abba9ec))
|
|
173
|
+
|
|
174
|
+
* **odata2model:** add typescript support for odata2ts.config ([70a01e5](https://github.com/odata2ts/odata2ts/commit/70a01e5fd03baa5a470bc26b876df6a526782668))
|
|
175
|
+
|
|
176
|
+
* **odata2model:** support V2 functions with HTTP method POST ([#61](https://github.com/odata2ts/odata2ts/issues/61)) ([c9213fa](https://github.com/odata2ts/odata2ts/commit/c9213faecd9e0ee7bebe049879b58a0f1b2ccd95))
|
|
177
|
+
|
|
178
|
+
### BREAKING CHANGES
|
|
179
|
+
|
|
180
|
+
* UrlHelper including compile and parse methods have been removed; interfaces for EntityKeyProp, EntityKeySpec, InlineUrlProp, and InlineUrlProps have been removed; parsing of passed parameters is more strict.
|
|
181
|
+
|
|
182
|
+
Introducing static functions on QPath objects to format and parse url conform values.
|
|
183
|
+
|
|
184
|
+
Introducing QParams, QFunction and QAction to bundle logic around operations including the id function (url path generation).
|
|
185
|
+
|
|
186
|
+
Generate models for IdType of entity & parameter models for functions / actions in general
|
|
187
|
+
|
|
188
|
+
Generate Q-objects for EntityIdFunctions, and functions & actions in general
|
|
189
|
+
|
|
190
|
+
## [0.13.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.13.0...@odata2ts/odata2model@0.13.1) (2022-08-25)
|
|
191
|
+
|
|
192
|
+
### Bug Fixes
|
|
193
|
+
|
|
194
|
+
* always create errors with new operator ([#54](https://github.com/odata2ts/odata2ts/issues/54)) ([562dede](https://github.com/odata2ts/odata2ts/commit/562dede85d7ce276957a4b1683856d4adfee3ad1))
|
|
195
|
+
|
|
196
|
+
# [0.13.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.12.1...@odata2ts/odata2model@0.13.0) (2022-08-11)
|
|
197
|
+
|
|
198
|
+
### Code Refactoring
|
|
199
|
+
|
|
200
|
+
* **uri-builder:** composition over inheritance, proper interfaces ([#48](https://github.com/odata2ts/odata2ts/issues/48)) ([36c8a0a](https://github.com/odata2ts/odata2ts/commit/36c8a0a27dabfbcfbd2359d040dcda518615a4e0))
|
|
201
|
+
|
|
202
|
+
### Features
|
|
203
|
+
|
|
204
|
+
* **uri-builder:** V2 implementation of "expanding" method ([#49](https://github.com/odata2ts/odata2ts/issues/49)) ([e237c61](https://github.com/odata2ts/odata2ts/commit/e237c61710125daa6e7e6617ebf377304f1b5d89))
|
|
205
|
+
|
|
206
|
+
### BREAKING CHANGES
|
|
207
|
+
|
|
208
|
+
* **uri-builder:** It was possible to select nested props by using q-props (V2 only); this syntax has been removed and will be replaced by making use of the current V4 syntax: you first expand the property (method "expanding") and then select (or expand) on the expanded entity.
|
|
209
|
+
|
|
210
|
+
* **uri-builder:** ODataUriBuilder was removed from export, it might have served as base class but was of no other use.
|
|
211
|
+
|
|
212
|
+
## [0.12.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.12.0...@odata2ts/odata2model@0.12.1) (2022-08-01)
|
|
213
|
+
|
|
214
|
+
### Bug Fixes
|
|
215
|
+
|
|
216
|
+
* add imports for returnType & don't camel case function / action params ([#44](https://github.com/odata2ts/odata2ts/issues/44)) ([b46e4fd](https://github.com/odata2ts/odata2ts/commit/b46e4fdf5bd1566c03c8833daf1a7afcbb471d53))
|
|
217
|
+
|
|
218
|
+
# [0.12.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.11.2...@odata2ts/odata2model@0.12.0) (2022-08-01)
|
|
219
|
+
|
|
220
|
+
### Bug Fixes
|
|
221
|
+
|
|
222
|
+
* remove superfluous constructor from qObjects ([#41](https://github.com/odata2ts/odata2ts/issues/41)) ([f5f5623](https://github.com/odata2ts/odata2ts/commit/f5f56233eeadff584dc91c4a05c4d3d8196a7af3))
|
|
223
|
+
|
|
224
|
+
### Code Refactoring
|
|
225
|
+
|
|
226
|
+
* consistent casing for services, models and props ([#42](https://github.com/odata2ts/odata2ts/issues/42)) ([70e6e92](https://github.com/odata2ts/odata2ts/commit/70e6e92a888c67f65dadb643ed12ace692d2cc8a))
|
|
227
|
+
|
|
228
|
+
* use proper getMethods for services ([#43](https://github.com/odata2ts/odata2ts/issues/43)) ([e05c818](https://github.com/odata2ts/odata2ts/commit/e05c818f193711a161a34be8e7a4c3ba71572a75))
|
|
229
|
+
|
|
230
|
+
### Features
|
|
231
|
+
|
|
232
|
+
* createKey and parseKey for EntitySetService & correct V2 type prefixing ([#39](https://github.com/odata2ts/odata2ts/issues/39)) ([edd05bb](https://github.com/odata2ts/odata2ts/commit/edd05bbf7747ba280786c9ba274160ef274c030a))
|
|
233
|
+
|
|
234
|
+
* typing improvements & editable model versions ([#27](https://github.com/odata2ts/odata2ts/issues/27)) ([df290df](https://github.com/odata2ts/odata2ts/commit/df290dff953a9e37c64c39c18ffdec74ce1874d4))
|
|
235
|
+
|
|
236
|
+
### BREAKING CHANGES
|
|
237
|
+
|
|
238
|
+
* use proper getMethods for services "getXxxSrv()" instead of get accessors "xxx"
|
|
239
|
+
|
|
240
|
+
* consistent camel or pascal casing for services, models and props
|
|
241
|
+
|
|
242
|
+
* fix: always empty output dir before generating
|
|
243
|
+
|
|
244
|
+
* model has become a true query response model.
|
|
245
|
+
|
|
246
|
+
Properties which are nullable now allow null values instead of undefined;
|
|
247
|
+
|
|
248
|
+
complex types are never undefined, but can be nullable;
|
|
249
|
+
|
|
250
|
+
collections are never nullable.
|
|
251
|
+
|
|
252
|
+
V2 only: added deferred content typings for entity and entity collection properties.
|
|
253
|
+
|
|
254
|
+
* feat: generate EditableModels and use in service for create, update, and patch
|
|
255
|
+
|
|
256
|
+
* different signatures for all actions
|
|
257
|
+
|
|
258
|
+
* test: proper test for ModelImportContainer & dataModel.getEditableModelName
|
|
259
|
+
|
|
260
|
+
* test: proper test for DataModel
|
|
261
|
+
|
|
262
|
+
* refactor(odata2model): don't always combine handling of complex and entity types
|
|
263
|
+
|
|
264
|
+
## [0.11.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.11.1...@odata2ts/odata2model@0.11.2) (2022-07-20)
|
|
265
|
+
|
|
266
|
+
### Bug Fixes
|
|
267
|
+
|
|
268
|
+
* guids in v2 have special syntax (guid'xxxx-...') ([#35](https://github.com/odata2ts/odata2ts/issues/35)) ([a551bcc](https://github.com/odata2ts/odata2ts/commit/a551bccf27dc7e8348020840402372582f9448e5))
|
|
269
|
+
|
|
270
|
+
## [0.11.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.11.0...@odata2ts/odata2model@0.11.1) (2022-07-11)
|
|
271
|
+
|
|
272
|
+
**Note:** Version bump only for package @odata2ts/odata2model
|
|
273
|
+
|
|
274
|
+
# [0.11.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.10.1...@odata2ts/odata2model@0.11.0) (2022-07-06)
|
|
275
|
+
|
|
276
|
+
### Features
|
|
277
|
+
|
|
278
|
+
* **odata2model:** actions & function on collection level ([#33](https://github.com/odata2ts/odata2ts/issues/33)) ([985b2dc](https://github.com/odata2ts/odata2ts/commit/985b2dc6ca443a73b3a4c877712199c23c5a75cb))
|
|
57
279
|
|
|
280
|
+
## [0.10.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.10.0...@odata2ts/odata2model@0.10.1) (2022-06-30)
|
|
58
281
|
|
|
282
|
+
### Bug Fixes
|
|
283
|
+
|
|
284
|
+
* add prebulish script to guarantee building before publishing ([b6986db](https://github.com/odata2ts/odata2ts/commit/b6986dbdb258b7b3cb8f36ab52ae1ff7b093f7dc))
|
|
285
|
+
|
|
286
|
+
# [0.10.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.9.0...@odata2ts/odata2model@0.10.0) (2022-06-30)
|
|
287
|
+
|
|
288
|
+
### Features
|
|
289
|
+
|
|
290
|
+
* use pascalCase for file names and allow to override serviceName ([#30](https://github.com/odata2ts/odata2ts/issues/30)) ([5aa1e44](https://github.com/odata2ts/odata2ts/commit/5aa1e44a32099d781649ffbed87daa85d0647f5f))
|
|
291
|
+
|
|
292
|
+
### BREAKING CHANGES
|
|
293
|
+
|
|
294
|
+
* new file names
|
|
295
|
+
|
|
296
|
+
# [0.9.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.8.2...@odata2ts/odata2model@0.9.0) (2022-05-21)
|
|
297
|
+
|
|
298
|
+
### Bug Fixes
|
|
299
|
+
|
|
300
|
+
* V2 function params as query params ([07a1f29](https://github.com/odata2ts/odata2ts/commit/07a1f294005b9af7f1ebadecd8978ffca7caa80f))
|
|
301
|
+
|
|
302
|
+
* **odata2model:** fix tests ([efd12bc](https://github.com/odata2ts/odata2ts/commit/efd12bcfb44b7522f3d5ff6c157acd8ca12f74cf))
|
|
303
|
+
|
|
304
|
+
* **odata2model:DataModel:** Duplicate keys when extending multiple times ([157aa13](https://github.com/odata2ts/odata2ts/commit/157aa13a1ffc765b90abdfd2824a4da5fd0729ec))
|
|
305
|
+
|
|
306
|
+
* **odata2model:test:** name northwind-v4 fixture correctly ([39e77f4](https://github.com/odata2ts/odata2ts/commit/39e77f46ea2de2fa381480d89e7c5551cd57d411))
|
|
307
|
+
|
|
308
|
+
* **test:** collect code coverage from src folders, thus exhibiting untested code ([3acef8b](https://github.com/odata2ts/odata2ts/commit/3acef8b83b2625579bbce4a967724e884c39c358))
|
|
309
|
+
|
|
310
|
+
* **test:** fix data-model tests ([b8abb8a](https://github.com/odata2ts/odata2ts/commit/b8abb8afe7dfdf4d940bb4cbc8d92575e0416087))
|
|
311
|
+
|
|
312
|
+
* **test:** make coverage test run again ([f2d360b](https://github.com/odata2ts/odata2ts/commit/f2d360bac59901bd056dab5755dcf66d66988af5))
|
|
313
|
+
|
|
314
|
+
* on windows ts-node needs cwd-mode flag ([4f3c0f5](https://github.com/odata2ts/odata2ts/commit/4f3c0f5da9257504f842ca7a51af31e0ef578018))
|
|
315
|
+
|
|
316
|
+
### Features
|
|
317
|
+
|
|
318
|
+
* integration tests for V2 (ODataV2 sample service) ([98bf0b8](https://github.com/odata2ts/odata2ts/commit/98bf0b8fc950337c970b408036d103c2c5934402))
|
|
319
|
+
|
|
320
|
+
* **odata2model:** FixtureComparator ignores [@ts-ignore](https://github.com/ts-ignore) ([b483ed5](https://github.com/odata2ts/odata2ts/commit/b483ed569394b3fb69c9b8d3904e377d2dc7a341))
|
|
321
|
+
|
|
322
|
+
* **odata2model:** move v4 tests & adapt expectations of fixtures ([2f84127](https://github.com/odata2ts/odata2ts/commit/2f841278397564ed1e815a8087068921628ec15e))
|
|
323
|
+
|
|
324
|
+
* **odata2model:** V2 service generation support ([2b17a01](https://github.com/odata2ts/odata2ts/commit/2b17a013d65fc12aac8315bc34bce441eb505870))
|
|
325
|
+
|
|
326
|
+
* **odata2model:Cli:** load config from file via cosmiconfig ([a490778](https://github.com/odata2ts/odata2ts/commit/a4907785b90a513f6a4c910e861d63e14139908b))
|
|
327
|
+
|
|
328
|
+
* **odata2model:Cli:** log file paths relative to working dir of process ([fc1ce86](https://github.com/odata2ts/odata2ts/commit/fc1ce86420858f72d87901435adccaba93280d8c))
|
|
329
|
+
|
|
330
|
+
* **test:** add run-cli integration test ([45a2da1](https://github.com/odata2ts/odata2ts/commit/45a2da1ede37c2734003b40eadafffbc8a82c14a))
|
|
331
|
+
|
|
332
|
+
* **test:** app test ([ad9d3f2](https://github.com/odata2ts/odata2ts/commit/ad9d3f2536828363ef153f54e31f3882089ee3a1))
|
|
333
|
+
|
|
334
|
+
* **test:** Builder for generating Edmx schemas in JSON ([227279a](https://github.com/odata2ts/odata2ts/commit/227279a5faed92a8befa86e5c893e8c6d48df5d6))
|
|
335
|
+
|
|
336
|
+
* **test:** FixtureComparator ([38b03bf](https://github.com/odata2ts/odata2ts/commit/38b03bf67019d45807c90f281bd935aa914f95e5))
|
|
337
|
+
|
|
338
|
+
* **test:** ProjectManager test without testing formatting including some refactorings ([8f666f3](https://github.com/odata2ts/odata2ts/commit/8f666f35b10fb2b2a29c62ec01778fb73e1ab789))
|
|
339
|
+
|
|
340
|
+
* **test:** same tests for model & qobject generation ([a4d882d](https://github.com/odata2ts/odata2ts/commit/a4d882da0bc6dd3c785d13d376b34245c82b0f4a))
|
|
341
|
+
|
|
342
|
+
* **test:** ServiceGenerator tests & fixes ([6a2c242](https://github.com/odata2ts/odata2ts/commit/6a2c24225d9f8b9197c8223e507cf75ba5b74307))
|
|
343
|
+
|
|
344
|
+
* **test:** test for ProjectManager (first draft) ([f705b0b](https://github.com/odata2ts/odata2ts/commit/f705b0bc29f4c848588a5c252ca22a5aebdefe0e))
|
|
345
|
+
|
|
346
|
+
* **test:** testing Model generation ([6d7c530](https://github.com/odata2ts/odata2ts/commit/6d7c53084758b23a3a4525bd9ee8bc5efb25e71e))
|
|
347
|
+
|
|
348
|
+
* **test:** Tests for DataModel and EDMX digestion ([5740292](https://github.com/odata2ts/odata2ts/commit/574029264fdf5af9dcd410108cd8aeb692fa623b))
|
|
349
|
+
|
|
350
|
+
* Feat/refactor query objects (#20) ([67b662a](https://github.com/odata2ts/odata2ts/commit/67b662a6da3344eb215b4f1276bf26464d2126f5)), closes [#20](https://github.com/odata2ts/odata2ts/issues/20)
|
|
351
|
+
|
|
352
|
+
### BREAKING CHANGES
|
|
353
|
+
|
|
354
|
+
* no EntityFactory anymore, no nominalized types in interfaces anymore, etc.
|
|
355
|
+
|
|
356
|
+
* refactor(qObjects): getEntity with prefix option; by default without prefix
|
|
357
|
+
|
|
358
|
+
* fix(qObjects): better QPath modelling
|
|
359
|
+
|
|
360
|
+
* refactor(uri-builder): only use QueryObjects for typing & remove QEntityModel stuff
|
|
361
|
+
|
|
362
|
+
* refactor(odata2model): generate new QObject classes
|
|
363
|
+
|
|
364
|
+
* refactor(service): services now require Model as well as QClass
|
|
365
|
+
|
|
366
|
+
* refactor(odata2model): generate services with new QObject classes
|
|
367
|
+
|
|
368
|
+
* fix(odata2model): fix integration tests
|
|
369
|
+
|
|
370
|
+
* fix: make int-tests for coverage task work again
|
|
371
|
+
|
|
372
|
+
* fix: skip run-cli tests (don't work on github)
|
|
373
|
+
|
|
374
|
+
## [0.8.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.8.1...@odata2ts/odata2model@0.8.2) (2021-10-12)
|
|
375
|
+
|
|
376
|
+
**Note:** Version bump only for package @odata2ts/odata2model
|
|
377
|
+
|
|
378
|
+
## [0.8.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.8.0...@odata2ts/odata2model@0.8.1) (2021-09-17)
|
|
379
|
+
|
|
380
|
+
### Bug Fixes
|
|
381
|
+
|
|
382
|
+
* **odata-service:** revert exposure of Unnominalized ([6ce4ea7](https://github.com/odata2ts/odata2ts/commit/6ce4ea779f3a83e67aa02d6d9213dcec2711df8a))
|
|
383
|
+
|
|
384
|
+
# [0.8.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.7.1...@odata2ts/odata2model@0.8.0) (2021-09-17)
|
|
385
|
+
|
|
386
|
+
### Bug Fixes
|
|
387
|
+
|
|
388
|
+
* fix test ([2144cca](https://github.com/odata2ts/odata2ts/commit/2144cca49cda81ecc929425ca4171d99446c1ee1))
|
|
389
|
+
|
|
390
|
+
### Code Refactoring
|
|
391
|
+
|
|
392
|
+
* **odata-service:** use odata names as param names ([73b130a](https://github.com/odata2ts/odata2ts/commit/73b130a06411e9e7bf030a3dd605d2bcaebf1d70))
|
|
393
|
+
|
|
394
|
+
### Features
|
|
395
|
+
|
|
396
|
+
* **odata2model:** unnominalize response values of actions / functions ([4f284fa](https://github.com/odata2ts/odata2ts/commit/4f284fab3782ca5deb47d0e1b8ab25f5a2fc2bb2))
|
|
397
|
+
|
|
398
|
+
### BREAKING CHANGES
|
|
399
|
+
|
|
400
|
+
* **odata-service:** param names of complex keys have changed
|
|
401
|
+
|
|
402
|
+
## [0.7.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.7.0...@odata2ts/odata2model@0.7.1) (2021-09-16)
|
|
403
|
+
|
|
404
|
+
**Note:** Version bump only for package @odata2ts/odata2model
|
|
405
|
+
|
|
406
|
+
# [0.7.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.6.0...@odata2ts/odata2model@0.7.0) (2021-08-31)
|
|
407
|
+
|
|
408
|
+
### Bug Fixes
|
|
409
|
+
|
|
410
|
+
* **odata2model:** correct typing for returned collection types ([3943f08](https://github.com/odata2ts/odata2ts/commit/3943f089a57e3f37e703f577096bf58d18dda0fa))
|
|
411
|
+
|
|
412
|
+
* **odata2model:** fix tests ([96556cd](https://github.com/odata2ts/odata2ts/commit/96556cd68aae86f2ac231925a49d7350a3670816))
|
|
413
|
+
|
|
414
|
+
* **service:** don't use nominal types for input; use string instead ([788dc5c](https://github.com/odata2ts/odata2ts/commit/788dc5c091e5d1e29e2cf9f44cf1485f65691a6b))
|
|
415
|
+
|
|
416
|
+
### Features
|
|
417
|
+
|
|
418
|
+
* map ID to id ([a0652fa](https://github.com/odata2ts/odata2ts/commit/a0652fa70617de2ce9de70d9b294532bce8c8b91))
|
|
419
|
+
|
|
420
|
+
# [0.6.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.5.0...@odata2ts/odata2model@0.6.0) (2021-08-17)
|
|
421
|
+
|
|
422
|
+
### Features
|
|
423
|
+
|
|
424
|
+
* **odata2model:** add emitMode to allow js and/or d.ts generation ([88e69ca](https://github.com/odata2ts/odata2ts/commit/88e69caff9d9b48f3f607f7f26d3d7d8d4449514))
|
|
425
|
+
|
|
426
|
+
# [0.5.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.4.0...@odata2ts/odata2model@0.5.0) (2021-08-16)
|
|
427
|
+
|
|
428
|
+
### Bug Fixes
|
|
429
|
+
|
|
430
|
+
* **odata2model:** add import for parameter types ([03f25f4](https://github.com/odata2ts/odata2ts/commit/03f25f406aa5f304eeef5f7a89cfda478eb05d2a))
|
|
431
|
+
|
|
432
|
+
### Features
|
|
433
|
+
|
|
434
|
+
* **odata2model:** add bound func/actions & add primitive collections ([c18daac](https://github.com/odata2ts/odata2ts/commit/c18daac8135f17e1554e65ff4c5f4a7a76b4886b))
|
|
435
|
+
|
|
436
|
+
* **odata2model:** check for missing type & throw error ([39cdd55](https://github.com/odata2ts/odata2ts/commit/39cdd55802afdcbc5846e4119a1696d236550009))
|
|
437
|
+
|
|
438
|
+
# [0.4.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.3.0...@odata2ts/odata2model@0.4.0) (2021-08-16)
|
|
439
|
+
|
|
440
|
+
### Bug Fixes
|
|
441
|
+
|
|
442
|
+
* more service tests, fix prop names vs odata names ([489b690](https://github.com/odata2ts/odata2ts/commit/489b69078144d3ed6a478373f7a22d8d923567ec))
|
|
443
|
+
|
|
444
|
+
* **odata2model:** fix path for main entity sets ([c8fba2a](https://github.com/odata2ts/odata2ts/commit/c8fba2a5053a69621539e9cf71f792795b786f3e))
|
|
445
|
+
|
|
446
|
+
* **odata2model:** wrong imort for service from root ([1de6eef](https://github.com/odata2ts/odata2ts/commit/1de6eef34dbc151c04dee91b119e59d3af28f94f))
|
|
447
|
+
|
|
448
|
+
### Features
|
|
449
|
+
|
|
450
|
+
* **odata2model:** add CollectionService, rework main service file ([026e999](https://github.com/odata2ts/odata2ts/commit/026e999c266a2f2a60807519a79a30f8eba98b08))
|
|
451
|
+
|
|
452
|
+
* **odata2model:** add jest & add dev and peer deps ([4076d1f](https://github.com/odata2ts/odata2ts/commit/4076d1fa64d64075722c3d137cf90ea31b587908))
|
|
453
|
+
|
|
454
|
+
* **odata2model:** add keySpec to EntitySets & implement get() ([500e576](https://github.com/odata2ts/odata2ts/commit/500e576a95206bb23985f7a24de3e2e054f9c084))
|
|
455
|
+
|
|
456
|
+
* **odata2model:** dataModel with fileNames, qNames, models with baseProps & baseKeys & qObjects(collections only) ([42d1630](https://github.com/odata2ts/odata2ts/commit/42d163013f8b273e54f7bf3549e4d5db7ba11386))
|
|
457
|
+
|
|
458
|
+
* **odata2model:** generate ModelServices & EntitySetService ([347bbbb](https://github.com/odata2ts/odata2ts/commit/347bbbb350b97689cb8b17844c200dc9e021ea0b))
|
|
459
|
+
|
|
460
|
+
* **odata2model:** introduce ImportContainer to organize imports ([6fab097](https://github.com/odata2ts/odata2ts/commit/6fab097b0e3286f07dcbde66b4648f965ec7e999))
|
|
461
|
+
|
|
462
|
+
* **odata2model:** parse functions & actions & entityContainer stuff into DataModel ([7fb9bb8](https://github.com/odata2ts/odata2ts/commit/7fb9bb8884696484d333e48f8e653f0b06fb760a))
|
|
463
|
+
|
|
464
|
+
* **odata2model:** realize new QEntityCollectionPath prop ([5eaf31a](https://github.com/odata2ts/odata2ts/commit/5eaf31a109058d9d0084c5a021ffad3b0b848c7a))
|
|
465
|
+
|
|
466
|
+
* **odata2model:** service gen for unbound funcs with params ([d7516da](https://github.com/odata2ts/odata2ts/commit/d7516dad3dc60d12bb885d3d7e9b52bc36a92b8f))
|
|
467
|
+
|
|
468
|
+
* **odata2model:** service generation for unbound parameterless functions ([2441aad](https://github.com/odata2ts/odata2ts/commit/2441aadc18941b866d7c702d5133f1d0743f1e0d))
|
|
469
|
+
|
|
470
|
+
* **odata2model:** setup ServiceGenerator ([8fbfffc](https://github.com/odata2ts/odata2ts/commit/8fbfffcbde532f1bcfba4d23bab64b80d9964717))
|
|
471
|
+
|
|
472
|
+
* **odata2model:** use dataModel.fileNames for app ([9487893](https://github.com/odata2ts/odata2ts/commit/9487893b233603ac6b4c7f581bb01a884cae475b))
|
|
473
|
+
|
|
474
|
+
* **service:** add singletons ([5695389](https://github.com/odata2ts/odata2ts/commit/56953890ab157bc50ab4eae9d48aeb98ebdb1951))
|
|
475
|
+
|
|
476
|
+
* **service:** init navProps via accessor instead of getter methods ([bb93f30](https://github.com/odata2ts/odata2ts/commit/bb93f304c06ff5e3e3e2ec1ce0ff27f884108feb))
|
|
477
|
+
|
|
478
|
+
# [0.3.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.2.1...@odata2ts/odata2model@0.3.0) (2021-08-10)
|
|
479
|
+
|
|
480
|
+
### Bug Fixes
|
|
481
|
+
|
|
482
|
+
* **odata2model:** give first schema priority ([8fed26f](https://github.com/odata2ts/odata2ts/commit/8fed26f570e2435548d959f069f28b7d5533351a))
|
|
483
|
+
|
|
484
|
+
### Code Refactoring
|
|
485
|
+
|
|
486
|
+
* QEntityModel without key spec ([913cd11](https://github.com/odata2ts/odata2ts/commit/913cd11df132969aca80054b2d1584bfe678a729))
|
|
487
|
+
|
|
488
|
+
### Features
|
|
489
|
+
|
|
490
|
+
* **odata2model:** add type knowledge for function, action, complex & singleton ([56f7e5f](https://github.com/odata2ts/odata2ts/commit/56f7e5fe7ec1c699bacd6ea12a6c54f43002aca5))
|
|
491
|
+
|
|
492
|
+
* **odata2model:** generate Enums & CollectionPaths & respect baseClasses for QObjects ([e9dfce5](https://github.com/odata2ts/odata2ts/commit/e9dfce5ba15d8d10e56c63c9c88674f6c6b5b2cb))
|
|
493
|
+
|
|
494
|
+
* **odata2model:** model gen with support for complex types, enum types ([f2d5b3b](https://github.com/odata2ts/odata2ts/commit/f2d5b3b020bb1fbe2d81753432bd54738a3f1e67))
|
|
495
|
+
|
|
496
|
+
* **odata2model:** support BaseType for entity & complex types ([20c5ab2](https://github.com/odata2ts/odata2ts/commit/20c5ab2890fd8482c8897033b628a32ad88d4f2f))
|
|
497
|
+
|
|
498
|
+
* **odata2model:** support complex types & primitive collections ([6481920](https://github.com/odata2ts/odata2ts/commit/64819204f711d7e84ba1d2f153d826721780750c))
|
|
499
|
+
|
|
500
|
+
* add sample requests covering trippin features ([2cc900f](https://github.com/odata2ts/odata2ts/commit/2cc900fa4344c98ee8a521f50b158e8e7cb96dcc))
|
|
501
|
+
|
|
502
|
+
### BREAKING CHANGES
|
|
503
|
+
|
|
504
|
+
* **odata2model:** qObjects are generated differently
|
|
505
|
+
|
|
506
|
+
* [query-objects]: QEntityModel without key spec & __collectionPath; [UrlBuilder]: path must be provided explicitly now for any entity set
|
|
507
|
+
|
|
508
|
+
## [0.2.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.2.0...@odata2ts/odata2model@0.2.1) (2021-07-23)
|
|
509
|
+
|
|
510
|
+
### Bug Fixes
|
|
511
|
+
|
|
512
|
+
* **odata2model:** respect suffix & prefix in relationships ([cc59d9f](https://github.com/odata2ts/odata2ts/commit/cc59d9f6b8e12a7a729dd297921f2f2c7be9fe50))
|
|
513
|
+
|
|
514
|
+
# [0.2.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.4...@odata2ts/odata2model@0.2.0) (2021-07-23)
|
|
515
|
+
|
|
516
|
+
### Features
|
|
517
|
+
|
|
518
|
+
* **odata2model:** add options for suffix & prefix ([d5d9a81](https://github.com/odata2ts/odata2ts/commit/d5d9a8186304954c4700a05b2cab47fccf86d63c))
|
|
519
|
+
|
|
520
|
+
## [0.1.4](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.3...@odata2ts/odata2model@0.1.4) (2021-07-08)
|
|
521
|
+
|
|
522
|
+
**Note:** Version bump only for package @odata2ts/odata2model
|
|
523
|
+
|
|
524
|
+
## [0.1.3](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.2...@odata2ts/odata2model@0.1.3) (2021-07-01)
|
|
525
|
+
|
|
526
|
+
**Note:** Version bump only for package @odata2ts/odata2model
|
|
527
|
+
|
|
528
|
+
## [0.1.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.1...@odata2ts/odata2model@0.1.2) (2021-07-01)
|
|
529
|
+
|
|
530
|
+
**Note:** Version bump only for package @odata2ts/odata2model
|
|
59
531
|
|
|
532
|
+
## [0.1.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.0...@odata2ts/odata2model@0.1.1) (2021-07-01)
|
|
60
533
|
|
|
61
|
-
|
|
62
|
-
# [0.17.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.16.1...@odata2ts/odata2model@0.17.0) (2023-01-05)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### Bug Fixes
|
|
66
|
-
|
|
67
|
-
* **odata2ts:** broken js generation ([#95](https://github.com/odata2ts/odata2ts/issues/95)) ([6df7392](https://github.com/odata2ts/odata2ts/commit/6df7392b6bf72fc1621585d299ed3adebee53021))
|
|
68
|
-
* **odata2ts:** operation return type for primitive values is wrong ([#91](https://github.com/odata2ts/odata2ts/issues/91)) ([fcbc28a](https://github.com/odata2ts/odata2ts/commit/fcbc28a8c388d256cb14ddf2a5935431e3a50478))
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Code Refactoring
|
|
72
|
-
|
|
73
|
-
* **odata2ts:** changing default regarding renaming ([#94](https://github.com/odata2ts/odata2ts/issues/94)) ([67124a2](https://github.com/odata2ts/odata2ts/commit/67124a206d28442e86ab4db50b4aa3eb17056727))
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Features
|
|
77
|
-
|
|
78
|
-
* dedicated number params for V2 ([#84](https://github.com/odata2ts/odata2ts/issues/84)) ([7a440d9](https://github.com/odata2ts/odata2ts/commit/7a440d92c40b39aedd4479ceed4afa18cc3a0ce9))
|
|
79
|
-
* encode & decode function params properly ([#96](https://github.com/odata2ts/odata2ts/issues/96)) ([ca88f57](https://github.com/odata2ts/odata2ts/commit/ca88f572674181962760005cf33f820e231a2b51))
|
|
80
|
-
* improved number handling ([#86](https://github.com/odata2ts/odata2ts/issues/86)) ([08e9fe0](https://github.com/odata2ts/odata2ts/commit/08e9fe0feaf5af6fcfe0ab8af7ff27d1d52eb097))
|
|
81
|
-
* **odata2ts:** automatically handle managed props ([#88](https://github.com/odata2ts/odata2ts/issues/88)) ([37eef19](https://github.com/odata2ts/odata2ts/commit/37eef1918f25a4943ae19475dc987463639ab9f4))
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
### BREAKING CHANGES
|
|
85
|
-
|
|
86
|
-
* **odata2ts:** new default: allowRenaming=false; removed prop `naming.disableNamingStrategy`
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
## [0.16.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.16.0...@odata2ts/odata2model@0.16.1) (2022-12-21)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
### Bug Fixes
|
|
96
|
-
|
|
97
|
-
* **odata2ts:** import deferred content from core (V2 only) ([66bee43](https://github.com/odata2ts/odata2ts/commit/66bee43bfe16bc930614bd82df48c46348e25b2b))
|
|
98
|
-
* only import QEntityPath when needed ([81a4e77](https://github.com/odata2ts/odata2ts/commit/81a4e77b78d0fb02505b7989e7ae6737dc279e80))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
# [0.16.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.2...@odata2ts/odata2model@0.16.0) (2022-12-18)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
### Bug Fixes
|
|
109
|
-
|
|
110
|
-
* **odata2model:** don't generate useless constructors ([f495604](https://github.com/odata2ts/odata2ts/commit/f4956044df9cc081e90208fb3a961fa6572911db))
|
|
111
|
-
* **odata2ts:** disable entities by name from config interfaces => not implemented yet ([96fefbe](https://github.com/odata2ts/odata2ts/commit/96fefbe22dc10cf7549a61551eadc93b870dcc0d))
|
|
112
|
-
* **odata2ts:** disable own section about entitiesByName ([78d9c6e](https://github.com/odata2ts/odata2ts/commit/78d9c6e7e9eccd31f47a7f7b34af9e77dfeeb000))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
### Features
|
|
116
|
-
|
|
117
|
-
* **odata2model:** extensive configuration model via config file ([#67](https://github.com/odata2ts/odata2ts/issues/67)) ([a42aee4](https://github.com/odata2ts/odata2ts/commit/a42aee494a4e30d8704569d7262fc31020ed7711))
|
|
118
|
-
* **odata2ts:** adapt method generation for services ([486a85c](https://github.com/odata2ts/odata2ts/commit/486a85cffc2ee06e6461ecd1f3dd00a8208b95f7))
|
|
119
|
-
* **odata2ts:** adapt query object generation to OperationReturnTypes ([734e2bd](https://github.com/odata2ts/odata2ts/commit/734e2bd51a67cc285153c97f96655b950c62a230))
|
|
120
|
-
* **odata2ts:** apply name mapping in all places ([dd5a6fd](https://github.com/odata2ts/odata2ts/commit/dd5a6fdde83cdc3f803eb1d96553571e78364849))
|
|
121
|
-
* **odata2ts:** property configuration with name mapping and managed flag ([#78](https://github.com/odata2ts/odata2ts/issues/78)) ([797566c](https://github.com/odata2ts/odata2ts/commit/797566cf962e8c9b1f3a1a8081e066c9f0829b91))
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
# [0.15.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.2...@odata2ts/odata2model@0.15.0) (2022-12-18)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* **odata2model:** don't generate useless constructors ([f495604](https://github.com/odata2ts/odata2ts/commit/f4956044df9cc081e90208fb3a961fa6572911db))
|
|
133
|
-
* **odata2ts:** disable entities by name from config interfaces => not implemented yet ([96fefbe](https://github.com/odata2ts/odata2ts/commit/96fefbe22dc10cf7549a61551eadc93b870dcc0d))
|
|
134
|
-
* **odata2ts:** disable own section about entitiesByName ([78d9c6e](https://github.com/odata2ts/odata2ts/commit/78d9c6e7e9eccd31f47a7f7b34af9e77dfeeb000))
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
### Features
|
|
138
|
-
|
|
139
|
-
* **odata2model:** extensive configuration model via config file ([#67](https://github.com/odata2ts/odata2ts/issues/67)) ([a42aee4](https://github.com/odata2ts/odata2ts/commit/a42aee494a4e30d8704569d7262fc31020ed7711))
|
|
140
|
-
* **odata2ts:** adapt method generation for services ([486a85c](https://github.com/odata2ts/odata2ts/commit/486a85cffc2ee06e6461ecd1f3dd00a8208b95f7))
|
|
141
|
-
* **odata2ts:** adapt query object generation to OperationReturnTypes ([734e2bd](https://github.com/odata2ts/odata2ts/commit/734e2bd51a67cc285153c97f96655b950c62a230))
|
|
142
|
-
* **odata2ts:** apply name mapping in all places ([dd5a6fd](https://github.com/odata2ts/odata2ts/commit/dd5a6fdde83cdc3f803eb1d96553571e78364849))
|
|
143
|
-
* **odata2ts:** property configuration with name mapping and managed flag ([#78](https://github.com/odata2ts/odata2ts/issues/78)) ([797566c](https://github.com/odata2ts/odata2ts/commit/797566cf962e8c9b1f3a1a8081e066c9f0829b91))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
## [0.14.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.1...@odata2ts/odata2model@0.14.2) (2022-09-09)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
### Bug Fixes
|
|
154
|
-
|
|
155
|
-
* IdFunction never gets v2Mode flag ([f36d173](https://github.com/odata2ts/odata2ts/commit/f36d173c3e48255777e5346441030b711706b1ad))
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
## [0.14.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.14.0...@odata2ts/odata2model@0.14.1) (2022-09-08)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
### Bug Fixes
|
|
165
|
-
|
|
166
|
-
* corrected int tests ([fff88be](https://github.com/odata2ts/odata2ts/commit/fff88be110cc53a5193ed72bd39a53cddc997a93))
|
|
167
|
-
* don't map param names for now ([f39f541](https://github.com/odata2ts/odata2ts/commit/f39f541672f8a61a1d7554b8e86e58f606bd117b))
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
# [0.14.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.13.1...@odata2ts/odata2model@0.14.0) (2022-09-08)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
### Code Refactoring
|
|
177
|
-
|
|
178
|
-
* centralize formatting and parsing of params & attributes ([#62](https://github.com/odata2ts/odata2ts/issues/62)) ([ba93a27](https://github.com/odata2ts/odata2ts/commit/ba93a278afd2de356675973fb2889483bc370f7a))
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
### Features
|
|
182
|
-
|
|
183
|
-
* **odata-service:** allow to pass custom headers per request ([#58](https://github.com/odata2ts/odata2ts/issues/58)) ([d783e51](https://github.com/odata2ts/odata2ts/commit/d783e51e4b5a69892c79a03bedc6bf041abba9ec))
|
|
184
|
-
* **odata2model:** add typescript support for odata2ts.config ([70a01e5](https://github.com/odata2ts/odata2ts/commit/70a01e5fd03baa5a470bc26b876df6a526782668))
|
|
185
|
-
* **odata2model:** support V2 functions with HTTP method POST ([#61](https://github.com/odata2ts/odata2ts/issues/61)) ([c9213fa](https://github.com/odata2ts/odata2ts/commit/c9213faecd9e0ee7bebe049879b58a0f1b2ccd95))
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
### BREAKING CHANGES
|
|
189
|
-
|
|
190
|
-
* UrlHelper including compile and parse methods have been removed; interfaces for EntityKeyProp, EntityKeySpec, InlineUrlProp, and InlineUrlProps have been removed; parsing of passed parameters is more strict.
|
|
191
|
-
|
|
192
|
-
Introducing static functions on QPath objects to format and parse url conform values.
|
|
193
|
-
Introducing QParams, QFunction and QAction to bundle logic around operations including the id function (url path generation).
|
|
194
|
-
Generate models for IdType of entity & parameter models for functions / actions in general
|
|
195
|
-
Generate Q-objects for EntityIdFunctions, and functions & actions in general
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
## [0.13.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.13.0...@odata2ts/odata2model@0.13.1) (2022-08-25)
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
### Bug Fixes
|
|
205
|
-
|
|
206
|
-
* always create errors with new operator ([#54](https://github.com/odata2ts/odata2ts/issues/54)) ([562dede](https://github.com/odata2ts/odata2ts/commit/562dede85d7ce276957a4b1683856d4adfee3ad1))
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
# [0.13.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.12.1...@odata2ts/odata2model@0.13.0) (2022-08-11)
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
### Code Refactoring
|
|
216
|
-
|
|
217
|
-
* **uri-builder:** composition over inheritance, proper interfaces ([#48](https://github.com/odata2ts/odata2ts/issues/48)) ([36c8a0a](https://github.com/odata2ts/odata2ts/commit/36c8a0a27dabfbcfbd2359d040dcda518615a4e0))
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
### Features
|
|
221
|
-
|
|
222
|
-
* **uri-builder:** V2 implementation of "expanding" method ([#49](https://github.com/odata2ts/odata2ts/issues/49)) ([e237c61](https://github.com/odata2ts/odata2ts/commit/e237c61710125daa6e7e6617ebf377304f1b5d89))
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
### BREAKING CHANGES
|
|
226
|
-
|
|
227
|
-
* **uri-builder:** It was possible to select nested props by using q-props (V2 only); this syntax has been removed and will be replaced by making use of the current V4 syntax: you first expand the property (method "expanding") and then select (or expand) on the expanded entity.
|
|
228
|
-
* **uri-builder:** ODataUriBuilder was removed from export, it might have served as base class but was of no other use.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
## [0.12.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.12.0...@odata2ts/odata2model@0.12.1) (2022-08-01)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
### Bug Fixes
|
|
238
|
-
|
|
239
|
-
* add imports for returnType & don't camel case function / action params ([#44](https://github.com/odata2ts/odata2ts/issues/44)) ([b46e4fd](https://github.com/odata2ts/odata2ts/commit/b46e4fdf5bd1566c03c8833daf1a7afcbb471d53))
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
# [0.12.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.11.2...@odata2ts/odata2model@0.12.0) (2022-08-01)
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
### Bug Fixes
|
|
249
|
-
|
|
250
|
-
* remove superfluous constructor from qObjects ([#41](https://github.com/odata2ts/odata2ts/issues/41)) ([f5f5623](https://github.com/odata2ts/odata2ts/commit/f5f56233eeadff584dc91c4a05c4d3d8196a7af3))
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
### Code Refactoring
|
|
254
|
-
|
|
255
|
-
* consistent casing for services, models and props ([#42](https://github.com/odata2ts/odata2ts/issues/42)) ([70e6e92](https://github.com/odata2ts/odata2ts/commit/70e6e92a888c67f65dadb643ed12ace692d2cc8a))
|
|
256
|
-
* use proper getMethods for services ([#43](https://github.com/odata2ts/odata2ts/issues/43)) ([e05c818](https://github.com/odata2ts/odata2ts/commit/e05c818f193711a161a34be8e7a4c3ba71572a75))
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
### Features
|
|
260
|
-
|
|
261
|
-
* createKey and parseKey for EntitySetService & correct V2 type prefixing ([#39](https://github.com/odata2ts/odata2ts/issues/39)) ([edd05bb](https://github.com/odata2ts/odata2ts/commit/edd05bbf7747ba280786c9ba274160ef274c030a))
|
|
262
|
-
* typing improvements & editable model versions ([#27](https://github.com/odata2ts/odata2ts/issues/27)) ([df290df](https://github.com/odata2ts/odata2ts/commit/df290dff953a9e37c64c39c18ffdec74ce1874d4))
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
### BREAKING CHANGES
|
|
266
|
-
|
|
267
|
-
* use proper getMethods for services "getXxxSrv()" instead of get accessors "xxx"
|
|
268
|
-
* consistent camel or pascal casing for services, models and props
|
|
269
|
-
|
|
270
|
-
* fix: always empty output dir before generating
|
|
271
|
-
* model has become a true query response model.
|
|
272
|
-
Properties which are nullable now allow null values instead of undefined;
|
|
273
|
-
complex types are never undefined, but can be nullable;
|
|
274
|
-
collections are never nullable.
|
|
275
|
-
V2 only: added deferred content typings for entity and entity collection properties.
|
|
276
|
-
|
|
277
|
-
* feat: generate EditableModels and use in service for create, update, and patch
|
|
278
|
-
* different signatures for all actions
|
|
279
|
-
|
|
280
|
-
* test: proper test for ModelImportContainer & dataModel.getEditableModelName
|
|
281
|
-
|
|
282
|
-
* test: proper test for DataModel
|
|
283
|
-
|
|
284
|
-
* refactor(odata2model): don't always combine handling of complex and entity types
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
## [0.11.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.11.1...@odata2ts/odata2model@0.11.2) (2022-07-20)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
### Bug Fixes
|
|
294
|
-
|
|
295
|
-
* guids in v2 have special syntax (guid'xxxx-...') ([#35](https://github.com/odata2ts/odata2ts/issues/35)) ([a551bcc](https://github.com/odata2ts/odata2ts/commit/a551bccf27dc7e8348020840402372582f9448e5))
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
## [0.11.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.11.0...@odata2ts/odata2model@0.11.1) (2022-07-11)
|
|
302
|
-
|
|
303
|
-
**Note:** Version bump only for package @odata2ts/odata2model
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
# [0.11.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.10.1...@odata2ts/odata2model@0.11.0) (2022-07-06)
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
### Features
|
|
313
|
-
|
|
314
|
-
* **odata2model:** actions & function on collection level ([#33](https://github.com/odata2ts/odata2ts/issues/33)) ([985b2dc](https://github.com/odata2ts/odata2ts/commit/985b2dc6ca443a73b3a4c877712199c23c5a75cb))
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
## [0.10.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.10.0...@odata2ts/odata2model@0.10.1) (2022-06-30)
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
### Bug Fixes
|
|
324
|
-
|
|
325
|
-
* add prebulish script to guarantee building before publishing ([b6986db](https://github.com/odata2ts/odata2ts/commit/b6986dbdb258b7b3cb8f36ab52ae1ff7b093f7dc))
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
# [0.10.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.9.0...@odata2ts/odata2model@0.10.0) (2022-06-30)
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
### Features
|
|
335
|
-
|
|
336
|
-
* use pascalCase for file names and allow to override serviceName ([#30](https://github.com/odata2ts/odata2ts/issues/30)) ([5aa1e44](https://github.com/odata2ts/odata2ts/commit/5aa1e44a32099d781649ffbed87daa85d0647f5f))
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
### BREAKING CHANGES
|
|
340
|
-
|
|
341
|
-
* new file names
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
# [0.9.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.8.2...@odata2ts/odata2model@0.9.0) (2022-05-21)
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
### Bug Fixes
|
|
353
|
-
|
|
354
|
-
* V2 function params as query params ([07a1f29](https://github.com/odata2ts/odata2ts/commit/07a1f294005b9af7f1ebadecd8978ffca7caa80f))
|
|
355
|
-
* **odata2model:** fix tests ([efd12bc](https://github.com/odata2ts/odata2ts/commit/efd12bcfb44b7522f3d5ff6c157acd8ca12f74cf))
|
|
356
|
-
* **odata2model:DataModel:** Duplicate keys when extending multiple times ([157aa13](https://github.com/odata2ts/odata2ts/commit/157aa13a1ffc765b90abdfd2824a4da5fd0729ec))
|
|
357
|
-
* **odata2model:test:** name northwind-v4 fixture correctly ([39e77f4](https://github.com/odata2ts/odata2ts/commit/39e77f46ea2de2fa381480d89e7c5551cd57d411))
|
|
358
|
-
* **test:** collect code coverage from src folders, thus exhibiting untested code ([3acef8b](https://github.com/odata2ts/odata2ts/commit/3acef8b83b2625579bbce4a967724e884c39c358))
|
|
359
|
-
* **test:** fix data-model tests ([b8abb8a](https://github.com/odata2ts/odata2ts/commit/b8abb8afe7dfdf4d940bb4cbc8d92575e0416087))
|
|
360
|
-
* **test:** make coverage test run again ([f2d360b](https://github.com/odata2ts/odata2ts/commit/f2d360bac59901bd056dab5755dcf66d66988af5))
|
|
361
|
-
* on windows ts-node needs cwd-mode flag ([4f3c0f5](https://github.com/odata2ts/odata2ts/commit/4f3c0f5da9257504f842ca7a51af31e0ef578018))
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
### Features
|
|
365
|
-
|
|
366
|
-
* integration tests for V2 (ODataV2 sample service) ([98bf0b8](https://github.com/odata2ts/odata2ts/commit/98bf0b8fc950337c970b408036d103c2c5934402))
|
|
367
|
-
* **odata2model:** FixtureComparator ignores [@ts-ignore](https://github.com/ts-ignore) ([b483ed5](https://github.com/odata2ts/odata2ts/commit/b483ed569394b3fb69c9b8d3904e377d2dc7a341))
|
|
368
|
-
* **odata2model:** move v4 tests & adapt expectations of fixtures ([2f84127](https://github.com/odata2ts/odata2ts/commit/2f841278397564ed1e815a8087068921628ec15e))
|
|
369
|
-
* **odata2model:** V2 service generation support ([2b17a01](https://github.com/odata2ts/odata2ts/commit/2b17a013d65fc12aac8315bc34bce441eb505870))
|
|
370
|
-
* **odata2model:Cli:** load config from file via cosmiconfig ([a490778](https://github.com/odata2ts/odata2ts/commit/a4907785b90a513f6a4c910e861d63e14139908b))
|
|
371
|
-
* **odata2model:Cli:** log file paths relative to working dir of process ([fc1ce86](https://github.com/odata2ts/odata2ts/commit/fc1ce86420858f72d87901435adccaba93280d8c))
|
|
372
|
-
* **test:** add run-cli integration test ([45a2da1](https://github.com/odata2ts/odata2ts/commit/45a2da1ede37c2734003b40eadafffbc8a82c14a))
|
|
373
|
-
* **test:** app test ([ad9d3f2](https://github.com/odata2ts/odata2ts/commit/ad9d3f2536828363ef153f54e31f3882089ee3a1))
|
|
374
|
-
* **test:** Builder for generating Edmx schemas in JSON ([227279a](https://github.com/odata2ts/odata2ts/commit/227279a5faed92a8befa86e5c893e8c6d48df5d6))
|
|
375
|
-
* **test:** FixtureComparator ([38b03bf](https://github.com/odata2ts/odata2ts/commit/38b03bf67019d45807c90f281bd935aa914f95e5))
|
|
376
|
-
* **test:** ProjectManager test without testing formatting including some refactorings ([8f666f3](https://github.com/odata2ts/odata2ts/commit/8f666f35b10fb2b2a29c62ec01778fb73e1ab789))
|
|
377
|
-
* **test:** same tests for model & qobject generation ([a4d882d](https://github.com/odata2ts/odata2ts/commit/a4d882da0bc6dd3c785d13d376b34245c82b0f4a))
|
|
378
|
-
* **test:** ServiceGenerator tests & fixes ([6a2c242](https://github.com/odata2ts/odata2ts/commit/6a2c24225d9f8b9197c8223e507cf75ba5b74307))
|
|
379
|
-
* **test:** test for ProjectManager (first draft) ([f705b0b](https://github.com/odata2ts/odata2ts/commit/f705b0bc29f4c848588a5c252ca22a5aebdefe0e))
|
|
380
|
-
* **test:** testing Model generation ([6d7c530](https://github.com/odata2ts/odata2ts/commit/6d7c53084758b23a3a4525bd9ee8bc5efb25e71e))
|
|
381
|
-
* **test:** Tests for DataModel and EDMX digestion ([5740292](https://github.com/odata2ts/odata2ts/commit/574029264fdf5af9dcd410108cd8aeb692fa623b))
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
* Feat/refactor query objects (#20) ([67b662a](https://github.com/odata2ts/odata2ts/commit/67b662a6da3344eb215b4f1276bf26464d2126f5)), closes [#20](https://github.com/odata2ts/odata2ts/issues/20)
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
### BREAKING CHANGES
|
|
388
|
-
|
|
389
|
-
* no EntityFactory anymore, no nominalized types in interfaces anymore, etc.
|
|
390
|
-
|
|
391
|
-
* refactor(qObjects): getEntity with prefix option; by default without prefix
|
|
392
|
-
|
|
393
|
-
* fix(qObjects): better QPath modelling
|
|
394
|
-
|
|
395
|
-
* refactor(uri-builder): only use QueryObjects for typing & remove QEntityModel stuff
|
|
396
|
-
|
|
397
|
-
* refactor(odata2model): generate new QObject classes
|
|
398
|
-
|
|
399
|
-
* refactor(service): services now require Model as well as QClass
|
|
400
|
-
|
|
401
|
-
* refactor(odata2model): generate services with new QObject classes
|
|
402
|
-
|
|
403
|
-
* fix(odata2model): fix integration tests
|
|
404
|
-
|
|
405
|
-
* fix: make int-tests for coverage task work again
|
|
406
|
-
|
|
407
|
-
* fix: skip run-cli tests (don't work on github)
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
## [0.8.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.8.1...@odata2ts/odata2model@0.8.2) (2021-10-12)
|
|
414
|
-
|
|
415
|
-
**Note:** Version bump only for package @odata2ts/odata2model
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
## [0.8.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.8.0...@odata2ts/odata2model@0.8.1) (2021-09-17)
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
### Bug Fixes
|
|
425
|
-
|
|
426
|
-
* **odata-service:** revert exposure of Unnominalized ([6ce4ea7](https://github.com/odata2ts/odata2ts/commit/6ce4ea779f3a83e67aa02d6d9213dcec2711df8a))
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
# [0.8.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.7.1...@odata2ts/odata2model@0.8.0) (2021-09-17)
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
### Bug Fixes
|
|
436
|
-
|
|
437
|
-
* fix test ([2144cca](https://github.com/odata2ts/odata2ts/commit/2144cca49cda81ecc929425ca4171d99446c1ee1))
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
### Code Refactoring
|
|
441
|
-
|
|
442
|
-
* **odata-service:** use odata names as param names ([73b130a](https://github.com/odata2ts/odata2ts/commit/73b130a06411e9e7bf030a3dd605d2bcaebf1d70))
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
### Features
|
|
446
|
-
|
|
447
|
-
* **odata2model:** unnominalize response values of actions / functions ([4f284fa](https://github.com/odata2ts/odata2ts/commit/4f284fab3782ca5deb47d0e1b8ab25f5a2fc2bb2))
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
### BREAKING CHANGES
|
|
451
|
-
|
|
452
|
-
* **odata-service:** param names of complex keys have changed
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
## [0.7.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.7.0...@odata2ts/odata2model@0.7.1) (2021-09-16)
|
|
459
|
-
|
|
460
|
-
**Note:** Version bump only for package @odata2ts/odata2model
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
# [0.7.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.6.0...@odata2ts/odata2model@0.7.0) (2021-08-31)
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
### Bug Fixes
|
|
470
|
-
|
|
471
|
-
* **odata2model:** correct typing for returned collection types ([3943f08](https://github.com/odata2ts/odata2ts/commit/3943f089a57e3f37e703f577096bf58d18dda0fa))
|
|
472
|
-
* **odata2model:** fix tests ([96556cd](https://github.com/odata2ts/odata2ts/commit/96556cd68aae86f2ac231925a49d7350a3670816))
|
|
473
|
-
* **service:** don't use nominal types for input; use string instead ([788dc5c](https://github.com/odata2ts/odata2ts/commit/788dc5c091e5d1e29e2cf9f44cf1485f65691a6b))
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
### Features
|
|
477
|
-
|
|
478
|
-
* map ID to id ([a0652fa](https://github.com/odata2ts/odata2ts/commit/a0652fa70617de2ce9de70d9b294532bce8c8b91))
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
# [0.6.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.5.0...@odata2ts/odata2model@0.6.0) (2021-08-17)
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
### Features
|
|
488
|
-
|
|
489
|
-
* **odata2model:** add emitMode to allow js and/or d.ts generation ([88e69ca](https://github.com/odata2ts/odata2ts/commit/88e69caff9d9b48f3f607f7f26d3d7d8d4449514))
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
# [0.5.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.4.0...@odata2ts/odata2model@0.5.0) (2021-08-16)
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
### Bug Fixes
|
|
499
|
-
|
|
500
|
-
* **odata2model:** add import for parameter types ([03f25f4](https://github.com/odata2ts/odata2ts/commit/03f25f406aa5f304eeef5f7a89cfda478eb05d2a))
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
### Features
|
|
504
|
-
|
|
505
|
-
* **odata2model:** add bound func/actions & add primitive collections ([c18daac](https://github.com/odata2ts/odata2ts/commit/c18daac8135f17e1554e65ff4c5f4a7a76b4886b))
|
|
506
|
-
* **odata2model:** check for missing type & throw error ([39cdd55](https://github.com/odata2ts/odata2ts/commit/39cdd55802afdcbc5846e4119a1696d236550009))
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
# [0.4.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.3.0...@odata2ts/odata2model@0.4.0) (2021-08-16)
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
### Bug Fixes
|
|
516
|
-
|
|
517
|
-
* more service tests, fix prop names vs odata names ([489b690](https://github.com/odata2ts/odata2ts/commit/489b69078144d3ed6a478373f7a22d8d923567ec))
|
|
518
|
-
* **odata2model:** fix path for main entity sets ([c8fba2a](https://github.com/odata2ts/odata2ts/commit/c8fba2a5053a69621539e9cf71f792795b786f3e))
|
|
519
|
-
* **odata2model:** wrong imort for service from root ([1de6eef](https://github.com/odata2ts/odata2ts/commit/1de6eef34dbc151c04dee91b119e59d3af28f94f))
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
### Features
|
|
523
|
-
|
|
524
|
-
* **odata2model:** add CollectionService, rework main service file ([026e999](https://github.com/odata2ts/odata2ts/commit/026e999c266a2f2a60807519a79a30f8eba98b08))
|
|
525
|
-
* **odata2model:** add jest & add dev and peer deps ([4076d1f](https://github.com/odata2ts/odata2ts/commit/4076d1fa64d64075722c3d137cf90ea31b587908))
|
|
526
|
-
* **odata2model:** add keySpec to EntitySets & implement get() ([500e576](https://github.com/odata2ts/odata2ts/commit/500e576a95206bb23985f7a24de3e2e054f9c084))
|
|
527
|
-
* **odata2model:** dataModel with fileNames, qNames, models with baseProps & baseKeys & qObjects(collections only) ([42d1630](https://github.com/odata2ts/odata2ts/commit/42d163013f8b273e54f7bf3549e4d5db7ba11386))
|
|
528
|
-
* **odata2model:** generate ModelServices & EntitySetService ([347bbbb](https://github.com/odata2ts/odata2ts/commit/347bbbb350b97689cb8b17844c200dc9e021ea0b))
|
|
529
|
-
* **odata2model:** introduce ImportContainer to organize imports ([6fab097](https://github.com/odata2ts/odata2ts/commit/6fab097b0e3286f07dcbde66b4648f965ec7e999))
|
|
530
|
-
* **odata2model:** parse functions & actions & entityContainer stuff into DataModel ([7fb9bb8](https://github.com/odata2ts/odata2ts/commit/7fb9bb8884696484d333e48f8e653f0b06fb760a))
|
|
531
|
-
* **odata2model:** realize new QEntityCollectionPath prop ([5eaf31a](https://github.com/odata2ts/odata2ts/commit/5eaf31a109058d9d0084c5a021ffad3b0b848c7a))
|
|
532
|
-
* **odata2model:** service gen for unbound funcs with params ([d7516da](https://github.com/odata2ts/odata2ts/commit/d7516dad3dc60d12bb885d3d7e9b52bc36a92b8f))
|
|
533
|
-
* **odata2model:** service generation for unbound parameterless functions ([2441aad](https://github.com/odata2ts/odata2ts/commit/2441aadc18941b866d7c702d5133f1d0743f1e0d))
|
|
534
|
-
* **odata2model:** setup ServiceGenerator ([8fbfffc](https://github.com/odata2ts/odata2ts/commit/8fbfffcbde532f1bcfba4d23bab64b80d9964717))
|
|
535
|
-
* **odata2model:** use dataModel.fileNames for app ([9487893](https://github.com/odata2ts/odata2ts/commit/9487893b233603ac6b4c7f581bb01a884cae475b))
|
|
536
|
-
* **service:** add singletons ([5695389](https://github.com/odata2ts/odata2ts/commit/56953890ab157bc50ab4eae9d48aeb98ebdb1951))
|
|
537
|
-
* **service:** init navProps via accessor instead of getter methods ([bb93f30](https://github.com/odata2ts/odata2ts/commit/bb93f304c06ff5e3e3e2ec1ce0ff27f884108feb))
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
# [0.3.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.2.1...@odata2ts/odata2model@0.3.0) (2021-08-10)
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
### Bug Fixes
|
|
547
|
-
|
|
548
|
-
* **odata2model:** give first schema priority ([8fed26f](https://github.com/odata2ts/odata2ts/commit/8fed26f570e2435548d959f069f28b7d5533351a))
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
### Code Refactoring
|
|
552
|
-
|
|
553
|
-
* QEntityModel without key spec ([913cd11](https://github.com/odata2ts/odata2ts/commit/913cd11df132969aca80054b2d1584bfe678a729))
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
### Features
|
|
557
|
-
|
|
558
|
-
* **odata2model:** add type knowledge for function, action, complex & singleton ([56f7e5f](https://github.com/odata2ts/odata2ts/commit/56f7e5fe7ec1c699bacd6ea12a6c54f43002aca5))
|
|
559
|
-
* **odata2model:** generate Enums & CollectionPaths & respect baseClasses for QObjects ([e9dfce5](https://github.com/odata2ts/odata2ts/commit/e9dfce5ba15d8d10e56c63c9c88674f6c6b5b2cb))
|
|
560
|
-
* **odata2model:** model gen with support for complex types, enum types ([f2d5b3b](https://github.com/odata2ts/odata2ts/commit/f2d5b3b020bb1fbe2d81753432bd54738a3f1e67))
|
|
561
|
-
* **odata2model:** support BaseType for entity & complex types ([20c5ab2](https://github.com/odata2ts/odata2ts/commit/20c5ab2890fd8482c8897033b628a32ad88d4f2f))
|
|
562
|
-
* **odata2model:** support complex types & primitive collections ([6481920](https://github.com/odata2ts/odata2ts/commit/64819204f711d7e84ba1d2f153d826721780750c))
|
|
563
|
-
* add sample requests covering trippin features ([2cc900f](https://github.com/odata2ts/odata2ts/commit/2cc900fa4344c98ee8a521f50b158e8e7cb96dcc))
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
### BREAKING CHANGES
|
|
567
|
-
|
|
568
|
-
* **odata2model:** qObjects are generated differently
|
|
569
|
-
* [query-objects]: QEntityModel without key spec & __collectionPath; [UrlBuilder]: path must be provided explicitly now for any entity set
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
## [0.2.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.2.0...@odata2ts/odata2model@0.2.1) (2021-07-23)
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
### Bug Fixes
|
|
579
|
-
|
|
580
|
-
* **odata2model:** respect suffix & prefix in relationships ([cc59d9f](https://github.com/odata2ts/odata2ts/commit/cc59d9f6b8e12a7a729dd297921f2f2c7be9fe50))
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
# [0.2.0](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.4...@odata2ts/odata2model@0.2.0) (2021-07-23)
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
### Features
|
|
590
|
-
|
|
591
|
-
* **odata2model:** add options for suffix & prefix ([d5d9a81](https://github.com/odata2ts/odata2ts/commit/d5d9a8186304954c4700a05b2cab47fccf86d63c))
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
## [0.1.4](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.3...@odata2ts/odata2model@0.1.4) (2021-07-08)
|
|
598
|
-
|
|
599
|
-
**Note:** Version bump only for package @odata2ts/odata2model
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
## [0.1.3](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.2...@odata2ts/odata2model@0.1.3) (2021-07-01)
|
|
606
|
-
|
|
607
|
-
**Note:** Version bump only for package @odata2ts/odata2model
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
## [0.1.2](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.1...@odata2ts/odata2model@0.1.2) (2021-07-01)
|
|
614
|
-
|
|
615
|
-
**Note:** Version bump only for package @odata2ts/odata2model
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
## [0.1.1](https://github.com/odata2ts/odata2ts/compare/@odata2ts/odata2model@0.1.0...@odata2ts/odata2model@0.1.1) (2021-07-01)
|
|
622
|
-
|
|
623
534
|
**Note:** Version bump only for package @odata2ts/odata2model
|