Microsoft Application Insights SDK for JavaScript
MIT License
Bot releases are hidden (Show)
Published by MSNev over 2 years ago
This patch release restores TypeScript 3.x support for the Sdk.
Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.0...2.8.1
Published by MSNev over 2 years ago
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.This release adds support for the SDK to
BaseCore
so they are now available as part of all Sku's and not just those using the analytics
plugin (@microsoft/applicationinsights-analytics-js) using the appInsights.addTelemetryInitializer(...)
eventOn(...)
and eventOff(...)
API's.appInsights.unload(...)
function.appInsights.addPlugin(...)
functionappInsights.getPlugin("...identifier...")
appInsights.getPlugin("...identifier..").remove()
appInsights.getPlugin("...identifier...").setEnabled(true/false)
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 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.
Note:
Due to the above changes required to support the above, there may be some minor TypeScript Type compatibility warnings when you attempt to use components from v2.8.0 with older SDK's (forward compatibility), backward compatibility, using Core v2.8.0 with older components is supported and v2.8.0 is completely backward compatible. This is due to some API's now support both older (for back compat) and new enhanced arguments, we have attempted to keep these changes to a minimum.
If you are getting typing errors such as "Argument of type 'XXXXX' os not assignable to parameter of type 'YYYY'", please ensure that you are using all v2.8.0 components and raise an issue if this does not resolve you issue. As a work around casting to work around this warning should not cause any issues.
Due to the size of this change, the above date is the NPM release date and CDN deployment will be over an extended period.
upstream/beta
into master
teardown()
functionality)Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.4...2.8.0
Published by MSNev over 2 years ago
This release is primarily a performance improvement release where we will now use any built in (or provided polyfill) function
over the internal polyfills for
Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.3...2.7.4
Published by MSNev over 2 years ago
Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.0...2.7.3
Published by MSNev almost 3 years ago
Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.1...2.7.2
Published by MSNev almost 3 years ago
Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.0...2.7.1
Published by MSNev about 3 years ago
Major change: Upgrades build environment to TypeScript 4.x
Includes: 2.7.0-beta.1 Milestone
Published by MSNev about 3 years ago
Published by MSNev about 3 years ago
Published by MSNev over 3 years ago
Published by MSNev over 3 years ago
enableRequestHeaderTracking
is enabled, if you want these headers to be sent to AzureMonitor you will need to override the default ignoreHeaders
config which excludes them (See the Configuration settings).Published by MSNev over 3 years ago
Published by MSNev over 3 years ago
Published by MSNev over 3 years ago
A large amount of Tree-Shaking improvements have been included in this version, please see the recommendations you may need to apply to your code to take complete advantage of these changes to reduce the overall module sizes (when using NPM packages)
Also includes major changes to the cookie management, please see the readme cookie configuration section and cookie handling changes.
applicationinsights-web.d.ts
(This version is namespaced) and applicationinsights-web.rollup.d.ts
in the dist folderPublished by MSNev over 3 years ago
Published by MSNev almost 4 years ago
Provides the ability to gather telemetry in Web pages to automatic track clicks using data meta tags.
Published by MSNev about 4 years ago
Published by MSNev about 4 years ago
Published by MSNev about 4 years ago
Published by MSNev over 4 years ago