@frontastic/common 2.33.2 → 2.33.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,88 +1,96 @@
1
1
  # common Changelog
2
2
 
3
- ## `2.33.2` (2022-05-05)
3
+ ## `2.33.3` (2022-05-12)
4
+
5
+ * Add "Version" in the version heading
6
+ * Add p tag to avoid nextline
7
+ * Reformat the changelog
8
+ * Remove whitespace
9
+ * Prevent enum fields without values field to exist
10
+
11
+ ## Version 2.33.2 (2022-05-05)
4
12
 
5
13
  * fix(FP-1934): Pagination previous/nextCursor set to null on count 0.
6
14
 
7
- ## `2.33.1` (2022-04-21)
15
+ ## Version 2.33.1 (2022-04-21)
8
16
 
9
17
  * chore: re-run release process
10
18
 
11
- ## `2.33.0` (2022-04-21)
19
+ ## Version 2.33.0 (2022-04-21)
12
20
 
13
21
  * fix: add a missing @required statements
14
22
  * feat: enhance TypeScript map types
15
23
  * fix: correct type hints for translatable text
16
24
 
17
- ## `2.33.0` (2022-04-21)
25
+ ## Version 2.33.0 (2022-04-21)
18
26
 
19
27
  * fix: add a missing @required statements
20
28
  * feat: enhance TypeScript map types
21
29
  * fix: correct type hints for translatable text
22
30
 
23
- ## `2.32.0` (2022-04-13)
31
+ ## Version 2.32.0 (2022-04-13)
24
32
 
25
33
  * fix: rehused cart on api test order
26
34
  * fix: added salutaion to api test address.
27
35
  * feat(FP-840): included cart rawApiData when placing order in Shopware
28
36
 
29
- ## `2.31.2` (2022-04-11)
37
+ ## Version 2.31.2 (2022-04-11)
30
38
 
31
39
  * fix: Categories with same name are returned
32
40
 
33
- ## `2.31.1` (2022-04-08)
41
+ ## Version 2.31.1 (2022-04-08)
34
42
 
35
43
  * fix: prevent bc break on commercetools CartApi
36
44
 
37
- ## `2.31.0` (2022-04-07)
45
+ ## Version 2.31.0 (2022-04-07)
38
46
 
39
47
  * feat(FP-1794): extracted logic to validate cart status before checkout
40
48
 
41
- ## `2.30.1` (2022-04-07)
49
+ ## Version 2.30.1 (2022-04-07)
42
50
 
43
51
  * fix(FP-1794): consider only single successful payment as payment completed
44
52
  * fix(FP-1794): moved cart readines validation to isReadyForCheckout
45
53
  * fix(FP-1794): validated if cart is completed
46
54
 
47
- ## `2.30.0` (2022-04-05)
55
+ ## Version 2.30.0 (2022-04-05)
48
56
 
49
57
  * feat: allow field type dataSource in Classic as well
50
58
 
51
- ## `2.29.0` (2022-03-30)
59
+ ## Version 2.29.0 (2022-03-30)
52
60
 
53
61
  * feat(FP-1647): included machine region map in CustomerService
54
62
  * feat(FP-1647): implemented region selector base on customer config
55
63
 
56
- ## `2.28.2` (2022-03-29)
64
+ ## Version 2.28.2 (2022-03-29)
57
65
 
58
66
  * fix(FP-1694): checked mapped orders on default deprecated decorator
59
67
 
60
- ## `2.28.1` (2022-03-28)
68
+ ## Version 2.28.1 (2022-03-28)
61
69
 
62
70
  * fix(FP-1694): checked mapped orders on default decorators
63
71
 
64
- ## `2.28.0` (2022-03-22)
72
+ ## Version 2.28.0 (2022-03-22)
65
73
 
66
74
  * refactor(FP-1122): Make logic for handling single-attribute sorting the same as multi-attribute
67
75
  * feat(FP-1122): Add sort by custom attribute functionality to Algolia integration
68
76
 
69
- ## `2.27.1` (2022-03-17)
77
+ ## Version 2.27.1 (2022-03-17)
70
78
 
71
79
  * fix: fix issue from studio-deployment-branch
72
80
 
73
- ## `2.27.0` (2022-03-15)
81
+ ## Version 2.27.0 (2022-03-15)
74
82
 
75
83
  * feat(FP-1486): upgrade Shopify version to latest stable version 2022-01
76
84
 
77
- ## `2.26.0` (2022-03-10)
85
+ ## Version 2.26.0 (2022-03-10)
78
86
 
79
87
  * feat: add GraphCMS client factory
80
88
 
81
- ## `2.25.4` (2022-03-07)
89
+ ## Version 2.25.4 (2022-03-07)
82
90
 
83
91
  * misc: allowed ramsey/uuid library version ^4 as dependency
84
92
 
85
- ## `2.25.3` (2022-03-02)
93
+ ## Version 2.25.3 (2022-03-02)
86
94
 
87
95
  * fix(api-hub): replace content api with dummy for nextjs projects
88
96
  * fix(api-hub): replace wishlist api with dummy for nextjs
@@ -92,16 +100,16 @@
92
100
  * fix(api-hub): add dummy for AccountApi
93
101
  * fix(api-hub): fix syntax and add parameter to factory config
94
102
 
95
- ## `2.25.2` (2022-02-15)
103
+ ## Version 2.25.2 (2022-02-15)
96
104
 
97
105
  * fix(FP-775): Minor refactor, import of SprykerAddress
98
106
  * fix(FP-755): Fix Spryker address
99
107
 
100
- ## `2.25.1` (2022-01-27)
108
+ ## Version 2.25.1 (2022-01-27)
101
109
 
102
110
  * fix: if there's no filter chosen - the error reappears
103
111
 
104
- ## `2.25.0` (2022-01-24)
112
+ ## Version 2.25.0 (2022-01-24)
105
113
 
106
114
  * fix(FP-838): improved error handling on parse locator for Shopware
107
115
  * feat(FP-838): prevent update email, shipping address, or billing address on Shopware CartApi
@@ -115,17 +123,17 @@
115
123
  * feat(FP-838): upgrade add, update, and remove item to cart on Shopware CartApi
116
124
  * feat(FP-838): upgrade get anonymous cart and get cart by id on Shopware
117
125
 
118
- ## `2.24.0` (2022-01-05)
126
+ ## Version 2.24.0 (2022-01-05)
119
127
 
120
128
  * feat(FP-324): Include User-Agent Frontastic as part of API requests
121
129
 
122
- ## `2.23.0` (2021-12-16)
130
+ ## Version 2.23.0 (2021-12-16)
123
131
 
124
132
  * feat: Created method for CustomDataSourceValidation in the CustomDataSourceService
125
133
  * feat: Store the stream type for stream fields
126
134
  * feat: Introduced a special field configuration for stream fields
127
135
 
128
- ## `2.22.0` (2021-12-02)
136
+ ## Version 2.22.0 (2021-12-02)
129
137
 
130
138
  * feat(FP-1193): included rawApiImput on getProduct
131
139
  * feat(FP-581): refresh account after update address on Shopify
@@ -134,52 +142,51 @@
134
142
  * fix(FP-1193): added url schema simbols
135
143
  * feat!(FP-1193): upgrade and fix shopify version to 2021-10
136
144
 
137
- ## `2.21.1` (2021-11-30)
145
+ ## Version 2.21.1 (2021-11-30)
138
146
 
139
147
  * fix: make product price nullable in Algolia integration
140
148
 
141
- ## `2.21.0` (2021-10-26)
149
+ ## Version 2.21.0 (2021-10-26)
142
150
 
143
151
  * !feat(FP-646): implemented traceability strategy adding a correlation-id to all requests and responses
144
152
  * fix: Nested groups were not visited correctly in ConfigurationSchema.
145
153
 
146
- ## `2.20.1` (2021-10-21)
154
+ ## Version 2.20.1 (2021-10-21)
147
155
 
148
156
  * fix: return a 400 json response on type error of dynamic pages
149
157
 
150
- ## `2.20.0` (2021-10-11)
151
-
158
+ ## Version 2.20.0 (2021-10-11)
152
159
 
153
160
  * Catwalk version update
154
161
 
155
- ## `2.19.3` (2021-10-07)
162
+ ## Version 2.19.3 (2021-10-07)
156
163
 
157
164
  * fix(api-hub): disable deprecation notice in prod
158
165
  * fix(api-hub): only output deprecation notice in non-prod-env
159
166
  * fix: Keep old previewUrl config working properly
160
167
  * feat: Allow for different view and endpoint URLs for preview
161
168
 
162
- ## `2.19.2` (2021-09-23)
169
+ ## Version 2.19.2 (2021-09-23)
163
170
 
164
171
  * Always use plain json_decode for decoding CT responses
165
172
 
166
- ## `2.19.1` (2021-09-09)
173
+ ## Version 2.19.1 (2021-09-09)
167
174
 
168
175
  * fix(FP-980): validated result to catch no active carts in Shopify
169
176
 
170
- ## `2.19.0` (2021-09-08)
177
+ ## Version 2.19.0 (2021-09-08)
171
178
 
172
179
  * fix: Keep unknown field values in completed configuration fields.
173
180
 
174
- ## `2.18.2` (2021-09-04)
181
+ ## Version 2.18.2 (2021-09-04)
175
182
 
176
183
  * fix: Handle documentary fields properly.
177
184
 
178
- ## `2.18.1` (2021-09-03)
185
+ ## Version 2.18.1 (2021-09-03)
179
186
 
180
- * chore: bumped version required of frontastic/catwalk to 1.17
187
+ * chore: bumped version required of frontastic/catwalk to 1.17
181
188
 
182
- ## `2.18.0` (2021-09-03)
189
+ ## Version 2.18.0 (2021-09-03)
183
190
 
184
191
  * feat(FP-935): Submit current field path to visitors.
185
192
  * feat(fp-935): Fixed potential construction issue through `new static()`
@@ -198,16 +205,16 @@
198
205
  * feat(fp-935): Migrated more tests to code lang independent format.
199
206
  * feat(fp-935): Extracted first config tests into code independant format.
200
207
 
201
- ## `2.17.2` (2021-08-26)
208
+ ## Version 2.17.2 (2021-08-26)
202
209
 
203
210
  * fix(FP-932): modified array key validation
204
211
  * feat(FP-932): mapped missing variant properties in Algolia
205
212
 
206
- ## `2.17.1` (2021-08-26)
213
+ ## Version 2.17.1 (2021-08-26)
207
214
 
208
215
  * chore: bumped version required of frontastic/catwalk to 1.16
209
216
 
210
- ## `2.17.0` (2021-08-26)
217
+ ## Version 2.17.0 (2021-08-26)
211
218
 
212
219
  * feat(FP-932): get default language from project config in Algolia
213
220
  * feat(FP-932): set algolia library as suggested on composer
@@ -229,15 +236,15 @@
229
236
  * feat(FP-932): use key label structure for Attributes values
230
237
  * feat(FP-932): implemented getSearchAttributes for Algolia
231
238
 
232
- ## `2.16.2` (2021-08-19)
239
+ ## Version 2.16.2 (2021-08-19)
233
240
 
234
241
  * Revert "fix: adds frontasticBasicAuthPassword to exclude list"
235
242
 
236
- ## `2.16.1` (2021-08-17)
243
+ ## Version 2.16.1 (2021-08-17)
237
244
 
238
245
  * fix: adds frontasticBasicAuthPassword to exclude list
239
246
 
240
- ## `2.16.0` (2021-08-04)
247
+ ## Version 2.16.0 (2021-08-04)
241
248
 
242
249
  * feat(FP-839): used integer for price filters
243
250
  * feat(FP-839): included price filter and facets on Shopware
@@ -248,11 +255,11 @@
248
255
  * feat(FP-839): get group from common groupId field
249
256
  * fix(FP-839): reused client request for both queries
250
257
 
251
- ## `2.15.0` (2021-07-29)
258
+ ## Version 2.15.0 (2021-07-29)
252
259
 
253
260
  * feat: enhancing tideways logging for GraphCMS adding Cache status header as well as RequestId
254
261
 
255
- ## `2.14.0` (2021-07-20)
262
+ ## Version 2.14.0 (2021-07-20)
256
263
 
257
264
  * feat(FP-837): set API test credential for Shopware 6.4
258
265
  * feat(FP-837): used php comparation for API version on Shopware
@@ -266,28 +273,28 @@
266
273
  * feat(FP-837): handle elements and data fiels on Account and Project mappers on Shopware
267
274
  * feat(FP-837): upgraded project config endpoints to store-api on Shopware
268
275
 
269
- ## `2.13.4` (2021-07-13)
276
+ ## Version 2.13.4 (2021-07-13)
270
277
 
271
278
  * fix: strip API version on Shopware store-api
272
279
  * chore: replaced authToken by apiToken on Shopify
273
280
  * chore: replaced authToken by apiToken on Spryker
274
281
 
275
- ## `2.13.3` (2021-07-08)
282
+ ## Version 2.13.3 (2021-07-08)
276
283
 
277
284
  * fix(FP-830): replaced authToken by apiToken on Shopware
278
285
  * feat: deprecated authToken in favor of apiToken.
279
286
  * fix: specify api version on Shopware
280
287
 
281
- ## `2.13.2` (2021-07-06)
288
+ ## Version 2.13.2 (2021-07-06)
282
289
 
283
290
  * fix(FP-830): keep authToken on refresh account for Shopware
284
291
 
285
- ## `2.13.1` (2021-07-01)
292
+ ## Version 2.13.1 (2021-07-01)
286
293
 
287
294
  * refactor: set Spryker cart test credentials as generic
288
295
  * fix: Allow empty local to be parsed on Spryker
289
296
 
290
- ## `2.13.0` (2021-06-23)
297
+ ## Version 2.13.0 (2021-06-23)
291
298
 
292
299
  * chore(FT-731): removed unnecessary array_merge
293
300
  * feat(FP-731): login customer after reset account password on Shopware
@@ -297,36 +304,36 @@
297
304
  * feat(FP-731): refresed account base on email on Shopware
298
305
  * feat(FP-731): implemented account creation and confirmation on Shopware
299
306
 
300
- ## `2.12.0` (2021-06-15)
307
+ ## Version 2.12.0 (2021-06-15)
301
308
 
302
309
  * feat: Added Ganesha based curcuit breaker for our HTTP client stack
303
310
 
304
- ## `2.11.10` (2021-06-14)
311
+ ## Version 2.11.10 (2021-06-14)
305
312
 
306
313
  * chore: increased symfony minor version
307
314
  * fix: implemented AccountApi::getSalutations on Shopware
308
315
 
309
- ## `2.11.9` (2021-05-28)
316
+ ## Version 2.11.9 (2021-05-28)
310
317
 
311
318
  * fix(FP-728): keeped original and masterData as dangerousInner on Commercetools
312
319
 
313
- ## `2.11.8` (2021-05-28)
320
+ ## Version 2.11.8 (2021-05-28)
314
321
 
315
322
  * fix: validated relations before map them in Spryker
316
323
  * fix: remove scope from client call
317
324
  * fix: implemented CartApi::setShippingMethod on Shopware integration
318
325
 
319
- ## `2.11.7` (2021-05-18)
326
+ ## Version 2.11.7 (2021-05-18)
320
327
 
321
328
  * fix(FP-709): moved cart validation to Shopware integration
322
329
  * fix(FP-709): included addresses and email into cart on Spryker
323
330
  * fix(FP-709): moved cart validation to Commercetools integration
324
331
 
325
- ## `2.11.6` (2021-05-13)
332
+ ## Version 2.11.6 (2021-05-13)
326
333
 
327
334
  * fix(FP-691): returned empty response if content by id is query on GraphCMS
328
335
 
329
- ## `2.11.5` (2021-05-11)
336
+ ## Version 2.11.5 (2021-05-11)
330
337
 
331
338
  * fix(FP-695): validated empty nodes before access data in Shopify
332
339
  * feat(backstage): latest terminology typo fix
@@ -335,16 +342,16 @@
335
342
  * feat(backstage): latest copy updates
336
343
  * feat: tastics term in studio
337
344
 
338
- ## `2.11.4` (2021-04-29)
345
+ ## Version 2.11.4 (2021-04-29)
339
346
 
340
347
  * fix(FP-624): moved variant SKU method to Shopify integration
341
348
  * fix(FP-624): validated product returned when filtered by SKUs in Shopify
342
349
 
343
- ## `2.11.3` (2021-04-29)
350
+ ## Version 2.11.3 (2021-04-29)
344
351
 
345
352
  * misc: Tests for CustomerService.
346
353
 
347
- ## `2.11.2` (2021-04-27)
354
+ ## Version 2.11.2 (2021-04-27)
348
355
 
349
356
  * fix(FP-645): included host and status code to Contentful logs
350
357
  * fix(FP-645): decorated Contentful client to enhance logger
@@ -352,93 +359,93 @@
352
359
  * fix(FP-645): set default timeout and logger on Contentful client
353
360
  * fix: Find version manually
354
361
 
355
- ## `2.11.1` (2021-04-22)
362
+ ## Version 2.11.1 (2021-04-22)
356
363
 
357
364
  * fix: Fix the /api/version SystemController to use version parameter bag
358
365
  * fix: Fix the /api/version SystemController parameter bag
359
366
 
360
- ## `2.11.0` (2021-04-20)
367
+ ## Version 2.11.0 (2021-04-20)
361
368
 
362
369
  * feat(FP-617): exposed authorization url on project config for commercetools
363
370
 
364
- ## `2.10.13` (2021-04-13)
371
+ ## Version 2.10.13 (2021-04-13)
365
372
 
366
373
  * fix: fixed unit test for Content
367
374
  * fix(606): included Content slug on GraphCMS
368
375
  * fix(606): validate content attribute key before fetch
369
376
  * misc: included API test to place order for logged in user
370
377
 
371
- ## `2.10.12` (2021-04-08)
378
+ ## Version 2.10.12 (2021-04-08)
372
379
 
373
380
  * fix(FP-567): handle client exceptions and skip Union types
374
381
  * fix(FP-363): Shopify API, use existing account with token and remove returned address on create
375
382
  * fix(FP-363): API to add address on customer create and unit tests for create update adjustment
376
383
 
377
- ## `2.10.11` (2021-03-30)
384
+ ## Version 2.10.11 (2021-03-30)
378
385
 
379
386
  * fix: Remove phpcpd from all projects
380
387
 
381
- ## `2.10.10` (2021-03-23)
388
+ ## Version 2.10.10 (2021-03-23)
382
389
 
383
390
  * fix(FP-96): migrated and updated implementation for shipping methods on Shopware
384
391
  * fix(FP-84): used alias on category facet and set missing definition
385
392
  * fix: Use proper AccessDeniedException
386
393
 
387
- ## `2.10.9` (2021-03-10)
394
+ ## Version 2.10.9 (2021-03-10)
388
395
 
389
396
  * fix(FP-458): used config from engine and include query as part of Result
390
397
  * chore(FP-458): removed unused max offset
391
398
  * fix(FP-458): exposed max offset in project.yml and validated before query
392
399
  * fix(FP-458): created maximum offset and validate Product queries againts it on Commercetools
393
400
 
394
- ## `2.10.8` (2021-03-09)
401
+ ## Version 2.10.8 (2021-03-09)
395
402
 
396
403
  * chore(FP-447): improved documentation and log messages
397
404
  * fix(FP-447): throw and handle Cart not active exception
398
405
  * fix(FP-447): get existing cart for logged in customer in Shopify
399
406
 
400
- ## `2.10.7` (2021-03-04)
407
+ ## Version 2.10.7 (2021-03-04)
401
408
 
402
409
  * fix(FP-447): cart regenerated if is already completed on Shopify
403
410
  * fix: validate version and category index before map
404
411
 
405
- ## `2.10.6` (2021-03-02)
412
+ ## Version 2.10.6 (2021-03-02)
406
413
 
407
414
  * fix(FP-249): added address on account creation for Commercetools
408
415
 
409
- ## `2.10.5` (2021-03-01)
416
+ ## Version 2.10.5 (2021-03-01)
410
417
 
411
418
  * fix(FP-395): implemented build query for next page and calculate last (#623)
412
419
  * fix: fix E_NOTICE on product not found
413
420
 
414
- ## `2.10.4` (2021-02-25)
421
+ ## Version 2.10.4 (2021-02-25)
415
422
 
416
423
  * fix: stan errors
417
424
 
418
- ## `2.10.3` (2021-02-23)
425
+ ## Version 2.10.3 (2021-02-23)
419
426
 
420
427
  * fix(FP-389): included discounts on LineItems and mapped data for Commercetools
421
428
  * fix: removed decoded exceptions in favor of fallback on php native decoder
422
429
 
423
- ## `2.10.2` (2021-02-19)
430
+ ## Version 2.10.2 (2021-02-19)
424
431
 
425
432
  * fix: removed cartApi extra argument from BaseImplementationAdapterV2
426
433
 
427
- ## `2.10.1` (2021-02-19)
434
+ ## Version 2.10.1 (2021-02-19)
428
435
 
429
436
  * fix(FP-364): fixed unit test inlcuding dangerousInnerShippingMethod to expected data
430
437
  * fix(FP-364): extended shipping method query and map localization zone
431
438
 
432
- ## `2.10.0` (2021-02-18)
439
+ ## Version 2.10.0 (2021-02-18)
433
440
 
434
441
  * feat(FP-81): included documentation of rawApiInput fields from Commercetools on Wishlist
435
442
  * fix(FP-335): extended Wishlist from ApiDataObject
436
443
  * feat(FP-81): included documentation of rawApiInput fields from Commercetools
437
444
  * Feat: JavaScript based Decorators
438
445
 
439
- ## `1.9.5` (2021-02-18)
446
+ ## Version 1.9.5 (2021-02-18)
440
447
 
441
- ## `2.9.0` (2021-02-16)
448
+ ## Version 2.9.0 (2021-02-16)
442
449
 
443
450
  * fix(FP-323): mapped discount for product discounts
444
451
  * fix: added attributes response on after event for getSearchableAttributes
@@ -446,41 +453,42 @@
446
453
  * fix: used ContentApi instead of WishlistApi as aggreageted on LifecycleEventDecorator
447
454
  * feat: included BaseImplementation for ProductSearchApi and deprecated duplicated methods in ProductApi
448
455
 
449
- ## `2.8.0` (2021-02-11)
456
+ ## Version 2.8.0 (2021-02-11)
450
457
 
451
458
  * feat: Update ShopifyCartApi.php
452
459
  * feat: add compareAtPriceV2 on Shopify product variants
453
460
 
454
- ## `2.7.2` (2021-02-11)
461
+ ## Version 2.7.2 (2021-02-11)
455
462
 
456
463
  * fix: Return empty array to unblock the customer
457
464
 
458
- ## `2.7.1` (2021-02-02)
465
+ ## Version 2.7.1 (2021-02-02)
459
466
 
460
467
  * chore: included the conflict version with catwalk on common/composer.json
461
468
 
462
- ## `2.7.0` (2021-02-02)
469
+ ## Version 2.7.0 (2021-02-02)
463
470
 
464
471
  * !feat(fp-90) catwalk controllers (#580)
465
472
  * feat: included shipping info id for CommerceTools
466
473
 
467
- ## `2.6.1` (2021-01-27)
474
+ ## Version 2.6.1 (2021-01-27)
468
475
 
469
476
  * fix: removed shipping or billing fields dependency to set shippingMethodName
470
477
  * fix(FP-150): returned ShippingMethod in getAvailableShippingMethods for Shopify
471
478
 
472
- ## `2.6.0` (2021-01-20)
479
+ ## Version 2.6.0 (2021-01-20)
473
480
 
474
481
  * feat(FT-545): implemented shipping methods for a given cart on Spryker
475
482
 
476
- ## `2.5.1` (2021-01-20)
483
+ ## Version 2.5.1 (2021-01-20)
477
484
 
478
485
  * fix: Missed adaption to OrderIdGeneratorV2.
479
486
  * feat(FT-590): upgrade Shopify version on API test and include SEO fields on product
480
487
 
481
- ## `2.5.0` (2021-01-18)
488
+ ## Version 2.5.0 (2021-01-18)
482
489
 
483
- * fix(563): revert change to tests and add typecasting into Spryker CatalogSearchQuery to ensure that categoryId will be an int
490
+ * fix(563): revert change to tests and add typecasting into Spryker CatalogSearchQuery to ensure that categoryId will be
491
+ an int
484
492
  * feat: included metafields on Shopify product variants
485
493
  * feat(FT-581): mapped rates and locations on ShippingRates for Commercetools
486
494
  * fix: Consistency for toString() methods on ProductApi\Locale.
@@ -495,7 +503,7 @@
495
503
  * feat(cart-defaults): Options for CommerceTools cart defaults.
496
504
  * feat(CartFetcher): CartFetcher as unified entrance to loading a cart.
497
505
 
498
- ## `2.4.0` (2021-01-14)
506
+ ## Version 2.4.0 (2021-01-14)
499
507
 
500
508
  * feat(cart-defaults): Options for CommerceTools cart defaults.
501
509
  * feat(FT-506): implemented setEmail for Spryker
@@ -503,26 +511,27 @@
503
511
  * fix(FT-563): add if-else condition depending on current customer to change behavior for Spryker
504
512
  * feat(FT-457): included Shopify product images to each variant
505
513
 
506
- ## `2.3.0` (2021-01-06)
514
+ ## Version 2.3.0 (2021-01-06)
507
515
 
508
516
  * feat(FT-544): implemented cart available shipping methods
509
517
  * fix(shopify): mapped variant stock from quantityAvailable and included availableForSale
510
518
  * feat(FT-470): Mapped shipping discounted price when present
511
519
 
512
- ## `2.2.1` (2020-12-18)
520
+ ## Version 2.2.1 (2020-12-18)
513
521
 
514
522
  * fix: removed extra comma at the end of parameter list
515
523
 
516
- ## `2.2.0` (2020-12-18)
524
+ ## Version 2.2.0 (2020-12-18)
517
525
 
518
526
  * fix: added missing default language
519
527
  * feat(FT-532): extracted Wishlist Api interface
520
528
  * feat(FT-532): extracted Cart Api interface
521
529
  * feat(FT-532): extracted Account Api interface
522
- * fix(FT-540): make defaultLanguage in Spryker Product Search API bundle non-nullable, but make localeString in parseLocaleString nullable
530
+ * fix(FT-540): make defaultLanguage in Spryker Product Search API bundle non-nullable, but make localeString in
531
+ parseLocaleString nullable
523
532
  * fix(FT-540): Fix SprykerProductSearchApi, add usage of forLanguage to have locale included into products search
524
533
 
525
- ## `2.1.0` (2020-12-14)
534
+ ## Version 2.1.0 (2020-12-14)
526
535
 
527
536
  * Fix missing namespace
528
537
  * Update json calls around wrapper
@@ -542,7 +551,7 @@
542
551
  * fix: Remaining dependencies to work with common 2.0
543
552
  * fix: Set composer platform to PHP 7.4
544
553
 
545
- ## `2.0.0` (2020-11-27)
554
+ ## Version 2.0.0 (2020-11-27)
546
555
 
547
556
  * feat(tax): included tax class and implementation fro Commercetools
548
557
  * feat!(ShippingMethod): API enhancement for fetching shipping methods. (#420)
@@ -566,14 +575,14 @@
566
575
  * feat(shopify): included descriptionHtml and images to Product query
567
576
  * feat(ApiBase): implemented CartApiBase on Spryker
568
577
 
569
- ## `1.1.20` (2020-11-26)
578
+ ## Version 1.1.20 (2020-11-26)
570
579
 
571
580
  * fix: Correct bundle references
572
581
  * refactor: removed duplicated tests
573
582
  * [FT-442] Migrate DataObjects to ApiDataObjects
574
583
  * fix: set right test name on AnonymousCart
575
584
 
576
- ## `1.1.19` (2020-11-13)
585
+ ## Version 1.1.19 (2020-11-13)
577
586
 
578
587
  * chore: Built release 2020.11.13.11.34
579
588
  * fix(shopify): Used lowecase for variant attributes
@@ -589,7 +598,7 @@
589
598
  * fix(shopware): Commented invalid attributes for Shopware v2 and v3
590
599
  * feat(shopify): Implemented facet filters for tags and product types
591
600
 
592
- ## `1.1.18` (2020-11-04)
601
+ ## Version 1.1.18 (2020-11-04)
593
602
 
594
603
  * fix(spryker): Included abstract decription
595
604
  * fix(spryker): Counted items returned
@@ -599,7 +608,7 @@
599
608
  * fix(spryker): Removed mapImages overwrited implementation
600
609
  * fix(spryker): Set valid variant sku
601
610
 
602
- ## `1.1.17` (2020-10-30)
611
+ ## Version 1.1.17 (2020-10-30)
603
612
 
604
613
  * fix(spryker): Returned orignal account if not possible to be refreshed with no authToken
605
614
  * fix: don't enforce tax category in Commercetools
@@ -607,7 +616,7 @@
607
616
  * fix(spryker): Removed verifyEmail as non part of AccountAPI abstraction
608
617
  * fix(spryker): Returned email as part of reset account
609
618
 
610
- ## `1.1.16` (2020-10-16)
619
+ ## Version 1.1.16 (2020-10-16)
611
620
 
612
621
  * fix(productSearchApi): Remove URL decoding for Findologic provided URLs
613
622
  * fix(productSearchApi): Remove redundant code from FindologicClientFactory
@@ -624,12 +633,12 @@
624
633
  * fix: Only set fetch_format when needed
625
634
  * chore: Extracted common webspocket code
626
635
 
627
- ## `1.1.15` (2020-10-13)
636
+ ## Version 1.1.15 (2020-10-13)
628
637
 
629
638
  * fix: Do not cast null values in media library to numeric
630
639
  * fix: Set whislist as not implemented for Shopify
631
640
 
632
- ## `1.1.14` (2020-10-07)
641
+ ## Version 1.1.14 (2020-10-07)
633
642
 
634
643
  * fix(shopify): Used only SKU values on variant.sku mapping
635
644
  * fix: Import deprecate helper in a way it also works in tests
@@ -721,7 +730,7 @@
721
730
  * Fixed type hint
722
731
  * Flagged types
723
732
 
724
- ## `1.1.13` (2020-10-02)
733
+ ## Version 1.1.13 (2020-10-02)
725
734
 
726
735
  * fix: Removed cartId validation on testAPI
727
736
  * chore: Refactored withCurrency method as appendCurrencyToUrl
@@ -805,23 +814,23 @@
805
814
  * Fixed type hint
806
815
  * Flagged types
807
816
 
808
- ## `1.1.12` (2020-10-01)
817
+ ## Version 1.1.12 (2020-10-01)
809
818
 
810
819
  * feat: Shopify CartApi & AccountApi
811
820
 
812
- ## `1.1.11` (2020-09-17)
821
+ ## Version 1.1.11 (2020-09-17)
813
822
 
814
823
  * feat!: Use the product search API
815
824
  * feat: Add ShopifyProductSearchApi
816
825
  * feat: Call product event listeners
817
826
  * chore: Extracted common webspocket code
818
827
 
819
- ## `1.1.10` (2020-09-15)
828
+ ## Version 1.1.10 (2020-09-15)
820
829
 
821
830
  * Regenerated API documentation
822
831
  * Generated TypeScript types for catwalk & common domain models
823
832
 
824
- ## `1.1.9` (2020-09-11)
833
+ ## Version 1.1.9 (2020-09-11)
825
834
 
826
835
  * Implement localization and include Product filter by language
827
836
  * add Spryker product search API
@@ -836,7 +845,7 @@
836
845
  * Build cloudinary URLs ourselves
837
846
  * Add FindologicBundle
838
847
 
839
- ## `1.1.8` (2020-08-24)
848
+ ## Version 1.1.8 (2020-08-24)
840
849
 
841
850
  * chore(shopify integration): Included pagination documentation
842
851
  * fix(shopify integration): Updated Api test to use cursor based pagination
@@ -903,19 +912,19 @@
903
912
  * feat(spryker integration): Impleted WoohooLabs ResourceObject to handle Api response content
904
913
  * feat(spryker integration): Included raw api output as part of Http/Response
905
914
 
906
- ## `1.1.5` (2020-08-05)
915
+ ## Version 1.1.5 (2020-08-05)
907
916
 
908
917
  * fix: Restore (again) missing CHANGELOG.md in common
909
918
 
910
- ## `1.1.4` (2020-08-05)
919
+ ## Version 1.1.4 (2020-08-05)
911
920
 
912
921
  * fix: Restore missing CHANGELOG.md in common
913
922
 
914
- ## `1.1.3` (2020-08-05)
923
+ ## Version 1.1.3 (2020-08-05)
915
924
 
916
925
  * Fixed release script
917
926
 
918
- ## `1.1.2` (2020-08-05)
927
+ ## Version 1.1.2 (2020-08-05)
919
928
 
920
929
  * fix: Use readlink instead of realpath to work on mac
921
930
  * Enable tideways for sparhandy and fix check in setup handle
@@ -930,12 +939,13 @@
930
939
  * feat(boost-theme): theming - next phase
931
940
  * chore(frontasticli): Add github action for releasing
932
941
  * fix(boost-theme): custom hook and some photo scaling
933
- * fix(boost-theme): custom hook and some photo scaling (solution for now, until we get more customized photos from commerce tools)
942
+ * fix(boost-theme): custom hook and some photo scaling (solution for now, until we get more customized photos from
943
+ commerce tools)
934
944
  * chore: removing customers that have github actions by now
935
945
  * chore: enabling teams hook for Apollo and disabling Slack
936
946
  * chore: Remove orphan DI tag frontastic.common.api_integration.
937
947
 
938
- ## `1.1.1` (2020-07-30)
948
+ ## Version 1.1.1 (2020-07-30)
939
949
 
940
950
  * fix: Logger is still unavailable in container.
941
951
  * chore: Removed FactoryServiceLocator from libraries/common.
@@ -977,9 +987,8 @@
977
987
  * Expose additional category filter properties
978
988
  * Added field `state` and mapping for CommerceTools in `Address`.
979
989
 
980
- ## `1.1.0` (2020-07-30)
981
-
982
- ## `1.0.0` (2020-05-27)
990
+ ## Version 1.1.0 (2020-07-30)
983
991
 
992
+ ## Version 1.0.0 (2020-05-27)
984
993
 
985
994
  * Initial stable release
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.33.2",
4
+ "version": "2.33.3",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.33.2",
3
+ "version": "2.33.3",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",
@@ -51,9 +51,22 @@
51
51
  "tree"
52
52
  ]
53
53
  }
54
- }
54
+ },
55
+ "anyOf": [
56
+ {
57
+ "not": {
58
+ "properties": {
59
+ "type": {
60
+ "enum": ["enum"]
61
+ }
62
+ },
63
+ "required": ["type"]
64
+ }
65
+ },
66
+ { "required": ["values"] }
67
+ ]
55
68
  },
56
- {"$ref": "#/definitions/field"}
69
+ { "$ref": "#/definitions/field" }
57
70
  ]
58
71
  },
59
72
  {
@@ -66,7 +79,7 @@
66
79
  }
67
80
  }
68
81
  },
69
- {"$ref": "#/definitions/group"}
82
+ { "$ref": "#/definitions/group" }
70
83
  ]
71
84
  },
72
85
  {
@@ -79,7 +92,7 @@
79
92
  }
80
93
  }
81
94
  },
82
- {"$ref": "#/definitions/tastic"}
95
+ { "$ref": "#/definitions/tastic" }
83
96
  ]
84
97
  },
85
98
  {
@@ -92,7 +105,7 @@
92
105
  }
93
106
  }
94
107
  },
95
- {"$ref": "#/definitions/image"}
108
+ { "$ref": "#/definitions/image" }
96
109
  ]
97
110
  },
98
111
  {
@@ -105,13 +118,14 @@
105
118
  }
106
119
  }
107
120
  },
108
- {"$ref": "#/definitions/description"}
121
+ { "$ref": "#/definitions/description" }
109
122
  ]
110
123
  }
111
124
  ]
112
125
  }
113
126
  },
114
127
 
128
+
115
129
  "field": {
116
130
  "type": "object",
117
131
  "properties": {
@@ -178,7 +192,7 @@
178
192
  "type": "string"
179
193
  }
180
194
  },
181
- "required": ["field", "type", "label"]
195
+ "required": ["type", "label", "field"]
182
196
  },
183
197
  "group": {
184
198
  "type": "object",