@lana-commerce/core 12.0.0-alpha.4 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +47 -39
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning][semantic versioning].
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Major Changes
10
+ ### Minor Changes
11
+ ### Patch Changes
12
+
13
+ ## [Released]
14
+
15
+ ## 12.0.0 (2024-07-18)
16
+
9
17
  ### Major Changes
10
18
 
11
19
  - Add new helper class PinInput. Refactor SixDigitInput to use it. Note that SixDigitInput's property is now called "onEnteredAllDigits" instead of "onEnteredSixDigits".
@@ -24,7 +32,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
24
32
 
25
33
  - Add missing "children" prop to RootCloseWrapper.
26
34
 
27
- ## [Released]
35
+ ------------------------------------------------------------------------------------------------------------------
28
36
 
29
37
  ## 11.0.0 (2024-05-14)
30
38
 
@@ -61,7 +69,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
61
69
  - Add support for tips (ui.js script loader).
62
70
  - Add "filterFunc" lib.
63
71
 
64
- ---
72
+ ------------------------------------------------------------------------------------------------------------------
65
73
 
66
74
  ## 10.0.0 (2023-06-13)
67
75
 
@@ -106,7 +114,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
106
114
  - Customer info loading process no longer contributes to customer module's "somethingIsPending" store.
107
115
  - Create return page (customer module) ignores some errors on init now, this helps with the case when no return policies were found.
108
116
 
109
- ---
117
+ ------------------------------------------------------------------------------------------------------------------
110
118
 
111
119
  ## 9.0.0 (2023-01-27)
112
120
 
@@ -126,7 +134,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
126
134
  - Add "uploadFileGeneric".
127
135
  - Add "iterAllItems", kind of like "fetchAllItems", but as async iterator. Also add these for JSON API.
128
136
 
129
- ---
137
+ ------------------------------------------------------------------------------------------------------------------
130
138
 
131
139
  ## 8.4.0 (2022-11-28)
132
140
 
@@ -134,7 +142,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
134
142
 
135
143
  - Add "commerce" flag to GraphQLOpts. Useful if you want to use "request" lib against default commerce API endpoint.
136
144
 
137
- ---
145
+ ------------------------------------------------------------------------------------------------------------------
138
146
 
139
147
  ## 8.3.0 (2022-11-25)
140
148
 
@@ -142,7 +150,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
142
150
 
143
151
  - Add "error" and "error_count" fields to subscription graphql fragment.
144
152
 
145
- ---
153
+ ------------------------------------------------------------------------------------------------------------------
146
154
 
147
155
  ## 8.2.0 (2022-11-24)
148
156
 
@@ -150,7 +158,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
150
158
 
151
159
  - Bump deps and regenerate graphql types. Adds "too_many_subscriptions" order line item error.
152
160
 
153
- ---
161
+ ------------------------------------------------------------------------------------------------------------------
154
162
 
155
163
  ## 8.1.0 (2022-11-24)
156
164
 
@@ -158,7 +166,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
158
166
 
159
167
  - Bump deps and regenerate graphql types. Adds "pending_payment" state to subscriptions.
160
168
 
161
- ---
169
+ ------------------------------------------------------------------------------------------------------------------
162
170
 
163
171
  ## 8.0.0 (2022-11-21)
164
172
 
@@ -179,7 +187,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
179
187
  - A fix in internal customer model logic. It should not be allowed to store pages with parameters as "lastAuthPage". This breaks the logic if you switch between different customers which do not have items with the same id obviously.
180
188
  - Fix "formatToJSX". There were some problematic edge cases when nested JSX elements were used in T-strings.
181
189
 
182
- ---
190
+ ------------------------------------------------------------------------------------------------------------------
183
191
 
184
192
  ## 7.2.2 (2022-10-10)
185
193
 
@@ -187,7 +195,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
187
195
 
188
196
  - Fix a bug in "isoStripTrailingZeros".
189
197
 
190
- ---
198
+ ------------------------------------------------------------------------------------------------------------------
191
199
 
192
200
  ## 7.2.1 (2022-10-05)
193
201
 
@@ -195,7 +203,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
195
203
 
196
204
  - Fix typo in "shopBuyURL". Add a test for it.
197
205
 
198
- ---
206
+ ------------------------------------------------------------------------------------------------------------------
199
207
 
200
208
  ## 7.2.0 (2022-10-05)
201
209
 
@@ -203,7 +211,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
203
211
 
204
212
  - Add "shopBuyURL" helper to "shopLinks" module.
205
213
 
206
- ---
214
+ ------------------------------------------------------------------------------------------------------------------
207
215
 
208
216
  ## 7.1.0 (2022-10-04)
209
217
 
@@ -211,7 +219,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
211
219
 
212
220
  - Codegen. Adds new invalid input error kind: "invalid_url_id".
213
221
 
214
- ---
222
+ ------------------------------------------------------------------------------------------------------------------
215
223
 
216
224
  ## 7.0.0 (2022-10-04)
217
225
 
@@ -274,7 +282,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
274
282
  - Properly reload product model on locale changes.
275
283
  - Silence possible jwtDecode exception in getCustomerInfoFx.
276
284
 
277
- ---
285
+ ------------------------------------------------------------------------------------------------------------------
278
286
 
279
287
  ## 6.0.0 (2022-04-20)
280
288
 
@@ -301,7 +309,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
301
309
  - Add "details" component to request response, it can be used to form a more detailed error message.
302
310
  - Fixes and improvements to customer module. Add oauth2 flow support. Expose "customerInfo" store and "message" event.
303
311
 
304
- ---
312
+ ------------------------------------------------------------------------------------------------------------------
305
313
 
306
314
  ## 5.0.2 (2021-09-21)
307
315
 
@@ -309,7 +317,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
309
317
 
310
318
  - Fix broken GraphQL operations.
311
319
 
312
- ---
320
+ ------------------------------------------------------------------------------------------------------------------
313
321
 
314
322
  ## 5.0.1 (2021-09-21)
315
323
 
@@ -317,7 +325,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
317
325
 
318
326
  - Bump deps, regenerate all graphql operations/fragments.
319
327
 
320
- ---
328
+ ------------------------------------------------------------------------------------------------------------------
321
329
 
322
330
  ## 5.0.0 (2021-09-09)
323
331
 
@@ -325,7 +333,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
325
333
 
326
334
  - Remove "children" field from categories. The API has changed. Categories API no longer has recursive types in it.
327
335
 
328
- ---
336
+ ------------------------------------------------------------------------------------------------------------------
329
337
 
330
338
  ## 4.1.2 (2021-09-02)
331
339
 
@@ -333,7 +341,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
333
341
 
334
342
  - GraphQL type compatibility fixes.
335
343
 
336
- ---
344
+ ------------------------------------------------------------------------------------------------------------------
337
345
 
338
346
  ## 4.1.1 (2021-09-02)
339
347
 
@@ -341,7 +349,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
341
349
 
342
350
  - On customer signup the "timezone_hint" is set to automatically inferred timezone name (via Intl API).
343
351
 
344
- ---
352
+ ------------------------------------------------------------------------------------------------------------------
345
353
 
346
354
  ## 4.1.0 (2021-09-02)
347
355
 
@@ -349,7 +357,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
349
357
 
350
358
  - Add "getTimezone()" utility function. Uses Intl API to get the current timezone.
351
359
 
352
- ---
360
+ ------------------------------------------------------------------------------------------------------------------
353
361
 
354
362
  ## 4.0.0 (2021-07-27)
355
363
 
@@ -361,7 +369,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
361
369
  - `low_stock`: when qty is > 0 and <= low_stock_level.
362
370
  - `in_stock`: when qty is > 0 and > low_stock_level.
363
371
 
364
- ---
372
+ ------------------------------------------------------------------------------------------------------------------
365
373
 
366
374
  ## 3.5.0 (2021-07-26)
367
375
 
@@ -369,7 +377,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
369
377
 
370
378
  - Expand "CartVariant" definition. Include more fields (per location inventory data).
371
379
 
372
- ---
380
+ ------------------------------------------------------------------------------------------------------------------
373
381
 
374
382
  ## 3.4.0 (2021-07-21)
375
383
 
@@ -380,7 +388,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
380
388
  - Request API should now properly recognize timeout errors and report them as such (new SystemErrorType).
381
389
  - Request API pauses between retries are reduced. Also a bit of jitter is added to pauses.
382
390
 
383
- ---
391
+ ------------------------------------------------------------------------------------------------------------------
384
392
 
385
393
  ## 3.3.0 (2021-07-21)
386
394
 
@@ -388,7 +396,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
388
396
 
389
397
  - Expand "CartVariant" definition. Include more fields.
390
398
 
391
- ---
399
+ ------------------------------------------------------------------------------------------------------------------
392
400
 
393
401
  ## 3.2.0 (2021-07-21)
394
402
 
@@ -396,7 +404,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
396
404
 
397
405
  - In product module fetch more data for "ReviewQuestionProduct". Making it compatible with "clay" idea of product.
398
406
 
399
- ---
407
+ ------------------------------------------------------------------------------------------------------------------
400
408
 
401
409
  ## 3.1.0 (2021-07-16)
402
410
 
@@ -404,7 +412,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
404
412
 
405
413
  - Accept "null" as "canonicalVariantURL" to "productSEO()". In this case canonical page urls won't be formed.
406
414
 
407
- ---
415
+ ------------------------------------------------------------------------------------------------------------------
408
416
 
409
417
  ## 3.0.0 (2021-07-15)
410
418
 
@@ -450,7 +458,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
450
458
 
451
459
  - Fix typo in file name: clearOnChangeAfterChange.ts -> clearOnChangeAfterDelay.ts.
452
460
 
453
- ---
461
+ ------------------------------------------------------------------------------------------------------------------
454
462
 
455
463
  ## 2.4.0 (2021-05-21)
456
464
 
@@ -459,7 +467,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
459
467
  - Add "getSessionID()" function. Which returns the current session id (analytics).
460
468
  - Request API will use the result of getSessionID() if no sessionID provided.
461
469
 
462
- ---
470
+ ------------------------------------------------------------------------------------------------------------------
463
471
 
464
472
  ## 2.3.0 (2021-05-21)
465
473
 
@@ -467,7 +475,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
467
475
 
468
476
  - Product fragment now include "handle". It might be required for URL building.
469
477
 
470
- ---
478
+ ------------------------------------------------------------------------------------------------------------------
471
479
 
472
480
  ## 2.2.0 (2021-05-21)
473
481
 
@@ -476,7 +484,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
476
484
  - Add analytics helper functions.
477
485
  - Analytics anonymous id is now implicitly propagated when submitting jwt to remote auth.
478
486
 
479
- ---
487
+ ------------------------------------------------------------------------------------------------------------------
480
488
 
481
489
  ## 2.1.2 (2021-05-20)
482
490
 
@@ -484,7 +492,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
484
492
 
485
493
  - Inline scripts cannot be deferred, use DOMContentLoaded instead.
486
494
 
487
- ---
495
+ ------------------------------------------------------------------------------------------------------------------
488
496
 
489
497
  ## 2.1.1 (2021-05-20)
490
498
 
@@ -492,7 +500,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
492
500
 
493
501
  - Use proper CDN URL when fetching last analytics lib version.
494
502
 
495
- ---
503
+ ------------------------------------------------------------------------------------------------------------------
496
504
 
497
505
  ## 2.1.0 (2021-05-20)
498
506
 
@@ -500,7 +508,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
500
508
 
501
509
  - Add "script" library. It's a helper lib that generates &lt;script&gt; and &lt;style&gt; tags for you. Supports analytics and trunkery ui.
502
510
 
503
- ---
511
+ ------------------------------------------------------------------------------------------------------------------
504
512
 
505
513
  ## 2.0.0 (2021-05-18)
506
514
 
@@ -508,7 +516,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
508
516
 
509
517
  - In "search" module replace "result" field in "Search&lt;Product&gt;" with a different type. It communicates explicitly the outcome of the search request: did it run? did it resulted in an error? did it succeed with some result (or none)?
510
518
 
511
- ---
519
+ ------------------------------------------------------------------------------------------------------------------
512
520
 
513
521
  ## 1.1.0 (2021-05-14)
514
522
 
@@ -516,7 +524,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
516
524
 
517
525
  - Export "PopperBinderParams" and "Placement" from popperBinder.
518
526
 
519
- ---
527
+ ------------------------------------------------------------------------------------------------------------------
520
528
 
521
529
  ## 1.0.3 (2021-05-11)
522
530
 
@@ -524,7 +532,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
524
532
 
525
533
  - Add CHANGELOG.
526
534
 
527
- ---
535
+ ------------------------------------------------------------------------------------------------------------------
528
536
 
529
537
  ## 1.0.2 (2021-05-11)
530
538
 
@@ -532,7 +540,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
532
540
 
533
541
  - Fix vendored popper.js files.
534
542
 
535
- ---
543
+ ------------------------------------------------------------------------------------------------------------------
536
544
 
537
545
  ## 1.0.0 (2021-05-10)
538
546
 
@@ -540,7 +548,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
540
548
 
541
549
  - Initial release.
542
550
 
543
- ---
551
+ ------------------------------------------------------------------------------------------------------------------
544
552
 
545
553
  <!-- Links -->
546
554
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lana-commerce/core",
3
- "version": "12.0.0-alpha.4",
3
+ "version": "12.0.0",
4
4
  "description": "Lana JS Core",
5
5
  "scripts": {
6
6
  "test": "jest",