@vtex/api 6.50.1 → 6.51.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,1912 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [6.51.0] - 2026-06-23
11
+ ### Added
12
+ - Base `IOClients` getter `janusCatalogSystem` (Janus Catalog) and
13
+ `licenseManager.listBindings`, plus binding-mapping helpers
14
+ (getCanonicalAndAlternateAddresses, inferTargetProduct) used by the
15
+ Tenant API migration. Backport of #617 to the 6.x line.
16
+
17
+ ## [6.50.1] - 2025-09-10
18
+ ### Fixed
19
+ - Axios vuln GHSA-jr5f-v2jv-69x6 by using axios@^0.30.1
20
+
21
+ ## [6.50.0] - 2025-09-02
22
+ ### Fixed
23
+ - Add new scope argument into auth directive
24
+
25
+ ## [6.49.7] - 2025-08-13
26
+ ### Fixed
27
+ - Version of Axios that is incompatible with Asset Builder
28
+
29
+ ## [6.49.6] - 2025-07-25
30
+ ### Changed
31
+ - Bump `@vtex/diagnostics-nodejs` version
32
+ - Remove `resolutions` field from `package.json`
33
+
34
+ ## [6.49.5] - 2025-07-21
35
+ ### Changed
36
+ - Defining a list of headers to be added as trace span information
37
+
38
+ ## [6.49.4] - 2025-07-02
39
+ ### Fixed
40
+ - Userland logs that wouldn't be collected
41
+
42
+ ## [6.49.2] - 2025-06-03
43
+ ### Fixed
44
+ - Bumped `axios` to newest version without vuln CVE-2025-27152
45
+
46
+ ## [6.49.1] - 2025-04-30
47
+ ### Fixed
48
+ - Add yarn.lock changes from previous release
49
+
50
+ ## [6.49.0] - 2025-04-29
51
+ ### Changed
52
+ - Update logging instrumentation
53
+
54
+ ### Fixed
55
+ - Bump typescript-json-schema from 0.40.0 to 0.52.0
56
+ - Fix `yarn gen` script
57
+ - Update node-version on publish workflows
58
+
59
+ ## [6.48.0] - 2024-10-23
60
+ ### Added
61
+ - resolveAll to `MineWinsConflictsResolver` to handle an array of conflicts.
62
+
63
+ ### Fixed
64
+ - Avoid using async/await with then callbacks
65
+ - Bump semver from 5.7.1 to 5.7.2
66
+
67
+ ### Changed
68
+ - @auth: Validate token's `account` scope
69
+ - Delete Metadata client
70
+
71
+ ## [6.47.0] - 2024-06-11
72
+ ### Added
73
+ - Add option to save asynchronous cache
74
+
75
+ ### Fixed
76
+ - Add handler name for runtime http handlers
77
+
78
+ ## [6.46.1] - 2024-01-31
79
+
80
+ ### Fixed
81
+ - Return type for the saveJSON method of VBase client
82
+
83
+ ### Changed
84
+ - Increase timeout for messagesGraphQL client
85
+
86
+ ## [6.46.0] - 2023-10-25
87
+ ### Added
88
+ - Add disk cache steps and retry count to tracing
89
+
90
+ ### Changed
91
+ - Stop updating client cache when revalidated and still expired
92
+
93
+ ## [6.45.24] - 2023-10-05
94
+ ### Added
95
+
96
+ - Allow disabling memoization for all requests of a client
97
+
98
+ ## [6.45.23] - 2023-10-04
99
+
100
+ ### Fixed
101
+ - Fix metrics being restricted by tracing restrictions
102
+
103
+ ## [6.45.22] - 2023-09-20
104
+
105
+ ### Removed
106
+
107
+ - Remove reference of how to search for the app's errors on now-defunct Splunk.
108
+
109
+ ### Fixed
110
+
111
+ - Error tracing spans not logging the details.
112
+
113
+ ## [6.45.21] - 2023-09-19
114
+ ### Changed
115
+ - Fix tracingMiddleware shouldTrace decision
116
+ - Fix HttpClient tracing based on sampling decision
117
+
118
+ ## [6.45.21-beta.2] - 2023-09-19
119
+
120
+ ## [6.45.21-beta.1] - 2023-09-07
121
+
122
+ ## [6.45.21-beta.0] - 2023-09-04
123
+
124
+ ## [6.45.21-beta] - 2023-09-04
125
+
126
+ ## [6.45.20] - 2023-08-30
127
+ ### Changed
128
+ - Remove sampling decision from runtime
129
+ - Only create tracing spans when they come from router
130
+
131
+ ## [6.45.20-beta] - 2023-08-30
132
+
133
+ ## [6.45.19] - 2023-07-12
134
+ ### Changed
135
+ - Bump `graphql-upload` version
136
+
137
+ ## [6.45.18] - 2023-07-07
138
+ ### Fixed
139
+ - Metrics to prometheus
140
+
141
+ ## [6.45.16] - 2023-07-03
142
+ ### Changed
143
+ - Bump `prom-client` version
144
+
145
+ ## [6.45.15] - 2023-02-01
146
+ ### Changed
147
+ - Removed unnecessary worker signal logs
148
+
149
+ ## [6.45.14] - 2023-02-01
150
+
151
+ ### Added
152
+
153
+ - New tests for `MineWinsConflictsResolver`.
154
+
155
+ ### Fixed
156
+
157
+ - Merged/Rebased content not being returned causing inconsistencies.
158
+ - Do not return empty content if no conflict is found.
159
+
160
+ ## [6.45.13] - 2022-12-12
161
+ ### Changed
162
+ - Deterministic cache for getWithBody
163
+ - Remove socket metrics per origin
164
+
165
+ ## [6.45.12] - 2022-04-14
166
+
167
+ ### Fixed
168
+
169
+ - Update sensitive fields list.
170
+ - Remove "error" field.
171
+ - Add missing fields.
172
+
173
+ ## [6.45.11] - 2022-04-08
174
+
175
+ ### Fixed
176
+
177
+ - Add where parameter to the MasterData scroll method
178
+
179
+ ## [6.45.10] - 2022-03-15
180
+
181
+ ### Fixed
182
+
183
+ - Update sensitive fields.
184
+ - Add 'authorization', rawheaders', 'x-vtex-credential' and 'x-vtex-session'.
185
+ - Lowercase fields before comparison in cleanJson.
186
+
187
+ ## [6.45.9] - 2022-03-08
188
+
189
+ ### Fixed
190
+
191
+ - Fix cleanJson utility.
192
+
193
+ ## [6.45.8] - 2022-02-25
194
+
195
+ ### Fixed
196
+
197
+ - Remove only cookie fields when cleaning logs.
198
+
199
+ ## [6.45.7] - 2022-02-23
200
+
201
+ ### Fixed
202
+
203
+ - Remove sensitive data from logs.
204
+
205
+ ## [6.45.6] - 2021-10-26
206
+
207
+ ### Fixed
208
+
209
+ - `vtex_segment` cookie extraction
210
+
211
+ ## [6.54.5] - 2021-10-22
212
+
213
+ ### Fixed
214
+
215
+ - Extract session cookie in a safe manner
216
+
217
+ ## [6.45.4] - 2021-09-16
218
+
219
+ ### Removed
220
+
221
+ - `Missing x-vtex-provider header` log.
222
+
223
+ ## [6.45.3] - 2021-08-30
224
+
225
+ ### Fixed
226
+
227
+ - Cover new test cases where mine is left equal to base and master updates an item.
228
+
229
+ ## [6.45.0] - 2021-08-24
230
+
231
+ ### Changed
232
+
233
+ - Export Prometheus client
234
+
235
+ ## [6.44.0] - 2021-07-15
236
+
237
+ ### Added
238
+
239
+ - `@metric` GraphQL directive
240
+
241
+ ## [6.43.1] - 2021-07-12
242
+
243
+ ### Fixed
244
+
245
+ - Update axios to `0.21.1`
246
+
247
+ ## [6.43.0] - 2021-06-23
248
+
249
+ ### Added
250
+
251
+ - Update schema in runtime when provider app changes version
252
+
253
+ ## [6.42.1] - 2021-05-18
254
+
255
+ ### Fixed
256
+
257
+ - [startWorker] Remove duplicated middleware
258
+
259
+ ## [6.42.0] - 2021-05-17
260
+
261
+ ### Added
262
+
263
+ - [Rate Limit] Enable user to config the amount of requests to be processed per minute and concurrently by setting it in `service.json`.
264
+
265
+ ## [6.41.1] - 2021-05-17
266
+
267
+ ### Fixed
268
+
269
+ - Fix prometheus metrics being publicly exposed on /metrics.
270
+
271
+ ## [6.41.0] - 2021-03-09
272
+
273
+ ### Added
274
+
275
+ - Added an interface to the `userTranslations` query of the MessagesGraphQL client.
276
+
277
+ ## [6.40.0] - 2021-03-02
278
+
279
+ ### Added
280
+
281
+ - `getAppState` method to `registry` client
282
+
283
+ ## [6.39.1] - 2021-02-05
284
+
285
+ - Increase HTTP agents connection pools freeSockets and lifetime
286
+
287
+ ## [6.39.0] - 2021-01-27
288
+
289
+ ### Added
290
+
291
+ - `TranslateTo` schema directive.
292
+ - `translations` util.
293
+ - README's `Development with IO clients` directions.
294
+
295
+ ### Changed
296
+
297
+ - Moved the `TranslatableMessageV2` interface, `parseTranslatableStringV2`, `formatTranslatableStringV2` and `handleSingleString` methods and `CONTEXT_REGEX`, `FROM_REGEX` and `CONTENT_REGEX` constants from the `TranslatableV2` schema directive to the `translations` util.
298
+ - README's `Development` section format.
299
+
300
+ ## [6.37.1] - 2020-12-10
301
+
302
+ ### Changed
303
+
304
+ - Add logs to MineWinsConflictResolver
305
+
306
+ ## [6.37.0] - 2020-10-08
307
+
308
+ ### Added
309
+
310
+ - `searchDocumentsWithPaginationInfo` on Masterdata client
311
+
312
+ ## [6.36.3] - 2020-09-09
313
+
314
+ ### Changed
315
+
316
+ - Allow sending events to any resource
317
+
318
+ ## [6.36.2] - 2020-08-19
319
+
320
+ ### Fixed
321
+
322
+ - Set wait time to force shutdown workers based on service timeout
323
+ - Stop removing response from error.
324
+ - Update @vtex/node-error-report to remove sensitive information from errors logged to splunk and to distributed tracing.
325
+ - Remove sensitive information from headers before logging onto tracing spans.
326
+
327
+ ## [6.36.1] - 2020-08-17
328
+
329
+ ### Fixed
330
+
331
+ - Remove sensitive exception data before responding to browser.
332
+
333
+ ## [6.36.0] - 2020-07-30
334
+
335
+ ### Added
336
+
337
+ - [metric] Created new Prometheus metrics related to Event Loop Lag between scrapes:
338
+ - runtime_event_loop_lag_max_between_scrapes_seconds
339
+ - runtime_event_loop_lag_percentiles_between_scrapes_seconds
340
+
341
+ ## [6.35.2] - 2020-07-24
342
+
343
+ ### Added
344
+
345
+ - `timestamp` field to VTEX IO Billing log.
346
+
347
+ ## [6.35.1] - 2020-07-22
348
+
349
+ ### Added
350
+
351
+ - [metrics] Export jaeger metrics.
352
+
353
+ ### Fixed
354
+
355
+ - [metrics] Typo on event listened to increment `runtime_http_aborted_requests_total`.
356
+ - [tracing:entrypoint] Fix waiting for response stream to finish.
357
+
358
+ ## [6.35.0] - 2020-07-08
359
+
360
+ ### Added
361
+
362
+ - [metrics] Create new Prometheus exported metrics:
363
+ - runtime_http_requests_total
364
+ - runtime_http_aborted_requests_total
365
+ - runtime_http_requests_duration_milliseconds
366
+ - runtime_http_response_size_bytes
367
+ - [tracing] Finish entrypoint span when response finishes streaming.
368
+
369
+ ### Changed
370
+
371
+ - Update `billingOptions` type.
372
+
373
+ ## [6.34.0] - 2020-07-03
374
+
375
+ ### Fixed
376
+
377
+ - Remove fallback to x-vtex-credential as adminUserAuthToken.
378
+
379
+ ### Added
380
+
381
+ - Send workspace to session service.
382
+ - Add channelPrivacy to SegmentData type.
383
+
384
+ ## [6.33.0] - 2020-06-25
385
+
386
+ ### Added
387
+
388
+ - [clients:tracing] Create span wrapping HttpClient middlewares with information on caching and retries.
389
+
390
+ ## [6.32.0] - 2020-06-25
391
+
392
+ ### Changed
393
+
394
+ - [tracing] Remove span wrapping user middlewares.
395
+ - [tracing] Add entrypoint span tags and logs after the execution of middlewares.
396
+ - [ErrorReport] Do not allow creating recursive ErrorReports.
397
+
398
+ ## [6.31.1] - 2020-06-05
399
+
400
+ ### Fixed
401
+
402
+ - Release the 6.31.0 again due to issues.
403
+
404
+ ## [6.31.0] - 2020-06-04
405
+
406
+ ### Added
407
+
408
+ - Add `putRaw` method on HttpClient.
409
+ - Support to `If-Match` header usage on VBase client.
410
+
411
+ ### Changed
412
+
413
+ - [ErrorReport] Log ErrorReport errors created on `HttpClient` requests or thrown by user handlers to splunk.
414
+ - [ErrorReport] Add error metadata on span logs instead of on span tags.
415
+ - [tracing:entrypoint] Log incoming request headers and outgoing response headers.
416
+ - [tracing] Use remote sampling.
417
+
418
+ ### Fixed
419
+
420
+ - [tracing:entrypoint] Fix URL tag on entrypoint span - use `ctx.request.href` instead of `ctx.request.originalUrl`.
421
+ - Masterdata sort typing and scroll pagination.
422
+
423
+ ## [6.30.1] - 2020-05-21
424
+
425
+ ### Changed
426
+
427
+ - Remove `serverTiming` metrics from client headers.
428
+ - Add `serverTiming` metrics on error report.
429
+
430
+ ## [6.30.0] - 2020-05-20
431
+
432
+ ### Added
433
+
434
+ - Masterdata client
435
+
436
+ ## [6.29.0] - 2020-05-18
437
+
438
+ ### Changed
439
+
440
+ - Create an option to disable conditional segment/session vary
441
+ - Set vary: x-vtex-session if the scope is private
442
+
443
+ ## [6.28.3] - 2020-05-15
444
+
445
+ ### Fixed
446
+
447
+ - [ErrorReport] Update `@vtex/node-error-report` package:
448
+ - Clone objects before sanitizing them.
449
+
450
+ ## [6.28.2] - 2020-05-13
451
+
452
+ ### Changed
453
+
454
+ - [ErrorReport] Use `@vtex/node-error-report` package.
455
+
456
+ ## [6.28.1] - 2020-05-05
457
+
458
+ ### Fixed
459
+
460
+ - [tracing:logger] Make Logger serializable again.
461
+
462
+ ## [6.28.0] - 2020-05-04
463
+
464
+ ### Changed
465
+
466
+ - [tracing:init] Increase sampling rate to 5%.
467
+ - [ErrorReport] Serialize buffer only as a `byteCount` and a `type: buffer`.
468
+ - [ErrorReport] Increase ErrorReport serialization depth from 6 to 8.
469
+
470
+ ### Added
471
+
472
+ - [tracing:entrypoint-span] Add `vtex.request_id` tag.
473
+ - [ErrorReport] Add `error.server.code`, `error.server.source`, `error.server.request_id` to tags added to error spans.
474
+ - [response:headers] Add `x-trace-id` when request is traced.
475
+ - [logger] Log `trace-id` when request is traced.
476
+ - [tracing:tags] Use snake case to conform with OpenTracing.
477
+
478
+ ## [6.27.0] - 2020-04-28
479
+
480
+ ## [6.26.2-beta] - 2020-04-28
481
+
482
+ ## [6.26.1-beta] - 2020-04-27
483
+
484
+ ## [6.25.1-beta] - 2020-04-27
485
+
486
+ ### Added
487
+
488
+ - Settings from settings builder to events.
489
+
490
+ ## [6.26.0] - 2020-04-22
491
+
492
+ ### Changed
493
+
494
+ - Tracing utilities export.
495
+
496
+ ### Added
497
+
498
+ - `NODE_ENV` tag to process tracing tags.
499
+ - `tracingConfig` argument to all clients request functions.
500
+ - Option on request spans to define if request is childOf rootSpan or followsFrom it.
501
+ - Option on request span to add suffix on request span name - it will be `http-request:suffx`.
502
+ - Helper `createTracingContextFromCarrier` to allow worker threads and child processes to be traced.
503
+
504
+ ## [6.25.0] - 2020-04-15
505
+
506
+ ### Added
507
+
508
+ - Extensions field to graphql client.
509
+
510
+ ## [6.24.4] - 2020-04-08
511
+
512
+ ### Fixed
513
+
514
+ - Adds missing `@` in BillingMetrics client
515
+
516
+ ## [6.24.3] - 2020-04-01
517
+
518
+ ### Fixed
519
+
520
+ - [tracing] Fix `ErrorReport` object strings truncating (StackOverflow error in some cases).
521
+ - [tracing] Make `ctx.vtex.tracer` a required field on `IOContext`.
522
+
523
+ ### Added
524
+
525
+ - [tracing] Add `fallbackSpanContext` method to `UserLandTracer`.
526
+
527
+ ## [6.24.2] - 2020-03-31
528
+
529
+ - Workspaces sharing apps metainfo.
530
+
531
+ ## [6.24.1] - 2020-03-31
532
+
533
+ - Bump version.
534
+
535
+ ## [6.24.0] - 2020-03-31
536
+
537
+ ## Changed
538
+
539
+ - Send events using `Courier` instead of `Colossus`.
540
+
541
+ ## [6.23.1] - 2020-03-26
542
+
543
+ ### Fixed
544
+
545
+ - Trace only 1% of the requests.
546
+
547
+ ## [6.23.0] - 2020-03-26
548
+
549
+ ### Added
550
+
551
+ - Tracing instrumentation.
552
+
553
+ ## [6.22.0] - 2020-03-20
554
+
555
+ ### Changed
556
+
557
+ - Updated `Billing Options` types
558
+
559
+ ### Added
560
+
561
+ - Apps' Install API response type
562
+ - Skidder topic names on logs are not based on account anymore
563
+
564
+ ### Fixed
565
+
566
+ - Fixed params for VBase list
567
+
568
+ ## [6.21.0] - 2020-03-05
569
+
570
+ ### Added
571
+
572
+ - createHttpsAgent helper function so devs can import it in their apps and use our agent
573
+ - httpsAgent added to instanceOptions so we can add the agent in the client's constructor
574
+
575
+ ### Removed
576
+
577
+ - Https interceptor agent
578
+
579
+ ## [6.20.0] - 2020-03-04
580
+
581
+ ### Added
582
+
583
+ - Support for a external schema to be passed into graphql Service configuration.
584
+
585
+ ## [6.19.0] - 2020-03-02
586
+
587
+ ### Added
588
+
589
+ - Get `adminUserAuthToken` from header `X-Vtex-Credential`.
590
+
591
+ ## [6.18.0] - 2020-02-27
592
+
593
+ ### Added
594
+
595
+ - Adds stale while revalidating to apps get meta infos function
596
+
597
+ ## [6.17.0] - 2020-02-18
598
+
599
+ ### Added
600
+
601
+ - Injects `__SKIDDER_TOPIC_1` and `__SKIDDER_TOPIC_2` keys in logs
602
+
603
+ ## [6.16.1] - 2020-02-17
604
+
605
+ ### Changed
606
+
607
+ - Exponential timeout and backoff variables can now be set by request and not only by client.
608
+
609
+ ### Fixed
610
+
611
+ - Fix revalidation for cached buffer responses.
612
+
613
+ ## [6.16.0] - 2020-02-13
614
+
615
+ ### Changed
616
+
617
+ - Removes slowRecorder from code
618
+
619
+ ## [6.15.2] - 2020-02-13
620
+
621
+ ### Added
622
+
623
+ - Payment Provider client
624
+
625
+ ## [6.15.1] - 2020-02-10
626
+
627
+ ### Fixed
628
+
629
+ - Fix `x-vtex-etag-control` set by SmartCacheDirective.
630
+
631
+ ## [6.15.0] - 2020-02-06
632
+
633
+ ### Added
634
+
635
+ - Add support for router binding header.
636
+
637
+ ## [6.14.0] - 2020-02-06
638
+
639
+ ## [6.13.1] - 2020-02-04
640
+
641
+ ### Fixed
642
+
643
+ - Adds catalog Graphql client to IOClients
644
+
645
+ ## [6.13.0] - 2020-02-03
646
+
647
+ ## [6.12.1] - 2020-02-03
648
+
649
+ ### Changed
650
+
651
+ - Make it usable outside of IO
652
+
653
+ ## [6.12.0] - 2020-01-31
654
+
655
+ ### Added
656
+
657
+ - Adds `catalogGraphQL` client
658
+
659
+ ## [6.11.1] - 2020-01-30
660
+
661
+ ### Fixed
662
+
663
+ - Export tenant data
664
+
665
+ ## [6.11.0] - 2020-01-30
666
+
667
+ ### Changed
668
+
669
+ - Update axios from 0.18.0 to 0.19.2
670
+
671
+ ## [6.10.1] - 2020-01-29
672
+
673
+ ### Fixed
674
+
675
+ - getAppsMetaInfos typings from Apps client
676
+
677
+ ## [6.10.0] - 2020-01-29
678
+
679
+ ### Changed
680
+
681
+ - Improve `cacheKey` performance and sort params in the key.
682
+
683
+ ## [6.9.0] - 2020-01-29
684
+
685
+ ### Added
686
+
687
+ - Adds new query to messages client
688
+ - Uses new resolver in Translatable resolver
689
+
690
+ ## [6.8.1] - 2020-01-28
691
+
692
+ ### Chore
693
+
694
+ - Increase query size limit from 1mb to 3mb.
695
+
696
+ ### Fixed
697
+
698
+ - Settings format is now the same delivered by settings server.
699
+
700
+ ## [6.8.0] - 2020-01-23
701
+
702
+ ### Added
703
+
704
+ - New settings middleware.
705
+ - New directive in graphql for declaring route settings type.
706
+
707
+ ## [6.7.1] - 2020-01-22
708
+
709
+ ### Fixed
710
+
711
+ - Encodes Buffer with base64 to cache it correctly
712
+
713
+ ## [6.7.0] - 2020-01-22
714
+
715
+ ### Added
716
+
717
+ - `@deprecated` directive logs to Splunk when used. To avoid overflowing splunk with useless logs, we only log once at every minute
718
+
719
+ ## [6.6.2] - 2020-01-16
720
+
721
+ ### Added
722
+
723
+ - Parameters to customize exponential backoff delay and increase timeout at each retry.
724
+
725
+ ### Changed
726
+
727
+ - Stop using `axios-retry` logic, implement retry manually.
728
+
729
+ ## [6.6.1] - 2020-01-16
730
+
731
+ ### Fixed
732
+
733
+ - Vbase `getJSON` typings. Do not return type `{}`
734
+
735
+ ### Changed
736
+
737
+ - Do not rely on state for flushing `x-vtex-meta` headers
738
+
739
+ ## [6.6.0] - 2020-01-16
740
+
741
+ ## [6.6.0-beta] - 2020-01-15
742
+
743
+ ### Changed
744
+
745
+ - Enables fast recorder
746
+
747
+ ## [6.5.0] - 2020-01-15
748
+
749
+ ### Changed
750
+
751
+ - Sets `x-vtex-meta` header _ONCE_ in the `recorder` middleware to tackle performance issues
752
+
753
+ ## [6.4.1] - 2020-01-09
754
+
755
+ ### Fixed
756
+
757
+ - Internal app path log in toolbelt
758
+
759
+ ## [6.4.0] - 2020-01-09
760
+
761
+ ### Added
762
+
763
+ - Allow getting segment data with default locale and currency from binding instead of tenant.
764
+
765
+ ## [6.3.0] - 2020-01-08
766
+
767
+ ### Added
768
+
769
+ - New route to get files from Apps with only the app name, account and workspace
770
+
771
+ ## [6.2.2] - 2020-01-08
772
+
773
+ ### Fixed
774
+
775
+ - Logic to get cancellable methods for cancellation token
776
+
777
+ ## [6.2.1] - 2020-01-08
778
+
779
+ ### Fixed
780
+
781
+ - There was a HUGE performance drop when setting `x-vtex-meta` header via `ctx.set` using an array. Joining in a single string solved the problem
782
+
783
+ ## [6.2.0] - 2020-01-07
784
+
785
+ ### Added
786
+
787
+ - Batches messages to be translated
788
+
789
+ ## [6.1.7] - 2020-01-02
790
+
791
+ ### Changed
792
+
793
+ - Added correct getFile function to Assets client
794
+
795
+ ## [6.1.6] - 2019-12-17
796
+
797
+ ### Changed
798
+
799
+ - When linking only one worker will be available
800
+ - Gracefull shutdown when receiving `sigterm` from master and child processes
801
+
802
+ ### Fixed
803
+
804
+ - Remote debugger now debugs worker instead of master process
805
+ - @transltableV2 directive arguments
806
+
807
+ ## [6.1.5] - 2019-12-12
808
+
809
+ ## [6.1.4] - 2019-12-12
810
+
811
+ ### Fixed
812
+
813
+ - Add binding to context when receiving header
814
+
815
+ ## [6.1.3] - 2019-12-11
816
+
817
+ ### Fixed
818
+
819
+ - Public routes now working
820
+
821
+ ## [6.1.2] - 2019-12-11
822
+
823
+ ## [6.1.1] - 2019-12-10
824
+
825
+ ## [6.1.0] - 2019-12-09
826
+
827
+ ## [6.0.0] - 2019-11-27
828
+
829
+ ## [6.0.0-beta.12] - 2019-11-26
830
+
831
+ ## [3.66.3] - 2019-11-26
832
+
833
+ ### Removed
834
+
835
+ - Splunk log in clients to console.log only
836
+
837
+ ## [3.66.2] - 2019-11-26
838
+
839
+ ### Fixed
840
+
841
+ - Flag `fireEvent` in Messages `saveV2` should be optional
842
+
843
+ ## [3.66.1] - 2019-11-25
844
+
845
+ ### Fixed
846
+
847
+ - Checks if logger.warn is a function before calling it
848
+
849
+ ## [3.66.0] - 2019-11-25
850
+
851
+ ### Added
852
+
853
+ - Add binding information to HttpClient requests
854
+
855
+ ## [3.65.4] - 2019-11-25
856
+
857
+ ### Fixed
858
+
859
+ - Conflicts Resolver only use `comparableKeys` when objects owns them
860
+
861
+ ## [3.65.3] - 2019-11-25
862
+
863
+ ## Added
864
+
865
+ - Allows filter dependencies from app list
866
+
867
+ ## [3.65.2] - 2019-11-25
868
+
869
+ ### Added
870
+
871
+ - New attribute to messages API
872
+
873
+ ## [3.65.1] - 2019-11-21
874
+
875
+ ## [3.65.1-beta] - 2019-11-21
876
+
877
+ ### Fixed
878
+
879
+ - Uses http in old routes
880
+
881
+ ## [3.65.0] - 2019-11-21
882
+
883
+ ### Added
884
+
885
+ - Error type `TooManyRequestsError` that returns status code 429
886
+
887
+ ## [3.64.0] - 2019-11-19
888
+
889
+ ### Added
890
+
891
+ - Uses https if request is from outside IO
892
+
893
+ ### Changed
894
+
895
+ - Updates internal routing
896
+
897
+ ## [3.63.0] - 2019-11-18
898
+
899
+ ### Added
900
+
901
+ - Update Messages SaveArgsV2 interface
902
+
903
+ ## [3.62.6] - 2019-11-14
904
+
905
+ ### Fixed
906
+
907
+ - Removes `ctx.graphql` object sharing and make it have a request cycle duration
908
+
909
+ ## [3.62.5] - 2019-11-11
910
+
911
+ ### Changed
912
+
913
+ - Upgrades new error query format for splunk 72
914
+
915
+ ### Fixed
916
+
917
+ - Fix "socket hang up" by preventing client request abortion after server response is finished or client response is completed.
918
+ - Fix cancellation error not being thrown if the request does not have metric.
919
+
920
+ ## [3.62.4] - 2019-11-04
921
+
922
+ ### Changed
923
+
924
+ - Removes tracing from graphqlruntime
925
+
926
+ ## [3.62.3] - 2019-10-30
927
+
928
+ ### Fixed
929
+
930
+ - stale getAppFile accepts MAJOR.x app name
931
+
932
+ ## [3.62.2] - 2019-10-30
933
+
934
+ ### Fixed
935
+
936
+ - Handle nullable nested objects in MineWinsConflictsResolver
937
+
938
+ ## [3.62.1] - 2019-10-29
939
+
940
+ ### Fixed
941
+
942
+ - Export error type RequestCancelledError in index
943
+
944
+ ## [3.62.0] - 2019-10-29
945
+
946
+ ### Added
947
+
948
+ - New scalar type and directive to sanitize strings
949
+
950
+ ### Fixed
951
+
952
+ - Handle error without response in VBase getJSON calls
953
+
954
+ ## [3.61.1] - 2019-10-29
955
+
956
+ ### Fixed
957
+
958
+ - Throw error in `getAppsMetaInfos` method if `staleIfError`` is false.
959
+
960
+ ## [3.60.0] - 2019-10-28
961
+
962
+ ## [3.59.2] - 2019-10-24
963
+
964
+ ### Fixed
965
+
966
+ - Handle nullable arrays passed to MineWinsConflictsResolver
967
+
968
+ ## [3.59.1] - 2019-10-18
969
+
970
+ ### Fixed
971
+
972
+ - Correctly handle errors caused by requests cancelled with cancellation token
973
+
974
+ ## [3.59.0] - 2019-10-16
975
+
976
+ ## [3.58.0] - 2019-10-14
977
+
978
+ ### Added
979
+
980
+ - **environment** arg to `JanusClient`.
981
+
982
+ ## [3.57.1] - 2019-10-11
983
+
984
+ ## Added
985
+
986
+ - Apps install accepts `infra:service-*` apps
987
+
988
+ ## [3.56.0] - 2019-10-10
989
+
990
+ ### Added
991
+
992
+ - New getAppMetaInfos function with diskCache fallback
993
+ - Add MineWinsConflict resolver logic to VBase client
994
+ - New getAppFiles with fallback strategies
995
+
996
+ ## [3.55.4-beta] - 2019-10-09
997
+
998
+ ## [3.55.3] - 2019-10-09
999
+
1000
+ ### Fixed
1001
+
1002
+ - Messages Save v2 interface
1003
+
1004
+ ## [3.55.2] - 2019-10-01
1005
+
1006
+ ### Fixed
1007
+
1008
+ - Warnings logged as errors
1009
+
1010
+ ## [3.55.1] - 2019-09-27
1011
+
1012
+ ## [3.55.0] - 2019-09-25
1013
+
1014
+ ## [3.54.1] - 2019-09-23
1015
+
1016
+ ### Added
1017
+
1018
+ - Tenant client added
1019
+
1020
+ ## [3.54.0] - 2019-09-23
1021
+
1022
+ ### Changed
1023
+
1024
+ - Logger client instantiated in service-node
1025
+ - `@translatableV2` directive uses language from context instead of making an IO
1026
+
1027
+ ## [3.53.0] - 2019-09-16
1028
+
1029
+ ### Changed
1030
+
1031
+ - TranslatableV2 support for context and from in message encoding
1032
+
1033
+ ### Changed
1034
+
1035
+ - Resolve context in message at directive translatableV2
1036
+
1037
+ ## [3.52.0] - 2019-09-16
1038
+
1039
+ ### Added
1040
+
1041
+ - Add saveV2 method in MessagesGraphQL client
1042
+
1043
+ ## [3.51.1] - 2019-09-13
1044
+
1045
+ ### Fixed
1046
+
1047
+ - Add host to IOContext
1048
+
1049
+ ## [3.51.0] - 2019-09-13
1050
+
1051
+ ### Added
1052
+
1053
+ - Forward x-forwarded-host header.
1054
+ - Add vary x-forwarded-host.
1055
+
1056
+ ## [3.50.2] - 2019-09-13
1057
+
1058
+ ## [3.50.2-beta] - 2019-09-12
1059
+
1060
+ ### Added
1061
+
1062
+ - Add `platform` to `ctx`
1063
+
1064
+ ## [3.50.1] - 2019-09-11
1065
+
1066
+ ## [3.50.0] - 2019-09-11
1067
+
1068
+ ## [3.50.0-beta] - 2019-09-11
1069
+
1070
+ ### Added
1071
+
1072
+ - Export list of all available public domains
1073
+
1074
+ ## [3.49.0] - 2019-09-10
1075
+
1076
+ ## [3.48.3] - 2019-09-09
1077
+
1078
+ ### Fixed
1079
+
1080
+ - Added logger middleware to events pipeline.
1081
+
1082
+ ## [3.48.2] - 2019-09-04
1083
+
1084
+ ## [3.48.1] - 2019-09-04
1085
+
1086
+ ## [3.48.1-beta.0] - 2019-09-04
1087
+
1088
+ ## [3.48.1-beta] - 2019-09-03
1089
+
1090
+ ## [3.48.0] - 2019-09-03
1091
+
1092
+ ### Added
1093
+
1094
+ - Route for testing apps on `builder-hub`.
1095
+
1096
+ ## [3.47.2] - 2019-09-02
1097
+
1098
+ ### Fixed
1099
+
1100
+ - Update missing changelog.
1101
+ - Remove if statements on existence of ctx.vtex.logger
1102
+
1103
+ ## [3.47.1] - 2019-08-29
1104
+
1105
+ ### Fixed
1106
+
1107
+ - Fix ramda typings errors.
1108
+
1109
+ ## [3.47.0] - 2019-08-29
1110
+
1111
+ ### Added
1112
+
1113
+ - Add parameter `skipSemVerEnsure` in app publish.
1114
+
1115
+ ## [3.46.0] - 2019-08-26
1116
+
1117
+ ### Added
1118
+
1119
+ - Create event handler similar to http requests, providing vtex clients, timings and error logs.
1120
+
1121
+ ## [3.46.0-beta.2] - 2019-08-26
1122
+
1123
+ ## [3.46.0-beta.1] - 2019-08-26
1124
+
1125
+ ## [3.46.0-beta.0] - 2019-08-26
1126
+
1127
+ ## [3.46.0-beta] - 2019-08-26
1128
+
1129
+ ## [3.45.0] - 2019-08-22
1130
+
1131
+ ## [3.44.3] - 2019-08-20
1132
+
1133
+ ### Fixed
1134
+
1135
+ - Stop ignoring 0ms metrics.
1136
+ - Rename GraphQL middlewares to resolve metrics conflict.
1137
+
1138
+ ### Changed
1139
+
1140
+ - Stop measuring event-loop overhead.
1141
+
1142
+ ## [3.44.2] - 2019-08-19
1143
+
1144
+ ## [3.44.1] - 2019-08-19
1145
+
1146
+ ### Fixed
1147
+
1148
+ - Truncate long GraphQL errors so they can be sent to Splunk.
1149
+
1150
+ ## [3.44.0] - 2019-08-19
1151
+
1152
+ ### Changed
1153
+
1154
+ - Deprecate Colossus logger completely, using stdout instead.
1155
+
1156
+ ## [3.43.0] - 2019-08-19
1157
+
1158
+ ### Changed
1159
+
1160
+ - Properly times metrics, considering total elapsed and code run after `await next()`.
1161
+ - Avoid broken metrics when a middleware throws.
1162
+ - Do not batch metrics for unsuccessful handlers and middlewares.
1163
+ - Rename `http-handler-success-*` to `http-handler-*` and only count non-success statuses.
1164
+
1165
+ ## [3.42.0] - 2019-08-19
1166
+
1167
+ ### Changed
1168
+
1169
+ - Disable caching if response varies with session. (Before, we incorrectly disabled caching if _we had a session token_)
1170
+
1171
+ ## [3.41.1] - 2019-08-15
1172
+
1173
+ ## [3.41.1-beta] - 2019-08-15
1174
+
1175
+ ## [3.41.0] - 2019-08-13
1176
+
1177
+ ## [3.40.1] - 2019-08-12
1178
+
1179
+ ### Fixed
1180
+
1181
+ - Typo on segment path.
1182
+
1183
+ ## [3.40.0] - 2019-08-09
1184
+
1185
+ ## [3.39.0] - 2019-08-09
1186
+
1187
+ ## [3.38.0] - 2019-08-08
1188
+
1189
+ ### Added
1190
+
1191
+ - Inside the class `Translatable`, allow `string` arrays to be translated too.
1192
+
1193
+ ## [3.37.2] - 2019-08-08
1194
+
1195
+ ## [3.37.1] - 2019-08-08
1196
+
1197
+ ## [3.37.0] - 2019-08-08
1198
+
1199
+ ## [3.36.1] - 2019-08-08
1200
+
1201
+ ## [3.36.0] - 2019-08-08
1202
+
1203
+ ## [3.35.0] - 2019-08-01
1204
+
1205
+ ### Fixed
1206
+
1207
+ - Use POST requests for queries only in the `MessagesGraphQL` client, not in the `GraphQLClient`.
1208
+
1209
+ ## [3.34.1] - 2019-07-31
1210
+
1211
+ ## [3.34.0] - 2019-07-30
1212
+
1213
+ ### Fixed
1214
+
1215
+ - Create middleware that deletes headers passed to make cache behavior consistent regarldess of CDN.
1216
+
1217
+ ## [3.33.1] - 2019-07-29
1218
+
1219
+ ### Changed
1220
+
1221
+ - `getAccountData` now requires to pass the param `VtexIdclientAutCookie`.
1222
+
1223
+ ## [3.33.0] - 2019-07-26
1224
+
1225
+ ## [3.32.2] - 2019-07-24
1226
+
1227
+ ### Added
1228
+
1229
+ - Accept `VtexIdclientAutCookie` as param to `getAccountData`.
1230
+
1231
+ ## [3.32.1] - 2019-07-23
1232
+
1233
+ ### Fixed
1234
+
1235
+ - Revert changes made in release 3.31.0.
1236
+
1237
+ ## [3.32.0] - 2019-07-22
1238
+
1239
+ ### Added
1240
+
1241
+ - Function to check resource access in License Manager Client
1242
+
1243
+ ## [3.31.0] - 2019-07-15
1244
+
1245
+ ### Changed
1246
+
1247
+ - Do not separate messages `translate` queries in batches. Instead, use a single POST request for all translations.
1248
+
1249
+ ## [3.30.2] - 2019-07-10
1250
+
1251
+ ## [3.30.1] - 2019-07-10
1252
+
1253
+ ## [3.30.0] - 2019-07-09
1254
+
1255
+ ## [3.29.1] - 2019-07-09
1256
+
1257
+ ## [3.29.0] - 2019-07-09
1258
+
1259
+ ## [3.28.1] - 2019-07-08
1260
+
1261
+ ## [3.28.0] - 2019-07-08
1262
+
1263
+ ## [3.27.2] - 2019-07-08
1264
+
1265
+ ## [3.27.1] - 2019-07-02
1266
+
1267
+ ### Added
1268
+
1269
+ - Http head request
1270
+ - VBase get file metadata
1271
+
1272
+ ## [3.27.0] - 2019-06-27
1273
+
1274
+ ## [3.26.5] - 2019-06-27
1275
+
1276
+ ## [3.26.4] - 2019-06-27
1277
+
1278
+ ### Fixed
1279
+
1280
+ - Removal of circular references in logs.
1281
+
1282
+ ## [3.26.3] - 2019-06-24
1283
+
1284
+ ## [3.26.2] - 2019-06-24
1285
+
1286
+ ## [3.26.1] - 2019-06-21
1287
+
1288
+ ### Fixed
1289
+
1290
+ - Problem with `recorder` inside `context` - Assure that `recorder` is inside `context` at the right moment.
1291
+
1292
+ ## [3.26.0] - 2019-06-19
1293
+
1294
+ ## [3.25.0] - 2019-06-19
1295
+
1296
+ ## [3.24.1] - 2019-06-17
1297
+
1298
+ ### Fixed
1299
+
1300
+ - Fixes `Please use a named function as handler for better metrics` warnings
1301
+
1302
+ ## [3.24.0] - 2019-06-14
1303
+
1304
+ ## [3.24.0-beta.0] - 2019-06-13
1305
+
1306
+ ## [3.24.0-beta] - 2019-06-13
1307
+
1308
+ ### Added
1309
+
1310
+ - Propagate `x-vtex-session` across requests.
1311
+
1312
+ ## [3.23.0] - 2019-06-13
1313
+
1314
+ ### Added
1315
+
1316
+ - Enable environment selection, e.g beta, when cookie `vtex-commerce-env` is set
1317
+
1318
+ ## [3.22.0] - 2019-06-06
1319
+
1320
+ ### Added
1321
+
1322
+ - Typings for Free and Paid Billing Options
1323
+ - Typings for Fixed and Metric-Based Calculation Items
1324
+ - Type guards for Billing Options
1325
+
1326
+ ## [3.21.3] - 2019-06-04
1327
+
1328
+ ## [3.21.2] - 2019-05-27
1329
+
1330
+ ## [3.21.1] - 2019-05-27
1331
+
1332
+ ## [3.21.0] - 2019-05-27
1333
+
1334
+ ## [3.20.0] - 2019-05-27
1335
+
1336
+ ## [3.20.0-beta] - 2019-05-25
1337
+
1338
+ ## [3.19.0] - 2019-05-24
1339
+
1340
+ ## [3.18.2] - 2019-05-23
1341
+
1342
+ ## [3.18.1] - 2019-05-21
1343
+
1344
+ ## [3.18.0] - 2019-05-20
1345
+
1346
+ ### Added
1347
+
1348
+ - Generate `manifest.json` schema from TypeScript definition.
1349
+
1350
+ ## [3.17.0] - 2019-05-20
1351
+
1352
+ ### Added
1353
+
1354
+ - GraphQL Client
1355
+
1356
+ ## [3.16.0] - 2019-05-17
1357
+
1358
+ ## [3.15.1] - 2019-05-17
1359
+
1360
+ ### Changed
1361
+
1362
+ - Change type of `buildFeatures` to `Record<string, string[]>`
1363
+
1364
+ ## [3.15.0] - 2019-05-13
1365
+
1366
+ ## [3.14.1] - 2019-05-10
1367
+
1368
+ ## [3.14.1-beta] - 2019-05-09
1369
+
1370
+ ## [3.14.0] - 2019-05-09
1371
+
1372
+ ## [3.13.1] - 2019-05-09
1373
+
1374
+ ## [3.13.0] - 2019-05-08
1375
+
1376
+ ### Changed
1377
+
1378
+ - Made query string param serialization `repeat` by default. This means arrays, which were previously encoded as e.g. `files[]=a&files[]=b` become `files=a&files=b`.
1379
+
1380
+ ### Added
1381
+
1382
+ - Implement Settings client for `vtex.settings-server`.
1383
+
1384
+ ## [3.12.1] - 2019-05-08
1385
+
1386
+ ## [3.12.0] - 2019-05-07
1387
+
1388
+ ### Added
1389
+
1390
+ - Add "buildFeatures" inside "manifest".
1391
+
1392
+ ## [3.11.0] - 2019-05-06
1393
+
1394
+ ## [3.10.0] - 2019-05-06
1395
+
1396
+ ### Changed
1397
+
1398
+ - Add caller, params and query to error logs
1399
+ - Relax error typing and capture stack automatically
1400
+
1401
+ ## [3.9.2] - 2019-05-02
1402
+
1403
+ ### Fixed
1404
+
1405
+ - Usage of `routes.Links` function in the `routes.Unlink` function (Apps client)
1406
+
1407
+ ## [3.9.1] - 2019-05-02
1408
+
1409
+ ## [3.9.0] - 2019-04-30
1410
+
1411
+ ## [3.8.2-beta] - 2019-04-30
1412
+
1413
+ ## [3.8.1] - 2019-04-26
1414
+
1415
+ ## [3.8.0] - 2019-04-26
1416
+
1417
+ ### Changed
1418
+
1419
+ - Add `adminUserAuthToken` (from cookie `VtexIdclientAutCookie`) and `storeUserAuthToken` (from cookie `VtexIdclientAutCookie_${account}`) to `ctx.vtex`
1420
+
1421
+ ## [3.7.0] - 2019-04-25
1422
+
1423
+ ### Changed
1424
+
1425
+ - Add LicenseManager client
1426
+ - Add Session client
1427
+ - Restructure HttpClient
1428
+ - Implement IOClient
1429
+ - Implement IOClient subclasses
1430
+ - Port all native clients
1431
+ - Reduced default timeout to 1s
1432
+ - Added default `params` to HttpClient
1433
+
1434
+ ## [3.6.1] - 2019-04-24
1435
+
1436
+ ## [3.6.0] - 2019-04-24
1437
+
1438
+ ## [3.5.2-beta] - 2019-04-24
1439
+
1440
+ ## [3.5.1] - 2019-04-23
1441
+
1442
+ ## [3.5.0] - 2019-04-22
1443
+
1444
+ ### Added
1445
+
1446
+ - Add native error and warning classes and log these appropriately.
1447
+
1448
+ ## [3.4.4] - 2019-04-22
1449
+
1450
+ ## [3.4.4-beta] - 2019-04-19
1451
+
1452
+ ### Changed
1453
+
1454
+ - Fixed host reference for Billing metrics sending
1455
+
1456
+ ## [3.4.3] - 2019-04-18
1457
+
1458
+ ## [3.4.2] - 2019-04-18
1459
+
1460
+ ## [3.4.1] - 2019-04-18
1461
+
1462
+ ## [3.4.0] - 2019-04-18
1463
+
1464
+ ## [3.3.1] - 2019-04-16
1465
+
1466
+ ## [3.3.1-beta.1] - 2019-04-17
1467
+
1468
+ ## [3.3.1-beta.0] - 2019-04-17
1469
+
1470
+ ## [3.3.1-beta] - 2019-04-15
1471
+
1472
+ ## [3.3.0] - 2019-04-11
1473
+
1474
+ ### Added
1475
+
1476
+ - Messages `saveTransalation` method
1477
+
1478
+ ## [3.2.4] - 2019-04-10
1479
+
1480
+ ## [3.2.3] - 2019-04-10
1481
+
1482
+ ## [3.2.2] - 2019-04-09
1483
+
1484
+ ## [3.2.1] - 2019-04-09
1485
+
1486
+ ### Fixed
1487
+
1488
+ - Security hole as `Authorization`, `Proxy-Authorization` and `vtexIdClientAutCookie` headers were being sent to graphql errors
1489
+
1490
+ ## [3.2.0] - 2019-04-09
1491
+
1492
+ ## [3.2.0-beta.7] - 2019-04-09
1493
+
1494
+ ## [3.2.0-beta.6] - 2019-04-09
1495
+
1496
+ ## [3.2.0-beta.5] - 2019-04-09
1497
+
1498
+ ## [3.2.0-beta.4] - 2019-04-08
1499
+
1500
+ ## [3.2.0-beta.3] - 2019-04-08
1501
+
1502
+ ### Added
1503
+
1504
+ - `segment.getSegment` and `segment.getSegmentByToken`
1505
+
1506
+ ## [3.2.0-beta.2] - 2019-04-08
1507
+
1508
+ ## [3.2.0-beta.1] - 2019-04-08
1509
+
1510
+ ## [3.2.0-beta.0] - 2019-04-08
1511
+
1512
+ ## [3.2.0-beta] - 2019-04-08
1513
+
1514
+ ### Added
1515
+
1516
+ - Option `forceMaxAge` option to `HttpClient` request config. This allows certain requests to forceably be cached for `forceMaxAge` seconds, regardless of the responses' `Cache-control` header, as long as status is 200.
1517
+
1518
+ ## [3.1.2] - 2019-04-09
1519
+
1520
+ ### Changed
1521
+
1522
+ - Makes errors compliant to [apollo's specification](https://www.apollographql.com/docs/apollo-server/features/errors)
1523
+ - Makes it possible to use graphql handler with a scary warning
1524
+
1525
+ ## [3.1.2-beta.0] - 2019-04-08
1526
+
1527
+ ## [3.1.2-beta] - 2019-04-08
1528
+
1529
+ ## [3.1.0] - 2019-04-04
1530
+
1531
+ ## [3.1.0-beta.0] - 2019-04-04
1532
+
1533
+ ## [3.1.0-beta] - 2019-04-04
1534
+
1535
+ ## [3.0.16] - 2019-04-04
1536
+
1537
+ ## [3.0.16-beta.0] - 2019-04-04
1538
+
1539
+ ## [3.0.16-beta] - 2019-04-04
1540
+
1541
+ ## [3.0.15] - 2019-04-03
1542
+
1543
+ ### Changed
1544
+
1545
+ - Added type inference for `IOClients.getOrSet` method. No need to type instantiations like
1546
+
1547
+ ```ts
1548
+ export class IOClients {
1549
+ public get logger(): Logger {
1550
+ return this.getOrSet('logger', Logger)
1551
+ }
1552
+ }
1553
+ ```
1554
+
1555
+ You can just do
1556
+
1557
+ ```ts
1558
+ export class IOClients {
1559
+ public get logger() {
1560
+ return this.getOrSet('logger', Logger)
1561
+ }
1562
+ }
1563
+ ```
1564
+
1565
+ instead
1566
+
1567
+ ## [3.0.14] - 2019-04-03
1568
+
1569
+ ## [3.0.14-beta.0] - 2019-04-03
1570
+
1571
+ ## [3.0.14-beta] - 2019-04-03
1572
+
1573
+ ## [3.0.13] - 2019-04-03
1574
+
1575
+ ## [3.0.12] - 2019-04-02
1576
+
1577
+ ## [3.0.11] - 2019-03-31
1578
+
1579
+ ## [3.0.11-beta.7] - 2019-03-29
1580
+
1581
+ ## [3.0.11-beta.6] - 2019-03-29
1582
+
1583
+ ## [3.0.11-beta.5] - 2019-03-29
1584
+
1585
+ ## [3.0.11-beta.4] - 2019-03-29
1586
+
1587
+ ## [3.0.11-beta.3] - 2019-03-29
1588
+
1589
+ ## [3.0.11-beta.2] - 2019-03-29
1590
+
1591
+ ## [3.0.11-beta.1] - 2019-03-29
1592
+
1593
+ ## [3.0.11-beta.0] - 2019-03-29
1594
+
1595
+ ## [3.0.11-beta] - 2019-03-29
1596
+
1597
+ ## [3.0.10] - 2019-03-28
1598
+
1599
+ ## [3.0.9] - 2019-03-28
1600
+
1601
+ ### Changed
1602
+
1603
+ - Expose more details on all errors (e.g. operationId, requestId, query source, variables).
1604
+
1605
+ ## [3.0.9-beta.4] - 2019-03-28
1606
+
1607
+ ## [3.0.9-beta.3] - 2019-03-28
1608
+
1609
+ ## [3.0.9-beta.2] - 2019-03-28
1610
+
1611
+ ## [3.0.9-beta.1] - 2019-03-28
1612
+
1613
+ ## [3.0.9-beta.0] - 2019-03-28
1614
+
1615
+ ## [3.0.9-beta] - 2019-03-28
1616
+
1617
+ ## [3.0.8] - 2019-03-28
1618
+
1619
+ ## [3.0.8-beta] - 2019-03-28
1620
+
1621
+ ### Changed
1622
+
1623
+ - Conflate 2xx and 5xx status labels to success and error respectively.
1624
+ - Adds `graphql-operation` metric that considers if _any_ resolver had errors, with two dimensions: success and error
1625
+ - Logs each resolver error individually and add request information
1626
+ - Stop logging successful route handlers
1627
+ - Add single hardcoded retry for sending error logs
1628
+ - Prepare for `graphql` route id (deprecating `__graphql`)
1629
+ - Disallow declaration of `graphql` as http route handler
1630
+
1631
+ ## [3.0.7-beta.0] - 2019-03-28
1632
+
1633
+ ## [3.0.7] - 2019-03-28
1634
+
1635
+ ### Added
1636
+
1637
+ - tsErrorsAsWarnings parameter for the `linkApp` and `relinkApp` methods of the `Builder` class
1638
+
1639
+ ## [3.0.7-beta] - 2019-03-28
1640
+
1641
+ ## [3.0.6] - 2019-03-28
1642
+
1643
+ ## [3.0.5] - 2019-03-27
1644
+
1645
+ ## [3.0.4] - 2019-03-27
1646
+
1647
+ ## [3.0.3] - 2019-03-27
1648
+
1649
+ ### Added
1650
+
1651
+ - Implement new Service() wrapper and port graphql route generation from service-runtime-node.
1652
+
1653
+ ## [3.0.3-beta.4] - 2019-03-27
1654
+
1655
+ ## [3.0.3-beta.3] - 2019-03-27
1656
+
1657
+ ## [3.0.3-beta.2] - 2019-03-27
1658
+
1659
+ ## [3.0.3-beta.1] - 2019-03-26
1660
+
1661
+ ## [3.0.3-beta.0] - 2019-03-26
1662
+
1663
+ ## [3.0.1-beta.28] - 2019-03-26
1664
+
1665
+ ## [3.0.1-beta.27] - 2019-03-26
1666
+
1667
+ ## [3.0.1-beta.26] - 2019-03-26
1668
+
1669
+ ## [3.0.1-beta.25] - 2019-03-26
1670
+
1671
+ ## [3.0.1-beta.24] - 2019-03-26
1672
+
1673
+ ## [3.0.1-beta.23] - 2019-03-26
1674
+
1675
+ ## [3.0.1-beta.22] - 2019-03-26
1676
+
1677
+ ## [3.0.1-beta.21] - 2019-03-26
1678
+
1679
+ ## [3.0.1-beta.20] - 2019-03-25
1680
+
1681
+ ## [3.0.1-beta.19] - 2019-03-25
1682
+
1683
+ ## [3.0.1-beta.18] - 2019-03-25
1684
+
1685
+ ## [3.0.1-beta.17] - 2019-03-21
1686
+
1687
+ ## [3.0.1-beta.16] - 2019-03-21
1688
+
1689
+ ## [3.0.1-beta.15] - 2019-03-21
1690
+
1691
+ ## [3.0.1-beta.14] - 2019-03-21
1692
+
1693
+ ## [3.0.1-beta.13] - 2019-03-20
1694
+
1695
+ ## [3.0.1-beta.12] - 2019-03-20
1696
+
1697
+ ## [3.0.1-beta.11] - 2019-03-20
1698
+
1699
+ ## [3.0.0-beta.16] - 2019-03-20
1700
+
1701
+ ## [3.0.0-beta.15] - 2019-03-20
1702
+
1703
+ ## [3.0.0-beta.14] - 2019-03-20
1704
+
1705
+ ## [3.0.0-beta.13] - 2019-03-20
1706
+
1707
+ ## [3.0.0-beta.12] - 2019-03-20
1708
+
1709
+ ## [3.0.0-beta.11] - 2019-03-20
1710
+
1711
+ ## [3.0.0-beta.10] - 2019-03-19
1712
+
1713
+ ## [3.0.0-beta.9] - 2019-03-19
1714
+
1715
+ ## [3.0.0-beta.8] - 2019-03-18
1716
+
1717
+ ## [3.0.0-beta.7] - 2019-03-18
1718
+
1719
+ ## [3.0.0-beta.6] - 2019-03-18
1720
+
1721
+ ## [3.0.0-beta.5] - 2019-03-18
1722
+
1723
+ ## [3.0.0-beta.4] - 2019-03-17
1724
+
1725
+ ## [3.0.0-beta.3] - 2019-03-17
1726
+
1727
+ ## [3.0.0-beta.2] - 2019-03-17
1728
+
1729
+ ## [3.0.0-beta.1] - 2019-03-17
1730
+
1731
+ ## [3.0.0-beta.0] - 2019-03-17
1732
+
1733
+ ## [3.0.0-beta] - 2019-03-17
1734
+
1735
+ ## [2.4.0] - 2019-03-16
1736
+
1737
+ ## [2.3.6] - 2019-03-16
1738
+
1739
+ ## [2.3.6-beta] - 2019-03-16
1740
+
1741
+ ## [2.3.5] - 2019-03-14
1742
+
1743
+ ## [2.3.4] - 2019-03-14
1744
+
1745
+ ### Changed
1746
+
1747
+ - Add production dimension to all metrics
1748
+
1749
+ ## [2.3.3] - 2019-03-13
1750
+
1751
+ ## [2.3.2] - 2019-03-13
1752
+
1753
+ ## [2.3.1] - 2019-03-13
1754
+
1755
+ ## [2.3.0] - 2019-03-13
1756
+
1757
+ ## [2.3.0-beta.3] - 2019-03-13
1758
+
1759
+ ## [2.3.0-beta.2] - 2019-03-13
1760
+
1761
+ ## [2.3.0-beta.1] - 2019-03-13
1762
+
1763
+ ## [2.3.0-beta.0] - 2019-03-13
1764
+
1765
+ ## [2.3.0-beta] - 2019-03-13
1766
+
1767
+ ### Changed
1768
+
1769
+ - Remove production from MetricsAccumulator methods and add cacheHits
1770
+
1771
+ ## [2.2.0] - 2019-03-12
1772
+
1773
+ ## [2.2.0-beta.0] - 2019-03-11
1774
+
1775
+ ## [2.2.0-beta] - 2019-03-11
1776
+
1777
+ ### Changed
1778
+
1779
+ - Only retry safe requests
1780
+ - Add metrics for proxy timeout and retries
1781
+ - Add `metric` config to clients requests
1782
+ - Add `concurrency` option to HttpClient to limit amount of parallel requests
1783
+
1784
+ ## [2.1.0] - 2019-03-07
1785
+
1786
+ ### Changed
1787
+
1788
+ - Change default retry behaviour to only retry on network error once
1789
+ - Accept retryConfig on each HttpClient
1790
+
1791
+ ## [2.1.0-beta.1] - 2019-02-28
1792
+
1793
+ ## [2.1.0-beta.0] - 2019-02-27
1794
+
1795
+ ## [2.1.0-beta] - 2019-02-27
1796
+
1797
+ ### Changed
1798
+
1799
+ - Added new required parameter to create a new workspace on Workspaces API.
1800
+
1801
+ ## [1.9.0] - 2019-02-25
1802
+
1803
+ ### Added
1804
+
1805
+ - Functions that call new Apps API for dependency resolution.
1806
+
1807
+ ## [1.8.3] - 2019-02-22
1808
+
1809
+ ### Changed
1810
+
1811
+ - Updated App Manifest types
1812
+
1813
+ ## [1.8.2] - 2019-02-22
1814
+
1815
+ ## [1.8.2-beta] - 2019-02-22
1816
+
1817
+ ## [1.8.1] - 2019-02-13
1818
+
1819
+ ## [1.8.1-beta] - 2019-02-12
1820
+
1821
+ ## [1.8.0-beta] - 2019-02-12
1822
+
1823
+ ## [1.7.0] - 2019-02-12
1824
+
1825
+ ### Added
1826
+
1827
+ - segmentToken and sessionToken to IOContext type definition
1828
+
1829
+ ## [1.7.0-beta] - 2019-02-12
1830
+
1831
+ ## [1.6.0] - 2019-01-25
1832
+
1833
+ ## [1.5.4] - 2019-01-17
1834
+
1835
+ ### Added
1836
+
1837
+ - protected context in favor of private one in IODataSource
1838
+
1839
+ ## [1.5.3] - 2019-01-11
1840
+
1841
+ ### Fixed
1842
+
1843
+ - IOContext types mismatch with service-runtime-node
1844
+
1845
+ ## [1.5.2] - 2018-11-27
1846
+
1847
+ ## [1.5.1] - 2018-10-31
1848
+
1849
+ ## [1.5.0] - 2018-10-31
1850
+
1851
+ ## [1.4.0] - 2018-10-29
1852
+
1853
+ ## [1.2.0] - 2018-10-16
1854
+
1855
+ ## [1.1.0] - 2018-10-15
1856
+
1857
+ ## [1.0.0] - 2018-10-08
1858
+
1859
+ ## [1.0.0-beta.16] - 2018-10-08
1860
+
1861
+ ## [1.0.0-beta.15] - 2018-09-28
1862
+
1863
+ ## [1.0.0-beta.14] - 2018-09-25
1864
+
1865
+ ## [1.0.0-beta.13] - 2018-09-25
1866
+
1867
+ ## [1.0.0-beta.12] - 2018-09-25
1868
+
1869
+ ## [1.0.0-beta.11] - 2018-09-25
1870
+
1871
+ ## [1.0.0-beta.10] - 2018-09-25
1872
+
1873
+ ## [1.0.0-beta.9] - 2018-09-25
1874
+
1875
+ ## [1.0.0-beta] - 2018-09-21
1876
+
1877
+ ### Added
1878
+
1879
+ - Added changelog :grimacing:.
1880
+ - Added MetricsAccumulator
1881
+ - Added Metrics support in HttpClient
1882
+
1883
+ ### Changed
1884
+
1885
+ - Lint the whole damn thing.
1886
+ - Update all dependencies.
1887
+
1888
+ ## [0.48.0] - 2018-09-21
1889
+
1890
+ ### Changed
1891
+
1892
+ - `HttpClient` now adds `'Accept-Encoding': 'gzip'` header by default.
1893
+
1894
+
1895
+ [6.49.7]: https://github.com/vtex/node-vtex-api/compare/v6.48.6...v6.49.7
1896
+ [6.45.15]: https://github.com/vtex/node-vtex-api/compare/v6.45.14...v6.45.15
1897
+ [6.45.14]: https://github.com/vtex/node-vtex-api/compare/v6.45.13...v6.45.14
1898
+ [6.45.13]: https://github.com/vtex/node-vtex-api/compare/v6.45.12...v6.45.13
1899
+
1900
+ [6.45.22]: https://github.com/vtex/node-vtex-api/compare/v6.45.21...v6.45.22
1901
+ [6.45.21]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.2...v6.45.21
1902
+ [6.45.21-beta.2]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.1...v6.45.21-beta.2
1903
+ [6.45.21-beta.1]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.0...v6.45.21-beta.1
1904
+ [6.45.21-beta.0]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta...v6.45.21-beta.0
1905
+ [6.45.21-beta]: https://github.com/vtex/node-vtex-api/compare/v6.45.20...v6.45.21-beta
1906
+ [6.45.20]: https://github.com/vtex/node-vtex-api/compare/v6.45.20-beta...v6.45.20
1907
+ [6.45.20-beta]: https://github.com/vtex/node-vtex-api/compare/v6.45.19...v6.45.20-beta
1908
+
1909
+
1910
+ [Unreleased]: https://github.com/vtex/node-vtex-api/compare/v6.50.1...HEAD
1911
+ [6.50.1]: https://github.com/vtex/node-vtex-api/compare/v6.50.1-beta...v6.50.1
1912
+ [6.50.1-beta]: https://github.com/vtex/node-vtex-api/compare/v6.50.0...v6.50.1-beta