Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6-beta #2883

Merged
merged 268 commits into from
Jan 9, 2025
Merged

v6-beta #2883

Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
41d5608
👌 fix mistake when resolving conflict
thomas-lebeau Aug 7, 2024
d89794b
[skip ci] Merge branch main into v6
dd-devflow[bot] Aug 7, 2024
bfa6531
[skip ci] main conflicts with v6
dd-devflow[bot] Aug 9, 2024
bc1c866
Merge branch 'v6' into fix-merge-309c8428d2-into-v6
thomas-lebeau Aug 9, 2024
d493db4
👌 fix after merge conflicts
thomas-lebeau Aug 9, 2024
cc1ef0c
[skip ci] Merge branch main into v6
dd-devflow[bot] Aug 9, 2024
da8cbc9
[skip ci] Merge branch main into v6
dd-devflow[bot] Aug 12, 2024
bed9cb2
[skip ci] main conflicts with v6
dd-devflow[bot] Aug 13, 2024
af75c5a
Merge branch 'v6' into fix-merge-670d5ce1a2-into-v6
thomas-lebeau Aug 13, 2024
c1e83c5
fix assign polyfill usage
thomas-lebeau Aug 13, 2024
a007130
[skip ci] Merge branch main into v6
dd-devflow[bot] Aug 13, 2024
bf7b4df
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 2, 2024
2657a83
Merge branch 'v6' into fix-merge-4bc260208b-into-v6
thomas-lebeau Sep 2, 2024
8df94bf
Fix Object.assign usage in mockLocation.ts
thomas-lebeau Sep 2, 2024
1a214d4
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 2, 2024
23bd66a
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 4, 2024
78aa72b
Merge remote-tracking branch 'origin/v6' into fix-merge-1b77d8c567-in…
thomas-lebeau Sep 4, 2024
33c1cd3
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 4, 2024
983b9ff
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 4, 2024
78f0ab3
Merge remote-tracking branch 'origin/v6' into fix-merge-02e5c3a286-in…
thomas-lebeau Sep 4, 2024
e8b3d27
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 5, 2024
c160d55
Merge remote-tracking branch 'origin/v6' into fix-merge-b89d9d1e60-in…
thomas-lebeau Sep 5, 2024
f1bd85f
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 5, 2024
041aa9e
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 5, 2024
e230a4e
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 5, 2024
d1eb57c
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 9, 2024
6440761
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 9, 2024
56e43c9
fix function renaming when fixing conflicts
thomas-lebeau Sep 9, 2024
629b584
Merge remote-tracking branch 'origin/v6' into fix-merge-c6c0ad6125-in…
thomas-lebeau Sep 9, 2024
a36d44f
fix confict resolution errors
thomas-lebeau Sep 9, 2024
199353e
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 9, 2024
5fa2226
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 10, 2024
486fb56
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 10, 2024
1c15d94
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 12, 2024
b87b302
Merge branch 'v6' into fix-merge-73ae1f5caa-into-v6
BenoitZugmeyer Sep 12, 2024
1301915
v6.0.0-alpha.0 (#2983)
thomas-lebeau Sep 12, 2024
4c22cc0
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 12, 2024
87f60e2
👷 add canary deploy job for next major (#2938)
thomas-lebeau Sep 12, 2024
acd7e4f
👷 fix next major deploy job config (#2988)
thomas-lebeau Sep 13, 2024
4faf3ec
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 16, 2024
837e630
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 16, 2024
7df2083
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 16, 2024
609bf75
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 16, 2024
e83ef40
Merge remote-tracking branch 'origin/v6' into fix-merge-f780d02c9d-in…
cy-moi Sep 16, 2024
e56e51b
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 16, 2024
bcc926c
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 16, 2024
1c5688e
Merge branch 'v6' into fix-merge-1ef0ec2259-into-v6
thomas-lebeau Sep 17, 2024
363ca96
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 17, 2024
45e0175
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 17, 2024
2dcb8a9
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 17, 2024
2934444
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 17, 2024
858c75d
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 17, 2024
a8997f2
Merge remote-tracking branch 'origin/v6' into fix-merge-6e60bbab28-in…
BenoitZugmeyer Sep 18, 2024
69ee1d5
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 18, 2024
41fb78d
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 18, 2024
4ab1c1c
Merge remote-tracking branch 'origin/v6' into fix-merge-642be7ab4e-in…
N-Boutaib Sep 18, 2024
d3166d7
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 18, 2024
9b37c8c
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 18, 2024
d25786d
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 18, 2024
eafeb4d
Merge branch 'v6' into fix-merge-fbd15c7a3d-into-v6
thomas-lebeau Sep 19, 2024
bac164a
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 19, 2024
06b4098
Merge branch 'main' into v6
amortemousque Sep 20, 2024
f4c8b22
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 23, 2024
867f512
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 23, 2024
ab770fc
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 24, 2024
c2141b4
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 25, 2024
44ff4de
Merge remote-tracking branch 'origin/v6' into fix-merge-8b5833c3dc-in…
cy-moi Sep 25, 2024
5155b6a
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 25, 2024
d3057ac
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 25, 2024
e72a5be
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 25, 2024
b8d19b8
[skip ci] main conflicts with v6
dd-devflow[bot] Sep 26, 2024
8600326
Merge remote-tracking branch 'origin/v6' into fix-merge-f37adefdbc-in…
thomas-lebeau Sep 26, 2024
ec9c6fe
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 26, 2024
210d046
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 26, 2024
1c09d1a
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 26, 2024
2d178f0
[skip ci] Merge branch main into v6
dd-devflow[bot] Sep 30, 2024
28227dc
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 1, 2024
9aa39c7
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 1, 2024
f759f5a
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 4, 2024
98c7e45
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 7, 2024
d714e82
Merge remote-tracking branch 'origin/main' into v6
BenoitZugmeyer Oct 7, 2024
b4f8faa
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 7, 2024
ef58a3e
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 9, 2024
4790b13
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 9, 2024
336c282
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 10, 2024
74d3916
Merge branch 'v6' into fix-merge-40246d02fc-into-v6
thomas-lebeau Oct 10, 2024
e165af6
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 10, 2024
74c5691
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 10, 2024
cf0d028
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 10, 2024
c364fb7
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 10, 2024
07d741a
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 11, 2024
d48cea2
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 14, 2024
192cfa6
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 14, 2024
d0a9849
Merge branch 'main' into v6
amortemousque Oct 15, 2024
cb9f404
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 16, 2024
41f3e39
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 16, 2024
f7035d6
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 17, 2024
252c03b
Merge remote-tracking branch 'origin/v6' into fix-merge-c179f58780-in…
BenoitZugmeyer Oct 17, 2024
2c87954
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 17, 2024
0940f6d
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 18, 2024
7c46a9c
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 18, 2024
4506fa3
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 21, 2024
c42bacd
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 21, 2024
4c7d3ae
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 21, 2024
5fd328d
Merge branch 'v6' into fix-merge-cbd3978082-into-v6
thomas-lebeau Oct 21, 2024
e12eb72
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 21, 2024
f950b63
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 22, 2024
3ac489a
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 23, 2024
076bd3a
👷 [RUM-6366] disable browserStack tests (#3089)
thomas-lebeau Oct 24, 2024
afe794b
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 24, 2024
e0eb078
Merge remote-tracking branch 'origin/v6' into fix-merge-2752f59f21-in…
thomas-lebeau Oct 24, 2024
04b0b73
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 25, 2024
b32c83b
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 25, 2024
938a9bd
Merge branch 'v6' into fix-merge-20faae1de8-into-v6
thomas-lebeau Oct 25, 2024
b3ab163
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 25, 2024
bf3da0f
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 28, 2024
c21202e
Merge remote-tracking branch 'origin/v6' into fix-merge-11c1fdd73a-in…
cy-moi Oct 29, 2024
df31add
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 29, 2024
96095e1
[skip ci] main conflicts with v6
dd-devflow[bot] Oct 29, 2024
9e54b38
Merge branch 'v6' into fix-merge-84a1fa1708-into-v6
cy-moi Oct 29, 2024
07af42d
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 29, 2024
c356ffa
fix yarn lockfile
thomas-lebeau Oct 30, 2024
ea6ff3f
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 31, 2024
13e8d7a
[skip ci] Merge branch main into v6
dd-devflow[bot] Oct 31, 2024
6013888
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 4, 2024
1a4b01c
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 4, 2024
560f28e
👷‍♀️ [RUM-6424] Change webpack chunk config to speed up local unit te…
cy-moi Nov 5, 2024
56694a1
Revert "👷‍♀️ [RUM-6424] Change webpack chunk config to speed up local…
cy-moi Nov 6, 2024
228d537
Fix unit bs test (#3110)
cy-moi Nov 6, 2024
839bae6
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 11, 2024
b1fc519
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 12, 2024
e2d7906
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 13, 2024
3921352
Merge branch 'v6' into fix-merge-2c81904f0c-into-v6
thomas-lebeau Nov 13, 2024
b93bc17
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 13, 2024
a52e7aa
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 13, 2024
6d874b7
Merge remote-tracking branch 'origin/v6' into fix-merge-c951eecb5f-in…
thomas-lebeau Nov 13, 2024
387a5ee
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 13, 2024
3a00b15
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 15, 2024
7bdf0de
Merge branch 'v6' into fix-merge-021a15c2eb-into-v6
thomas-lebeau Nov 15, 2024
51906cd
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 15, 2024
ea394c8
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 15, 2024
aaceb9c
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 17, 2024
d0150f8
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 18, 2024
22b30aa
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 18, 2024
cd8b0ab
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 18, 2024
3d43c48
Merge branch 'v6' into fix-merge-0a018d6235-into-v6
RomanGaignault Nov 18, 2024
e82bb10
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 18, 2024
6e6f0cb
Merge branch 'main' into v6
amortemousque Nov 19, 2024
7b00adf
fix test
amortemousque Nov 19, 2024
15ae00e
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 19, 2024
8b1e6cb
Fix test
amortemousque Nov 19, 2024
9cb2c56
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 20, 2024
a7a52cd
Merge remote-tracking branch 'origin/v6' into fix-merge-82d898a97e-in…
BenoitZugmeyer Nov 20, 2024
5d602c3
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 20, 2024
b5396bf
fix assign usage
BenoitZugmeyer Nov 20, 2024
feb1b87
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 22, 2024
0679c59
fix-merge-ab74ac7869-into-v6
cy-moi Nov 22, 2024
652afa5
Merge branch 'v6' into fix-merge-ab74ac7869-into-v6
cy-moi Nov 22, 2024
dfb67d2
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 22, 2024
746252d
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 25, 2024
bdec463
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 25, 2024
1568036
Use collectAsyncCalls with promise
amortemousque Nov 26, 2024
ff85ce8
Revert "Use collectAsyncCalls with promise"
amortemousque Nov 26, 2024
bf0c413
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 26, 2024
25b807c
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 26, 2024
37395ed
Merge branch 'v6' into fix-merge-d85a74e07d-into-v6
BenoitZugmeyer Nov 26, 2024
a907602
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 26, 2024
71b642c
Merge branch 'v6' into fix-merge-a46fd38a18-into-v6
BenoitZugmeyer Nov 26, 2024
42fbb68
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 26, 2024
b2f4ff7
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 26, 2024
49dd1ac
Merge remote-tracking branch 'origin/v6' into fix-merge-27f10a597f-in…
BenoitZugmeyer Nov 26, 2024
4437914
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 26, 2024
1d3a441
👷 freeze next major canary deploy (#3176)
thomas-lebeau Nov 27, 2024
dbb1690
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 27, 2024
221551c
✅ [RUM-6813] Use promise in `collectAsyncCalls` instead of a callback…
amortemousque Nov 27, 2024
0d2674d
✨ [RUM-6814] strongly type site parameter (#3161)
thomas-lebeau Nov 27, 2024
89107f0
👷 fix comment on browser support for unicode character escape (#3177)
thomas-lebeau Nov 27, 2024
06de05a
💥 remove useCrossSiteSessionCookie option (#3179)
thomas-lebeau Nov 28, 2024
3485ca5
👷 fix comment about performance.timing.navigationStart (#3180)
thomas-lebeau Nov 28, 2024
1ab5c3f
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 28, 2024
cebe97b
Merge branch 'v6' into fix-merge-f59df7cb79-into-v6
RomanGaignault Nov 28, 2024
cbb238c
prettier
RomanGaignault Nov 28, 2024
14ba666
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 28, 2024
707004a
Add tracestate header when using tracecontext propagator (#3163)
sethfowler-datadog Nov 28, 2024
30f3f0f
[skip ci] main conflicts with v6
dd-devflow[bot] Nov 29, 2024
f113311
Merge branch 'v6' into fix-merge-0dfe31486c-into-v6
thomas-lebeau Nov 29, 2024
03ee4a8
[skip ci] Merge branch main into v6
dd-devflow[bot] Nov 29, 2024
e3809e5
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 2, 2024
36d5260
💥 [RUM 6075] Save anonymous id in session cookie (#2985)
cy-moi Dec 2, 2024
20900d9
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 3, 2024
507c8d6
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 5, 2024
daead32
💥 [RUM-6816] remove sendLogsAfterSessionExpiration (#3183)
thomas-lebeau Dec 5, 2024
8c83595
Merge branch 'main' into v6
amortemousque Dec 6, 2024
f745861
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 9, 2024
47a7810
Revert "👷 freeze next major canary deploy (#3176)" (#3202)
thomas-lebeau Dec 9, 2024
4b24228
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 9, 2024
e4e0f0c
[skip ci] main conflicts with v6
dd-devflow[bot] Dec 10, 2024
4374cfd
Merge remote-tracking branch 'origin/v6' into fix-merge-8c093ddc8e-in…
thomas-lebeau Dec 10, 2024
f2f47c6
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 10, 2024
b2d2720
💥 new default for track* initialization options (#3190)
thomas-lebeau Dec 11, 2024
d9e96bf
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 11, 2024
f162601
[skip ci] main conflicts with v6
dd-devflow[bot] Dec 11, 2024
ff31789
Merge branch 'v6' into fix-merge-518c07a32e-into-v6
thomas-lebeau Dec 11, 2024
5b9c950
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 11, 2024
7335202
👌 fix confict
thomas-lebeau Dec 11, 2024
6e392f4
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 13, 2024
b556782
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 16, 2024
4a95777
💥 default traceContextInjection to sampled (#3212)
thomas-lebeau Dec 16, 2024
ac24238
Merge branch 'main' into v6
amortemousque Dec 16, 2024
c185a3c
Merge branch 'main' into v6
amortemousque Dec 16, 2024
6a3bc2a
Merge remote-tracking branch 'origin/v6' into fix-merge-b9b2592198-in…
thomas-lebeau Dec 17, 2024
3bc542f
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 17, 2024
852cffe
[skip ci] main conflicts with v6
dd-devflow[bot] Dec 17, 2024
74afcaa
Merge branch 'v6' into fix-merge-db5520fb73-into-v6
thomas-lebeau Dec 17, 2024
19cc135
👌 fix conflict
thomas-lebeau Dec 17, 2024
c83326b
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 17, 2024
db2c5bd
⚡️ [RUM-6813] Lazy load session replay (#3152)
amortemousque Dec 18, 2024
d5c008b
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 18, 2024
79698d2
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 19, 2024
937a612
[skip ci] main conflicts with v6
dd-devflow[bot] Dec 19, 2024
f19597e
Merge remote-tracking branch 'origin/v6' into fix-merge-a0e447e340-in…
thomas-lebeau Dec 19, 2024
47560a6
👌 resolve conflit mistake
thomas-lebeau Dec 19, 2024
fa0ed4e
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 19, 2024
31a607d
👷 freeze next major canary deploy (#3237)
thomas-lebeau Dec 20, 2024
1c85c9f
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 20, 2024
b75dd41
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 20, 2024
a7d7cf8
✅ Make tests robust to an instrumentMethod that does not always rewra…
sethfowler-datadog Dec 20, 2024
bb800ae
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 23, 2024
4d8d86d
✨ [RUM-175] sanitize RegExp and Event (#3188)
thomas-lebeau Dec 23, 2024
e7a5d37
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 30, 2024
228e127
[skip ci] Merge branch main into v6
dd-devflow[bot] Dec 30, 2024
ecb2fb1
💥 [RUM-7704] Remove anonymous user feature flag for v6 (#3216)
cy-moi Jan 3, 2025
08ea15c
Revert "💥 [RUM-7704] Remove anonymous user feature flag for v6 (#3216)"
cy-moi Jan 3, 2025
49a2e47
💥 [RUM-7704] Remove anonymous user feature flag for v6 (#3243)
cy-moi Jan 3, 2025
b755d40
[skip ci] main conflicts with v6
dd-devflow[bot] Jan 6, 2025
09e7d13
Merge remote-tracking branch 'origin/v6' into fix-merge-6fb4e3cd68-in…
BenoitZugmeyer Jan 6, 2025
356436d
[skip ci] Merge branch main into v6
dd-devflow[bot] Jan 6, 2025
fe7dcbb
Revert "👷 freeze next major canary deploy (#3237)" (#3253)
cy-moi Jan 7, 2025
a55395d
[skip ci] main conflicts with v6
dd-devflow[bot] Jan 7, 2025
4105dcf
Merge remote-tracking branch 'origin/v6' into fix-merge-8faeb6420b-in…
cy-moi Jan 7, 2025
d4937b8
[skip ci] Merge branch main into v6
dd-devflow[bot] Jan 7, 2025
cf2aed5
[skip ci] main conflicts with v6
dd-devflow[bot] Jan 7, 2025
2b51baa
Merge remote-tracking branch 'origin/v6' into fix-merge-5f995a4bac-in…
BenoitZugmeyer Jan 7, 2025
af34299
[skip ci] Merge branch main into v6
dd-devflow[bot] Jan 7, 2025
dc336e6
[skip ci] main conflicts with v6
dd-devflow[bot] Jan 8, 2025
d260338
Merge remote-tracking branch 'origin/v6' into fix-merge-fc08ba7a64-in…
thomas-lebeau Jan 8, 2025
27a0665
[skip ci] Merge branch main into v6
dd-devflow[bot] Jan 8, 2025
6d238d8
✅ fix session store e2e to account for anonymous id (#3265)
thomas-lebeau Jan 8, 2025
34e228c
👷 enable check staging merge (#3264)
thomas-lebeau Jan 8, 2025
7d87e69
👌 capialize type name
thomas-lebeau Jan 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module.exports = {
'one-var': ['error', 'never'],
'prefer-rest-params': 'off',
'prefer-template': 'error',
'prefer-object-spread': 'error',
quotes: ['error', 'single', { avoidEscape: true }],
radix: 'error',
'require-await': 'error',
Expand Down Expand Up @@ -234,10 +235,6 @@ module.exports = {
selector: 'ClassDeclaration',
message: 'Classes are not allowed. Use functions instead.',
},
{
selector: 'ObjectExpression > SpreadElement',
message: 'Object spread is not authorized. Please use "assign" from the core package utils instead.',
},
{
selector: 'ArrayExpression > SpreadElement',
message: 'Array spread is not authorized. Please use .concat instead.',
Expand Down
22 changes: 11 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,17 +447,17 @@ merge-into-next-major:
- yarn
- node scripts/update-branch.js $NEXT_MAJOR_BRANCH

check-staging-merge:
stage: test
extends:
- .base-configuration
- .feature-branches
interruptible: true
before_script:
- eval $(ssh-agent -s)
script:
- yarn
- node scripts/staging-ci/check-staging-merge.js
# check-staging-merge:
# stage: test
# extends:
# - .base-configuration
# - .feature-branches
# interruptible: true
# before_script:
# - eval $(ssh-agent -s)
# script:
# - yarn
# - node scripts/staging-ci/check-staging-merge.js

# A noop job that's used to signal to `to-staging` that it can merge to the
# staging branch, even though the pipeline is still running
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { isIE } from '../../../../../../packages/core/src/tools/utils/browserDetection'
import type { TelemetryEvent } from '../../../../../../packages/core/src/domain/telemetry'
import type { LogsEvent } from '../../../../../../packages/logs/src/logsEvent.types'
import type { RumEvent } from '../../../../../../packages/rum-core/src/rumEvent.types'
Expand All @@ -14,11 +13,6 @@ const LOG_EVENT = {
} as LogsEvent

describe('getIntakeUrlForEvent', () => {
beforeEach(() => {
if (isIE()) {
pending('IE not supported')
}
})
it('should return undefined when RUM is not present', () => {
expect(getIntakeUrlForEvent({} as any, RUM_ERROR_EVENT)).toBeUndefined()
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { isIE, isSafari } from '../../../../../packages/core/src/tools/utils/browserDetection'
import { isSafari } from '../../../../../packages/core/src/tools/utils/browserDetection'
import { parseQuery, matchWithWildcard } from './eventFilters'

if (!isIE() && !isSafari()) {
if (!isSafari()) {
describe('parseQuery', () => {
it('return a simple field', () => {
expect(parseQuery('foo:bar')).toEqual([['foo', 'bar']])
Expand Down
22 changes: 9 additions & 13 deletions packages/core/src/boot/init.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { catchUserErrors } from '../tools/catchUserErrors'
import { setDebugMode } from '../tools/monitor'
import { assign } from '../tools/utils/polyfills'
import { display } from '../tools/display'

// replaced at build time
Expand All @@ -21,19 +20,16 @@ export interface PublicApi {
}

export function makePublicApi<T extends PublicApi>(stub: Omit<T, keyof PublicApi>): T {
const publicApi = assign(
{
version: __BUILD_ENV__SDK_VERSION__,

// This API method is intentionally not monitored, since the only thing executed is the
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
// we don't want to interfere with the user uncaught exceptions.
onReady(callback: () => void) {
callback()
},
const publicApi = {
version: __BUILD_ENV__SDK_VERSION__,
// This API method is intentionally not monitored, since the only thing executed is the
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
// we don't want to interfere with the user uncaught exceptions.
onReady(callback: () => void) {
callback()
},
stub
)
...stub,
}

// Add a "hidden" property to set debug mode. We define it that way to hide it
// as much as possible but of course it's not a real protection.
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/browser/fetchObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { MockFetch, MockFetchManager } from '../../test'
import { registerCleanupTask, mockFetch } from '../../test'
import { isIE } from '../tools/utils/browserDetection'
import type { Subscription } from '../tools/observable'
import type { FetchResolveContext, FetchContext } from './fetchObservable'
import { initFetchObservable } from './fetchObservable'
Expand All @@ -17,9 +16,6 @@ describe('fetch proxy', () => {
let fetch: MockFetch

beforeEach(() => {
if (isIE()) {
pending('no fetch support')
}
mockFetchManager = mockFetch()
originalMockFetch = window.fetch

Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/browser/fetchObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { InstrumentedMethodCall } from '../tools/instrumentMethod'
import { instrumentMethod } from '../tools/instrumentMethod'
import { monitor } from '../tools/monitor'
import { Observable } from '../tools/observable'
import { assign } from '../tools/utils/polyfills'
import type { ClocksState } from '../tools/utils/timeUtils'
import { clocksNow } from '../tools/utils/timeUtils'
import { normalizeUrl } from '../tools/utils/urlPolyfill'
Expand Down Expand Up @@ -101,7 +100,7 @@ function afterSend(

function reportFetch(partialContext: Partial<FetchResolveContext>) {
context.state = 'resolve'
assign(context, partialContext)
Object.assign(context, partialContext)
observable.notify(context)
}

Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/browser/pageExitObservable.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Observable } from '../tools/observable'
import { objectValues, includes } from '../tools/utils/polyfills'
import { objectValues } from '../tools/utils/polyfills'
import type { Configuration } from '../domain/configuration'
import { addEventListeners, addEventListener, DOM_EVENT } from './addEventListener'

Expand Down Expand Up @@ -51,6 +51,6 @@ export function createPageExitObservable(configuration: Configuration): Observab
})
}

export function isPageExitReason(reason: string | undefined): reason is PageExitReason {
return includes(objectValues(PageExitReason), reason)
export function isPageExitReason(reason: string): reason is PageExitReason {
return objectValues(PageExitReason).includes(reason as PageExitReason)
}
4 changes: 0 additions & 4 deletions packages/core/src/browser/xhrObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Configuration } from '../domain/configuration'
import { withXhr, mockXhr } from '../../test'
import { isIE } from '../tools/utils/browserDetection'
import type { Subscription } from '../tools/observable'
import type { XhrCompleteContext, XhrContext } from './xhrObservable'
import { initXhrObservable } from './xhrObservable'
Expand Down Expand Up @@ -346,9 +345,6 @@ describe('xhr observable', () => {
})

it('should track request to URL object', (done) => {
if (isIE()) {
pending('IE not supported')
}
withXhr({
setup(xhr) {
xhr.open('GET', new URL('http://example.com/path'))
Expand Down
69 changes: 33 additions & 36 deletions packages/core/src/domain/configuration/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { ONE_SECOND } from '../../tools/utils/timeUtils'
import { isPercentage } from '../../tools/utils/numberUtils'
import { ONE_KIBI_BYTE } from '../../tools/utils/byteUtils'
import { objectHasValue } from '../../tools/utils/objectUtils'
import { assign } from '../../tools/utils/polyfills'
import { selectSessionStoreStrategyType } from '../session/sessionStore'
import type { SessionStoreStrategyType } from '../session/storeStrategies/sessionStoreStrategy'
import { TrackingConsent } from '../trackingConsent'
Expand Down Expand Up @@ -161,7 +160,7 @@ type GenericBeforeSendCallback = (event: any, context?: any) => unknown
*/
type ProxyFn = (options: { path: string; parameters: string }) => string

interface ReplicaUserConfiguration {
export interface ReplicaUserConfiguration {
applicationId?: string
clientToken: string
}
Expand Down Expand Up @@ -242,43 +241,41 @@ export function validateAndBuildConfiguration(initConfiguration: InitConfigurati
return
}

return assign(
{
beforeSend:
initConfiguration.beforeSend && catchUserErrors(initConfiguration.beforeSend, 'beforeSend threw an error:'),
sessionStoreStrategyType: selectSessionStoreStrategyType(initConfiguration),
sessionSampleRate: initConfiguration.sessionSampleRate ?? 100,
telemetrySampleRate: initConfiguration.telemetrySampleRate ?? 20,
telemetryConfigurationSampleRate: initConfiguration.telemetryConfigurationSampleRate ?? 5,
telemetryUsageSampleRate: initConfiguration.telemetryUsageSampleRate ?? 5,
service: initConfiguration.service || undefined,
silentMultipleInit: !!initConfiguration.silentMultipleInit,
allowUntrustedEvents: !!initConfiguration.allowUntrustedEvents,
trackingConsent: initConfiguration.trackingConsent ?? TrackingConsent.GRANTED,
storeContextsAcrossPages: !!initConfiguration.storeContextsAcrossPages,
/**
* beacon payload max queue size implementation is 64kb
* ensure that we leave room for logs, rum and potential other users
*/
batchBytesLimit: 16 * ONE_KIBI_BYTE,
return {
beforeSend:
initConfiguration.beforeSend && catchUserErrors(initConfiguration.beforeSend, 'beforeSend threw an error:'),
sessionStoreStrategyType: selectSessionStoreStrategyType(initConfiguration),
sessionSampleRate: initConfiguration.sessionSampleRate ?? 100,
telemetrySampleRate: initConfiguration.telemetrySampleRate ?? 20,
telemetryConfigurationSampleRate: initConfiguration.telemetryConfigurationSampleRate ?? 5,
telemetryUsageSampleRate: initConfiguration.telemetryUsageSampleRate ?? 5,
service: initConfiguration.service || undefined,
silentMultipleInit: !!initConfiguration.silentMultipleInit,
allowUntrustedEvents: !!initConfiguration.allowUntrustedEvents,
trackingConsent: initConfiguration.trackingConsent ?? TrackingConsent.GRANTED,
storeContextsAcrossPages: !!initConfiguration.storeContextsAcrossPages,
/**
* beacon payload max queue size implementation is 64kb
* ensure that we leave room for logs, rum and potential other users
*/
batchBytesLimit: 16 * ONE_KIBI_BYTE,

eventRateLimiterThreshold: 3000,
maxTelemetryEventsPerPage: 15,
eventRateLimiterThreshold: 3000,
maxTelemetryEventsPerPage: 15,

/**
* flush automatically, aim to be lower than ALB connection timeout
* to maximize connection reuse.
*/
flushTimeout: (30 * ONE_SECOND) as Duration,
/**
* flush automatically, aim to be lower than ALB connection timeout
* to maximize connection reuse.
*/
flushTimeout: (30 * ONE_SECOND) as Duration,

/**
* Logs intake limit
*/
batchMessagesLimit: 50,
messageBytesLimit: 256 * ONE_KIBI_BYTE,
},
computeTransportConfiguration(initConfiguration)
)
/**
* Logs intake limit
*/
batchMessagesLimit: 50,
messageBytesLimit: 256 * ONE_KIBI_BYTE,
...computeTransportConfiguration(initConfiguration),
}
}

export function serializeConfiguration(initConfiguration: InitConfiguration) {
Expand Down
12 changes: 5 additions & 7 deletions packages/core/src/domain/configuration/endpointBuilder.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { BuildEnvWindow } from '../../../test'
import { startsWith } from '../../tools/utils/polyfills'
import type { Payload } from '../../transport'
import type { InitConfiguration } from './configuration'
import { createEndpointBuilder } from './endpointBuilder'
Expand Down Expand Up @@ -69,12 +68,11 @@ describe('endpointBuilder', () => {
})

it('normalizes the proxy url', () => {
expect(
startsWith(
createEndpointBuilder({ ...initConfiguration, proxy: '/path' }, 'rum', []).build('xhr', DEFAULT_PAYLOAD),
`${location.origin}/path?ddforward`
)
).toBeTrue()
const endpoint = createEndpointBuilder({ ...initConfiguration, proxy: '/path' }, 'rum', []).build(
'xhr',
DEFAULT_PAYLOAD
)
expect(endpoint.startsWith(`${location.origin}/path?ddforward`)).toBeTrue()
})

it('should allow to fully control the proxy url', () => {
Expand Down
26 changes: 14 additions & 12 deletions packages/core/src/domain/configuration/transportConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { objectValues, assign } from '../../tools/utils/polyfills'
import { objectValues } from '../../tools/utils/polyfills'
import type { InitConfiguration } from './configuration'
import type { EndpointBuilder } from './endpointBuilder'
import { createEndpointBuilder } from './endpointBuilder'
Expand Down Expand Up @@ -30,14 +30,12 @@ export function computeTransportConfiguration(initConfiguration: InitConfigurati

const replicaConfiguration = computeReplicaConfiguration(initConfiguration, intakeUrlPrefixes, tags)

return assign(
{
isIntakeUrl: (url: string) => intakeUrlPrefixes.some((intakeEndpoint) => url.indexOf(intakeEndpoint) === 0),
replica: replicaConfiguration,
site,
},
endpointBuilders
)
return {
isIntakeUrl: (url: string) => intakeUrlPrefixes.some((intakeEndpoint) => url.indexOf(intakeEndpoint) === 0),
replica: replicaConfiguration,
site,
...endpointBuilders,
}
}

function computeEndpointBuilders(initConfiguration: InitConfiguration, tags: string[]) {
Expand All @@ -57,10 +55,11 @@ function computeReplicaConfiguration(
return
}

const replicaConfiguration: InitConfiguration = assign({}, initConfiguration, {
const replicaConfiguration: InitConfiguration = {
...initConfiguration,
site: INTAKE_SITE_US1,
clientToken: initConfiguration.replica.clientToken,
})
}

const replicaEndpointBuilders = {
logsEndpointBuilder: createEndpointBuilder(replicaConfiguration, 'logs', tags),
Expand All @@ -69,7 +68,10 @@ function computeReplicaConfiguration(

intakeUrlPrefixes.push(...objectValues(replicaEndpointBuilders).map((builder) => builder.urlPrefix))

return assign({ applicationId: initConfiguration.replica.applicationId }, replicaEndpointBuilders)
return {
applicationId: initConfiguration.replica.applicationId,
...replicaEndpointBuilders,
}
}

function computeIntakeUrlPrefixes(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */
import { isIE } from '../../tools/utils/browserDetection'
import { ConsoleApiName } from '../../tools/display'
import type { Subscription } from '../../tools/observable'
import type { ErrorConsoleLog } from './consoleObservable'
Expand Down Expand Up @@ -104,11 +103,7 @@ describe('console error observable', () => {
it('should extract stack from first error', () => {
console.error(new TypeError('foo'), new TypeError('bar'))
const stack = notifyLog.calls.mostRecent().args[0].error.stack
if (!isIE()) {
expect(stack).toMatch(/^TypeError: foo\s+at/)
} else {
expect(stack).toContain('TypeError: foo')
}
expect(stack).toContain('TypeError: foo')
})

it('should retrieve fingerprint from error', () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/domain/console/consoleObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { mergeObservables, Observable } from '../../tools/observable'
import { ConsoleApiName, globalConsole } from '../../tools/display'
import { callMonitored } from '../../tools/monitor'
import { sanitize } from '../../tools/serialisation/sanitize'
import { find } from '../../tools/utils/polyfills'
import { jsonStringify } from '../../tools/serialisation/jsonStringify'
import type { RawError } from '../error/error.types'
import { ErrorHandling, ErrorSource } from '../error/error.types'
Expand Down Expand Up @@ -74,7 +73,7 @@ function buildConsoleLog(params: unknown[], api: ConsoleApiName, handlingStack:
let error: RawError | undefined

if (api === ConsoleApiName.error) {
const firstErrorParam = find(params, (param: unknown): param is Error => param instanceof Error)
const firstErrorParam = params.find((param: unknown): param is Error => param instanceof Error)

error = {
stack: firstErrorParam ? toStackTraceString(computeStackTrace(firstErrorParam)) : undefined,
Expand Down
Loading