@vtex/api 6.45.4

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