Skip to content

Releases: microsoft/ApplicationInsights-JS

3.0.1

02 May 17:24
9cfde8c
Compare
Choose a tag to compare

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

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

Full Changelog: 3.0.0...3.0.1

2.8.13

02 May 14:53
97014a2
Compare
Choose a tag to compare

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

  • [Master] Fix Perf Tests by @MSNev in #2049
  • [Master][BUG] Typing issue with generated types causing Type X is not assignable to type Y #2052 by @MSNev in #2054
  • [Master] Add ability to disable the pollInternalLogs via config and change to stop using setInterval #2055 by @MSNev in #2056
  • [Master] [Release] Increase version to 2.8.13 by @MSNev in #2059

Full Changelog: 2.8.12...2.8.13

3.0.0

12 Apr 21:52
053a8a0
Compare
Choose a tag to compare

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

  • Merge [master] to [beta] by @MSNev in #1757
  • Merge [master] branch to [beta] and Enable GitHub Actions on [beta] branch by @MSNev in #1762
  • Beta Part 1: Part of Mega Dynamic Load/Unload support by @MSNev in #1766
  • Merge remote-tracking branch 'upstream/master' into beta by @MSNev in #1772
  • Beta Part 2: Part of Mega Dynamic Load/Unload support by @MSNev in #1768
  • Beta Part 3: Part of Mega Dynamic Load/Unload support by @MSNev in #1780
  • Beta Part 4: Part of Mega Dynamic Load/Unload support by @MSNev in #1781
  • Beta Part 5: Part of Mega Dynamic Load/Unload support by @MSNev in #1782
  • AI Beta: Minor bug fixes and additional debug info by @MSNev in #1787
  • Beta Lint fixes: Enable Automatic formatting fixes by @MSNev in #1788
  • Beta Part 6: Part of Mega Dynamic Load/Unload support (#1782) by @MSNev in #1789
  • Beta: Component Governance Updates to address known dependency issues by @MSNev in #1790
  • Merge remote-tracking branch 'origin/master' into MSNev/beta by @MSNev in #1821
  • Update README.md to redirect to Node.JS by @pizzaz93 in #1828
  • Update to dynamicProto v1.1.6 and add manual test page by @MSNev in #1830
  • Extracting HOC tracked component class base for re-use by @bittola in #1829
  • fix: add children prop to error boundary props by @brainrepo in #1834
  • [Release] Increase version to 2.8.3 by @MSNev in #1833
  • deprecate ikey by @Karlie-777 in #1817
  • add web snippet npm package by @Karlie-777 in #1802
  • add disableIkeyMessage config by @Karlie-777 in #1840
  • Adding Microsoft SECURITY.MD by @microsoft-github-policy-service in #1841
  • add snippet readme and update version to 1.0.1 by @Karlie-777 in #1844
  • [master] Task 14447552: Fix Component Governance vulnerabilities by @MSNev in #1838
  • [beta] Task 14447552: Fix Component Governance vulnerabilities by @MSNev in #1839
  • add readme for ikey error messge by @Karlie-777 in #1845
  • Task 7496325: Add Distributed tracing population for the properties for the core #1846 by @MSNev in #1847
  • [Release] Increase version to 2.8.4 by @MSNev in #1849
  • [BUG] Snippet initialization with IE8 fails with minified code (works with un-minified code) #1852 by @MSNev in #1854
  • [BUG] CDN Packaging is not exposing the internal tools (CoreUtils / Telemetry / etc) #1857 by @MSNev in #1858
  • fix stopTrackEvent by @Karlie-777 in #1859
  • Add Automatic Name replacing / Crunching by @MSNev in #1811
  • Address Component Governance issues by @MSNev in #1860
  • [Release] Increase version to 2.8.5 by @MSNev in #1861
  • Update and add legal compliance notices and license terms by @MSNev in #1865
  • Remove React-JS and React-Native code from this repo by @MSNev in #1866
  • Merge master to beta @ 200e0f1 by @MSNev in #1867
  • [BUG] Remote Dependency requests don't "always" have the correct ai.operation.id tag (page view race condition) #1862 by @MSNev in #1869
  • [Beta] Update size tests to automatically use the major number from the current version by @MSNev in #1873
  • [BUG] Performance improvements when calling newGuid multiple times by @MSNev in #1871
  • [Release] Increase version to 2.8.6 by @MSNev in #1872
  • Add clickanalytics plugin url config back by @Karlie-777 in #1874
  • fix(AISKULight): call getSKUDefaults after it's defined, change this.… by @lindsayevans in #1876
  • Merge master to beta @ 6ba2c0d by @MSNev in #1877
  • [JS SDK] Update Retry logic to handle additional response codes by @MSNev in #1878
  • Merge remote-tracking branch 'upstream/master' into MSNev/beta by @MSNev in #1880
  • Cherry-Picking beta fix so merging master -> beta stops breaking nightly beta release by @MSNev in #1881
  • Merge remote-tracking branch 'upstream/master' into MSNev/beta by @MSNev in #1883
  • [Task]15072182: Add the core property as optional to IPlugin by @Karlie-777 in #1884
  • Fix size test auto updating -- the version needs to be the current version for the auto update to work by @MSNev in #1885
  • Merging upstream/master as at ae6daa2 by @msn...
Read more

2.8.12

11 Apr 23:16
5dfce7d
Compare
Choose a tag to compare

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

  • [Master] ReadMe updates to prepare for v3.x by @MSNev in #2016
  • [Master] [BUG] The documentation for enableDebug is incorrect, it should reference enableDebugExceptions #2014 by @MSNev in #2022
  • [Master] Fix examples, Throttle tests and export dependency types from Sku by @MSNev in #2026
  • [Master] Add npm-pack and npm-publish tasks by @MSNev in #2029
  • [Master] Update NPM publish scripts by @MSNev in #2032
  • [BUG] Don't attempt to send message batch when known to be offline #2034 by @peitschie in #2036
  • [Master][BUG] SDK LOAD Failure reporting not working #2027 by @MSNev in #2038
  • [Master] Add local storage-based implementation #1419 by @peitschie in #2037
  • [Master] Add readme documentation for IStorageBuffer by @MSNev in #2045
  • [Release] Increase version to 2.8.12 by @MSNev in #2046

New Contributors

Full Changelog: 2.8.11...2.8.12

2.8.11

08 Mar 20:16
c037b93
Compare
Choose a tag to compare

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: 2.8.10...2.8.11

2.8.10

08 Mar 20:15
dc914b5
Compare
Choose a tag to compare

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

  • update grunt file to build config by @Karlie-777 in #1939
  • Add --no-sandbox to test runs by @MSNev in #1962
  • [AI Light][Task]14130466: Instrumentation key API is being deprecated - need to add support by @Karlie-777 in #1956
  • Update QUnit and tests by @MSNev in #1964
  • Fix size check which "nightly" is added to the bundle by @MSNev in #1971
  • [AI][Task]16961420: fix throttleMgr incorrectly fires based on the number of days past by @Karlie-777 in #1981
  • [BUG] Application Insights reports 'not_specified' to Azure when tracking unhandled browser exception #1940 by @MSNev in #1980
  • Add the Aborted flag to the dependency initializer / listeners #1970 by @MSNev in #1982
  • update throttle test by @Karlie-777 in #1983
  • [Release] Increase version to 2.8.10 by @MSNev in #1987

Full Changelog: 2.8.9...2.8.10

2.8.9

25 Oct 20:23
75409ec
Compare
Choose a tag to compare

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

  • Update PerfTests to use the latest version by @MSNev in #1912
  • Fix CodeQL Identified potential Issues by @MSNev in #1915
  • [Bug] Fix randomly failing tests by @MSNev in #1916
  • [Task]14569737: add throttle cdn config by @Karlie-777 in #1906
  • Update to DynamicProto v1.1.7 by @MSNev in #1920
  • Uncaught ReferenceError: global is not defined #1911 by @MSNev in #1913
  • Remove the source-map-loader from the package.json as we don't use it. by @MSNev in #1930
  • [Shims-Release] Increase version to 2.0.2 by @MSNev in #1934
  • [Task]14569737: Add support to throttle the deprecation message by @Karlie-777 in #1882
  • Update to @microsoft/applicationinsights-shims: 2.0.2 by @MSNev in #1935
  • [Release] Increase version to 2.8.9 by @MSNev in #1936

Full Changelog: 2.8.8...2.8.9

Shims-2.0.2

24 Oct 23:27
5525946
Compare
Choose a tag to compare

Changelog

  • #1911 Uncaught ReferenceError: global is not defined

What's Changed

Full Changelog: shims-2.0.1...shims-2.0.2

2.8.8

03 Oct 21:24
06c1469
Compare
Choose a tag to compare
  • 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

  • [Task]15465575: add getErrorstackObj from reason.stack by @Karlie-777 in #1900
  • [Feature] Add option to block the creation and usage of the cookies by name #1901 by @MSNev in #1902
  • Fixed release notes, previously used a deprecated file. by @josephsivits in #1904
  • [Release] Increase version to 2.8.8 by @MSNev in #1909

New Contributors

Full Changelog: 2.8.7...2.8.8

2.8.7

13 Sep 19:30
f9f92f6
Compare
Choose a tag to compare
  • 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

  • Add clickanalytics plugin url config back by @Karlie-777 in #1874
  • fix(AISKULight): call getSKUDefaults after it's defined, change this.… by @lindsayevans in #1876
  • [JS SDK] Update Retry logic to handle additional response codes by @MSNev in #1878
  • Cherry-Picking beta fix so merging master -> beta stops breaking nightly beta release by @MSNev in #1881
  • [Task]15072182: Add the core property as optional to IPlugin by @Karlie-777 in #1884
  • Fix size test auto updating -- the version needs to be the current version for the auto update to work by @MSNev in #1885
  • [BUG] Behavior difference for an empty endpointUrl when upgrading from v1 to v2 #1890 by @MSNev in #1891
  • Fix incorrect disableFetchTracking documentation by @FineTralfazz in #1895
  • maxAjaxCallsPerView doesn't account for filtering by TelemetryInitializer #1887 by @MSNev in #1893
  • [Release] Increase version to 2.8.7 by @MSNev in #1898

New Contributors

Full Changelog: 2.8.6...2.8.7