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