-
Notifications
You must be signed in to change notification settings - Fork 142
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
✅ [RUMF-1090] update minimal version to 3.8.2 #1219
✅ [RUMF-1090] update minimal version to 3.8.2 #1219
Conversation
@@ -19,7 +19,7 @@ | |||
}, | |||
"devDependencies": { | |||
"ts-loader": "6.2.1", | |||
"typescript": "3.0.1", | |||
"typescript": "3.8.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stable 3.8.0 and 3.8.1 don't exist: they were used as dev and rc versions. Let's use the first 3.8 stable version, which is 3.8.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update RUM and Logs Readme where we mention:
Types are compatible with TypeScript >= 3.0
…ase-minimum-supported-ts-version
pm_trace_id: 6502873 feature_branch_pipeline_id: 6502873 source: to-staging * commit '65ad0eeefe4f2a22e0665cab456ab6c7e1636b4d': 📝 [RUMF-1130] add migration guide to the CHANGELOG (#1238) v3.11.0 (#1239) 🐛 improve privacy computation on a single node (#1226) 🏷️ [RUMF-1098] move init options into their related interfaces (#1232) 🔥 [RUMF-1093] deprecated proxyhost option (#1227) 🐛 [RUMF-1124] Use the programmatic action attribute instead of innertext (#1200) 🔥 [RUMF-1094] remove deprecated privacy attributes (#1224) ♻️ [RUMF-1092] use a WeakMap to store XHR context (#1222) ✅ [RUMF-1090] update minimal version to 3.8.2 (#1219) ✨ [RUMF-827] sanitize tags (#1218) 🔥 [RUMF-1089] Cleanup legacy intake URLs (#1214)
* 🔥 [RUMF-1089] Cleanup legacy intake URLs (#1214) * 🔥 Cleanup legacy intake URLs * Use parametrized test * ✨ [RUMF-827] sanitize tags (#1218) * ♻️ [RUMF-827] add function to build tags at a higher level * ✨ [RUMF-827] sanitize tags * 👌 simplify implementation * Single warning message * Keep sanitization to make sure we can't forge multiple tags from a single value * Removed the "ending semicolon" restriction since it only applies if there is no other semicolon in the whole tag (ex: "env:bar:" and "env::" are valid, but "env:" is not). Here, we are sure there is a semicolon, since we add one ourselves. * ✅ use valid tag values in tests * ✅ [RUMF-1090] update minimal version to 3.8.2 (#1219) * ✅ [RUMF-1090] update minimal version to 3.8.2 * 👌 update mentions of TS 3.0 * 🔥 remove typings utilities now available in TS * ♻️ [RUMF-1092] use a WeakMap to store XHR context (#1222) * ♻️ [RUMF-1092] use a WeakMap to store XHR context * smaller weakmap typings Co-authored-by: Aymeric <aymeric.mortemousque@datadoghq.com> Co-authored-by: Aymeric <aymeric.mortemousque@datadoghq.com> * 🔥 [RUMF-1094] remove deprecated privacy attributes (#1224) * 🔥 [RUMF-1094] remove deprecated attributes * ✅ revamp privacy.spec tests To have a better vision on what's being tested by `privacy.spec`, some cleanup was necessary. I took the opportunity to remove some deprecated variables to improve things here. * `getNodeSelfPrivacyLevel`: consolidate tests with more test cases and highlight current modes priority * `getNodePrivacyLevel`: remove tests cases when they are already handled by `getNodeSelfPrivacyLevel` and consolidate tests on fallback value and inheritance * `serializeDocumentNode`: move those tests to `serialize.spec` since we don't use privacy functions here As well as a few cosmetic changes. * 🐛 [RUMF-1124] Use the programmatic action attribute instead of innertext (#1200) * Use the programmatic action attribute instead of innertext for fetching the textual content Use the programmatic action attribute instead of innertext for fetching the textual content * Addressing the review comments * also consider programmatic action names from user defined attribute * 🐛 fix compatibility with IE11 * 👌 move tests into a more appropriate `describe` Co-authored-by: Benoît Zugmeyer <benoit.zugmeyer@datadoghq.com> * 🔥 [RUMF-1093] deprecated proxyhost option (#1227) * 🔥 Remove deprecated proxyhost option * Update performance project * ♻️ Simplidy endpointBuilder Co-authored-by: Benoît Zugmeyer <benoit.zugmeyer@datadoghq.com> * 🏷️ [RUMF-1098] move init options into their related interfaces (#1232) * 🏷️ [RUMF-1098] move init options into their related interfaces Also, reorder/group init options * 👌 use ReadonlyArray for allowedTracingOrigins * 👌 make beforeSend typing clearer in core * 🐛 improve privacy computation on a single node (#1226) This commit make sure class names and attributes are treated equally, and that the most restrictive privacy level takes precedence over the other. * 📝 [RUMF-1130] add migration guide to the CHANGELOG (#1238) * 📝 [RUMF-1130] add migration guide to the CHANGELOG * 👌 review changes * Update CHANGELOG.md Co-authored-by: Bastien Caudan <bastien.caudan@datadoghq.com> Co-authored-by: Bastien Caudan <bastien.caudan@datadoghq.com> * 👌 fix small typo in CHANGELOG Co-authored-by: Aymeric <aymeric.mortemousque@datadoghq.com> Co-authored-by: MaheshGit233 <32537764+MaheshGit233@users.noreply.github.com> Co-authored-by: Bastien Caudan <bastien.caudan@datadoghq.com>
Motivation
Allows to use newer TS features in consumed typings (ex:
import type
)Changes
Update minimal TS version to 3.8.2 (the first stable release of TS 3.8)
Testing
I have gone over the contributing documentation.