[BUG] Adding new on-by-default telemetry is a breaking change, and should involve a major version bump #1808 (#1809)
This commit is contained in:
Родитель
64b7c7a353
Коммит
39b8100f4a
|
@ -8,6 +8,11 @@
|
|||
- Updates React Native Plugin to 2.5.0 (with v2.8.9 as dependency)
|
||||
- Updates Chrome Debug Extension to 0.3.0
|
||||
|
||||
### Potential Breaking Change
|
||||
|
||||
- `fetch` Ajax tracking was also been change to be on by default from this version moving forward, if you are running in an environment without `fetch` support and you are using an incompatible polyfill (that doesn't identify itself as a polyfill) or the SDK you start seeing recursive or duplicate (`fetch` and `XHR` requests) being reported you WILL need to add `disableFetchTracking` with a value of `true` to your configuration to disable this functionality.
|
||||
- TypeScript 4.x required for some typings from the core EnumHelperFuncs.d.ts
|
||||
|
||||
### Significant changes
|
||||
|
||||
This release adds support for the SDK to
|
||||
|
@ -19,7 +24,6 @@ This release adds support for the SDK to
|
|||
- New helper to get any plugin from an initialized SDK via `appInsights.getPlugin("...identifier...")`
|
||||
- Dynamically remove a plugin via the `appInsights.getPlugin("...identifier..").remove()`
|
||||
- Enable / Disable any plugin (even if the plugin doesn't support disabling itself) via `appInsights.getPlugin("...identifier...").setEnabled(true/false)`
|
||||
- `fetch` Ajax tracking was also been change to be on by default from this version moving forward, if you are running in an environment without `fetch` support and you are using an incompatible polyfill (that doesn't identify itself as a polyfill) or the SDK you start seeing recursive or duplicate (`fetch` and `XHR` requests) being reported you WILL need to add `disableFetchTracking` with a value of `true` to your configuration to disable this functionality.
|
||||
- The standard name fro the `analytics` plugin @microsoft/applicationinsights-analytics-js has been renamed and is now exported as `AnalyticsPlugin`, for backward compatibility it is also exported as it's previous name `ApplicationInsights`, if you are using it directly it is recommended that you update to use the new exported name.
|
||||
|
||||
While this release contains a substantial amount of additional functionality and code, there has also been significant minification efforts (which also drove some of the SDK naming) to keep the minified code around the same size. We intend to keep working on additional improvements to attempt to bring the size changes down further. However, the minification improvements do generally cause a lower level of GZip compression most because of the removal of duplicate names. The main readme for the [AISKU](https://github.com/microsoft/ApplicationInsights-JS/tree/master/AISKU) has a table of the CDN base SKU sizes, as the CDN version includes all public API's (older versions for backward compatibility and newer smaller versions) when using NPM you should see smaller sizes than those shown.
|
||||
|
|
Загрузка…
Ссылка в новой задаче