BlogDocs

feat(api-client): new onDefaultHeaderChanged hook to track default headers modifications(#1371)

Merged
Comparing
feat/onDefaultHeaderChanged
(
0e6182c
) with
main
(
b2c984a
)
-26%
IMPROVEMENTS
0
REGRESSIONS
2
UNTOUCHED
7
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

[api-client][transformPathToQuery] - transform with header params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with header params
0%
78.3 µs
78.1 µs
[api-gen][generate] - generate schema command
packages/api-gen/tests/generate.bench.ts::api-gen - generate::[api-gen][generate] - generate schema command
0%
7.9 s
7.8 s
[api-client][transformPathToQuery] - transform without any params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform without any params
0%
135.8 µs
135.6 µs
[api-client][transformPathToQuery] - transform with query params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with query params
0%
69.9 µs
69.9 µs
[api-client][transformPathToQuery] - transform with path params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with path params
0%
72.3 µs
72.4 µs
[api-client][transformPathToQuery] - transform with body params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with body params
0%
70.6 µs
70.9 µs
[api-client][transformPathToQuery] - transform with path,query,body,header params
packages/api-client/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with path,query,body,header params
-6%
280.9 µs
299.3 µs
[api-client][createAdminAPIClient] - creating clientRegression
packages/api-client/src/tests/apiClient.bench.ts::apiClient benchmarks::[api-client][createAdminAPIClient] - creating client
-18%
102.5 µs
125.2 µs
[api-client][createAPIClient] - creating clientRegression
packages/api-client/src/tests/apiClient.bench.ts::apiClient benchmarks::[api-client][createAPIClient] - creating client
-26%
96 µs
129 µs

Commits

Click on a commit to change the comparison range
base
main
b2c984a
-26%
Merge branch 'main' into feat/onDefaultHeaderChanged
0e6182c
11 days ago
by patzick
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.