ApplicationInsights-JS

Microsoft Application Insights SDK for JavaScript

MIT License

Downloads
22.8M
Stars
647
Committers
96

Bot releases are hidden (Show)

ApplicationInsights-JS - 2.8.15

Published by MSNev about 1 year ago

Changelog

  • #2100 Update UMD and IIFE Bundle intro for Version 2 to avoid conflicting with other SDK versions
  • #2106 [Master] Consider export IClickAnalyticsConfiguration from the click plugin?
  • #2107 [Master][Task]24316375: add support for cfgSync plugin
  • #2086 [BUG] Field 'fileName' on type 'StackFrame' is too long. Expected: 1024 characters
  • #2094 _getVerifiedStorageObject - contentious sessionStorage element
  • #2096 [Master] Create rollup base to unify bundling
    • #2122 [Master] base rollup fix for version number

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.14...2.8.15

ApplicationInsights-JS - 3.0.2

Published by MSNev over 1 year ago

Changelog

  • #2068 [BUG] SDK fails to initialize when the config includes objects with properties that are not configurable
  • #2075 [BUG] ClickAnalytics throwing errors in console
  • #2065 Type 'T' does not satisfy the constraint 'IConfiguration'
  • #2079 [BUG] The SDK is not limiting the sdkVersion length, which causes the night builds to cause an error
  • #2061 [BUG] hasDocument should be invoked as function
  • #2064 [Main] Task 20788238: [AI] Add ApplicationInsights namespace and workaround to support v2 and v3 loaded from the CDN
  • #2070 [Main] Update Minify script to always sort imports

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/3.0.1...3.0.2

ApplicationInsights-JS - 2.8.14

Published by MSNev over 1 year ago

Changelog

  • #2061 [BUG] hasDocument should be invoked as function
  • #2079 [Master] [BUG] The SDK is not limiting the sdkVersion length, which causes the nightly builds to throw error
  • #2065 [Master] Type 'T' does not satisfy the constraint 'IConfiguration'
  • #2075 [Master] [BUG] ClickAnalytics throwing errors in console
  • #2071 [Master] Update Minify script to always sort imports

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.13...2.8.14

ApplicationInsights-JS - 3.0.1

Published by MSNev over 1 year ago

Changelog

  • #2057 [Main] Add ability to disable the pollInternalLogs via config and change to stop using setInterval #2055
  • #2051 [Main] Fix Perf Tests
  • #2053 [Main] [BUG] Typing issue with generated types causing Type X is not assignable to type Y #2052
  • #2058 [Bug] Fix issues related to dynamic config listeners during unloading
    • Add Promise support during unloading

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/3.0.0...3.0.1

ApplicationInsights-JS - 2.8.13

Published by MSNev over 1 year ago

Changelog

  • #2052 [BUG] Typing issue with generated types causing Type X is not assignable to type Y
  • #2055 Add ability to disable the pollInternalLogs via config and change to stop using setInterval
  • #2049 [Master] Fix Perf Tests

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.12...2.8.13

ApplicationInsights-JS - 3.0.0

Published by MSNev over 1 year ago

Major release with breaking changes from v2.x see v3.x Breaking Changes for details.

Maintained from the main branch, v2.x is in maintenance mode on the master branch

Changelog

  • All code from 2.8.12 has been merged into the main branch and therefore this release

Major Changes

  • Removed ES3 (IE8) Support

  • Enabled dynamic config changes after initialization

    • #1427 Dynamically updating config (for extensions in my case)
  • Too many individual commits to include as most revolve around the breaking changes and enabling dynamic configuration support for each extension

    • All Extensions now share the same configuration object core.config in previous releases each component maintained their own copy with their own default values, now all defaults and configuration values are exposed on the shared config.
    • By default the config object passed in during initialization is NOT the same object as that used as the shared config. Any previous assumptions around this being the same object will now be broken as this was a previously unsupported scenario.
    • All properties of the config object are now using get/set functions (via Object.defineProperty) to allow listeners to be registered (core.onCfgChange and internally onConfigChange) so that the callback function will be called if any referenced config property is changed. Yes, this means you can register your own configuration listener via core.onCfgChange see the AISku Manual Test for an example.
    • All properties present during initialization are converted into dynamic properties and may be monitored, properties added "after" creation (initialization) are not. This is to continue to support IE which does not support Proxy implementation which also means we are not using the Proxy class.
    • Extensions are now responsible for listening and responding to the configuration changes that they want to support
    • Updating the config extensions and channels is NOT supported, you must use the individual plugin add / remove functions if you want to dynamically add / remove extensions / channels
    • Support for parallel channels was removed from the Core and SKU's and extracted to the new TeeChannel, if you require this support you will need to use npm and include this module.
  • v2.x Extension support.

    • While the basic API and support for Backward compatibility for the v2.x extension (plugin) API was maintained, due to the breaking changes (specifically the removal of the namespaced helpers) this will only support self contained components (without recompiling). Any npm module that attempts to import and use a removed helper function will potentially break and will need to be updated to use the newer or replacement helper functions (see the v3.x Breaking Changes for details), if you find an issue and are not able to work around please raise an issue.

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.2...3.0.0

ApplicationInsights-JS - 2.8.12

Published by MSNev over 1 year ago

Changelog

  • #2014 [BUG] The documentation for enableDebug is incorrect, it should reference enableDebugExceptions
  • #2027 [BUG] SDK LOAD Failure reporting not working
  • #2034 [BUG] Failed XHR request after ever tracked item when gathered logs exceed maxBatchSizeInBytes while offline
  • #2037 [Master] Add local storage-based implementation #1419
    • Add support for user provided storage option for Sender
  • #2029 [Master] Add npm-pack and npm-publish tasks
  • #2026 [Master] Fix examples, Throttle tests and export dependency types from Sku

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.11...2.8.12

ApplicationInsights-JS - 2.8.11

Published by MSNev over 1 year ago

Changelog

  • #1996 [BUG] SharedWorker does not Instrument fetch correctly
  • #1995 [BUG] App Insights not auto-capturing from a Web Worker
    • Stops logging that workers can emit the PageView Performance event
  • #1792 [BUG] Documentation should clarify that node apps should use applicationinsights, not this package
  • #1794 [BUG] link on AISKULight goes to not found page
  • #1990 Field 'assembly' on type 'StackFrame' is too long. Expected: 1024 characters [BUG]
  • Update documentation and tests to replace instrumentationKey usage with connectionString
    • #1997 Change Readme
    • #1999 Add snippet connection string tests
  • #1991 Internal Task 17133116: Add Policheck exclusion file
  • #1989 [AI][Task]17099792: Add sample and doc to dependency plugin

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.10...2.8.11

ApplicationInsights-JS - 2.8.10

Published by MSNev over 1 year ago

Changelog

  • #1940 [BUG] Application Insights reports 'not_specified' to Azure when tracking unhandled browser exception
  • #1979 [BUG][ThrottleMgr] Incorrectly fires based on the number of days past
  • #1970 Add the Aborted flag to the dependency initializer / listeners
  • #1981 [AI][Task]16961420: fix throttleMgr incorrectly fires based on the number of days past
  • #1956 [AI Light][Task]14130466: Instrumentation key API is being deprecated - need to add support
  • #1962 Add --no-sandbox to test runs

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.9...2.8.10

ApplicationInsights-JS - 2.8.9

Published by MSNev almost 2 years ago

Changelog

  • #1920 Update to DynamicProto v1.1.7
  • #1935 Update to @microsoft/applicationinsights-shims: 2.0.2
    • #1911 Uncaught ReferenceError: global is not defined
  • #1912 Update PerfTests to use the latest version
  • #1916 [Bug] Fix randomly failing tests
  • #1915 Fix CodeQL Identified potential Issues
  • #1906 [Task]14569737: add throttle cdn config
  • #1930 Remove the source-map-loader from the package.json as we don't use it.

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.8...2.8.9

ApplicationInsights-JS - Shims-2.0.2

Published by MSNev almost 2 years ago

Changelog

  • #1911 Uncaught ReferenceError: global is not defined

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/shims-2.0.1...shims-2.0.2

ApplicationInsights-JS - 2.8.8

Published by MSNev about 2 years ago

  • Updates Chrome Debug Extension to 0.3.8

Changelog

  • #1679 [BUG] enableUnhandledPromiseRejectionTracking shows no error trace
    • #1900 [Task]15465575: add getErrorstackObj from reason.stack
  • #1901 [Feature] Add option to block the creation and usage of the cookies by name
  • #1904 Fixed release notes, previously used a deprecated file.

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.7...2.8.8

ApplicationInsights-JS - 2.8.7

Published by MSNev about 2 years ago

  • Updates Chrome Debug Extension to 0.3.7

Changelog

  • #1863 [BUG]urlCollectQuery not work for applicationinsights-clickanalytics-js
    • #1874 Add clickanalytics plugin url config back
  • #1875 [BUG] error thrown using basic version + NPM setup
    • fix(AISKULight): call getSKUDefaults after it's defined, change this
  • #1878 [JS SDK] Update Retry logic to handle additional response codes
  • #1890 [BUG] Behavior difference for an empty endpointUrl when upgrading from v1 to v2
  • #1895 Fix incorrect disableFetchTracking documentation
  • #1887 maxAjaxCallsPerView doesn't account for filtering by TelemetryInitializer
    • adds addDependencyInitializer()

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.6...2.8.7

ApplicationInsights-JS - 2.8.6

Published by MSNev about 2 years ago

  • React plugin is now located and released from it's own repo
  • React Native plugin is now located and released from it's own repo
  • Updates Chrome Debug Extension to 0.3.6

Changelog

  • #1862 [BUG] Remote Dependency requests don't "always" have the correct ai.operation.id tag (page view race condition)
  • #1870 [BUG] Performance improvements when calling newGuid multiple times (like 10,000)
  • #1865 Update and add legal compliance notices and license terms
  • #1866 Remove React-JS and React-Native code from this repo

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.5...2.8.6

ApplicationInsights-JS - 2.8.5

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.3.5 (with v2.8.5 as dependency) -- using React 17
  • Updates React Native Plugin to 2.5.5 (with v2.8.5 as dependency)
  • Updates Chrome Debug Extension to 0.3.5

Changelog

  • #1636 [BUG] measurements not being sent when using stopTrackEvent(name, properties, measurements);
  • #1857 [BUG] CDN Packaging is not exposing the internal tools (CoreUtils / Telemetry / etc)
    • This was caused by the updated tree-shaking component that we used, fixing this has increased the CDN payload but it provides backward compatibility again
  • #1852 [BUG] Snippet initialization with IE8 fails with minified code (works with un-minified code)
    • This was specific to IE8 usages
  • #1076 Refactor code to provide better tree shaking and minification of generated code
    • Final stage which provides automatic name crunching, however, because of the fix for #1857 the CDN package size does not show the full effect of this improvement
  • #1860 Address Component Governance issues

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.4...2.8.5

ApplicationInsights-JS - 2.8.4

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.3.4 (with v2.8.4 as dependency) -- using React 17
  • Updates React Native Plugin to 2.5.34 (with v2.8.4 as dependency)
  • Updates Chrome Debug Extension to 0.3.4

Changelog

  • #198 Run-time Telemetry initializers for Ajax requests
  • #176 Single Page Application Page View Tracking
  • #1776 How to modify traceflag in traceparent header?
  • #1846 Task 7496325: Add Distributed tracing population for the properties for the core
  • #1838 [master] Task 14447552: Fix Component Governance vulnerabilities
  • #1841 Adding Microsoft SECURITY.MD
  • #1845 add readme for ikey error messge
  • #1840 add disableIkeyMessage config

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.3...2.8.4

ApplicationInsights-JS - 2.8.3

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.3.3 (with v2.8.2 as dependency) -- using React 17
  • Updates React Native Plugin to 2.5.3 (with v2.8.2 as dependency)
  • Updates Chrome Debug Extension to 0.3.3

This release has been manually validated to work with IE8 both directly and by extending the provided classes. While the previous version 2.8.2 also fully supported IE8 it did not handle classes extending the all of Core classes correctly in multiple cases. If you need to support IE8 it is strongly advised that you upgrade to, validate and use this version.

Changelog

  • #1831 Updates to dynamicProto() v1.1.6 which provides a final edge case fix for IE8
    • #50 [IE8] Fix in 1.1.5 only handles 2 levels of dynamically nested classes
  • #1828 Update README.md to redirect to Node.JS
  • #1829 Extracting HOC tracked component class base for re-use
  • #1804 [BUG] Error type in AppInsightsErrorBoundary after upgrading to react 18

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.2...2.8.3

ApplicationInsights-JS - 2.7.6

Published by MSNev over 2 years ago

This release is just to update the base version of dynamicProto(), there is no known changes or issues between v2.7.5 and this release.

  • Updates React Plugin to v3.2.6 (with v2.7.5 as dependency)
  • Updates React Native Plugin to 2.4.6 (with v2.7.5 as dependency)
  • Updates Chrome Debug Extension to 0.2.6

Changelog

  • Updates to dynamicProto() v1.1.6 which provides a final edge case fix for IE8
    • #50 [IE8] Fix in 1.1.5 only handles 2 levels of dynamically nested classes

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.5...2.7.6

ApplicationInsights-JS - 2.8.2

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.3.1 (with v2.8.1 as dependency) -- using React 17
  • Updates React Native Plugin to 2.5.1 (with v2.8.1 as dependency)
  • Updates Chrome Debug Extension to 0.3.0

This patch release restores complete ES3 support (broken in 2.8.0) and IE8 support (broken eariler via dynamicProto()) for the Sdk.

Changelog

  • #1822 [BUG] v2.8.1 with a Hosted IE environment fails to initialize for a hosted instance of IE #1822 (#1824)
  • #1823 [BUG] IE8 Support was broken by several components #1823
  • Also updates to dynamicProto() v1.1.5 to restore IE8 support

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.1...2.8.2

ApplicationInsights-JS - 2.7.5

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.2.5 (with v2.7.5 as dependency)
  • Updates React Native Plugin to 2.4.5 (with v2.7.5 as dependency)
  • Updates Chrome Debug Extension to 0.2.5

Changelog

  • #1823 [BUG] IE8 Support was broken by several components
  • Updates to dynamicProto() v1.1.5 which also fixes IE8 issues

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.4...2.7.5

Package Rankings
Top 1.12% on Npmjs.org
Top 12.5% on Bower.io
Badges
Extracted from project README
GitHub Workflow Status (main) Build Status npm version minified size size gzip size npm version npm version npm version
Related Projects