- #61 [pre-release] update application insights to 3.3.4
- #59 [pre-release] update application insights to 3.3.3
This release contains a potential type break change due to the definition of the expCfg in IConfiguration
- #55 [pre-release] update application insights to 3.3.2
- #54 [pre-release] update application insights to 3.3.1
- #51 [pre-release] update application insights to 3.3.0
- Adds support to internally defer initialization completion of the SDK while waiting for the connectionString, instrumentationKey or endpointURL to be resolved via a Promise.
- During this period the SDK will not send any telemetry, and it will be internally batched if the promise(s) never resolve then the telemetry will be dropped.
This release contains a potential break change due to enhancing the definition of the IConfiguration to support Promise types for the connectionString, instrumentationKey and endpointURL; any extension that relies on these base interfaces will VERY likely cause TypeScript to fail with potential warnings about the types being different.
- #47 Update AppInsights Core to 3.2.0
- #39 Update to Application Insights ^3.1.2
- Fix version 3.1.1 giving TypeError: Cannot read properties of undefined (reading 'getCrypto')
- Fix Circular dependencies of version 3.1.1
- Fix Excessive memory usage for SPA where unload hooks keep accumulating
- #36 Update to Application Insights ^3.1.0
- #34 Update to Application Insights ^3.0.8
- Update to dynamicProto-js ^2.0.3
- Update GitHub status tool script
- Update GitHub status script to include -dump switch
- #32 [pre-release] udpate application insight dependency, get ready for release
- #31 Add Issues state reporting script
- #29 [expo] correct export path to support android expo
Major update to support ApplicationInsights v3.x, see the ApplicationInsights breaking changes
- #7 React Native Expo Support
- #23 Update main branch to prepare for next major version.
- #21 dynamic config change
- #24 Quick fix for setVersion.json
- Move release to release3.x branch
- Moving to release 3.x branch so that main can be updated to v3.x of Application Insights
- Update to ApplicationInsights 2.8.14
- #19 Update to ApplicationInsights 2.8.12
- #18 Internal Task 17133116: Add Policheck exclusion file
- #16 Update to ApplicationInsights v2.8.10
- #15 Add --no-sandbox to test runs
- #14 Fix mojibake in Readme.md file
- #12 README Example myDeviceInfoModule syntax error fixes
- #11 [Task] Add nightly build documentation
- #4 Update to React-Native 0.69.x #4
- First release from new repo
- Updates React Plugin to v2.5.6 (with UNPINNED ApplicationInsights ^2.8.5 as dependency)
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.5.5 (with v2.8.5 as dependency)
- #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
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.5.4 (with v2.8.4 as dependency)
- #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
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.5.3 (with v2.8.3 as dependency)
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.
- #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
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.5.2 (with v2.8.2 as dependency)
This patch release restores complete ES3 support (broken in 2.8.0) and IE8 support (broken eariler via dynamicProto()) for the Sdk.
- #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
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.5.1 (with v2.8.1 as dependency)
This patch release restores TypeScript 3.x support for the Sdk.
- #1807 [BUG] Angular project doesn't build after install latest version v.2.8.0
- #1810 v2.8.0 has incompatible TypeScript 3.x type declaration
- #1812 [BUG] Browser exceptions are no longer automatically tracked after 2.8.0
- #1814 [BUG]SPFx React project doesn't build after latest version of @microsoft/application-insights-core-js v.2.8.0 got published
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.5.0 (with v2.8.0 as dependency)
fetch
Ajax tracking was also been change to be on by default from this version moving forward, if you are running in an environment withoutfetch
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
andXHR
requests) being reported you WILL need to adddisableFetchTracking
with a value oftrue
to your configuration to disable this functionality.- TypeScript 4.x required for some typings from the core EnumHelperFuncs.d.ts (Fixed in v2.8.1)
This release adds support for the SDK to
- TelemetryInitializers have been moved to
BaseCore
so they are now available as part of all Sku's and not just those using theanalytics
plugin (@microsoft/applicationinsights-analytics-js) using theappInsights.addTelemetryInitializer(...)
- Web Events (addEventHandler) now support "event namespaces" (similar to jQuery) to enable the removing of events by just specifying the namespace and new specific
eventOn(...)
andeventOff(...)
API's. - Fully unload, removing all internal event handlers (may be re-initialized) via the
appInsights.unload(...)
function. - Dynamically add a plugin to an already initialized SDK (optionally replacing an existing) via new
appInsights.addPlugin(...)
function - 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)
- The standard name fro the
analytics
plugin @microsoft/applicationinsights-analytics-js has been renamed and is now exported asAnalyticsPlugin
, for backward compatibility it is also exported as it's previous nameApplicationInsights
, 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 the the size of this change, the above date is the NPM release date and CDN deployment will be over an extended period.
- Task 13064945: Enable the option to remove all "added" SDK event listeners as part of calling teardown()
- Partial, foundational support for #1427 Dynamically updating config (for extensions in my case)
- #1773 [BUG] IConfig and IConfiguration define different configuration "names" for the cookie manager config
- #1779 Allow including custom properties in useTrackMetric
- #1791 Merge remote-tracking branch
upstream/beta
intomaster
- Update version update script to support default "next" release version (major/minor) not just patch (#1756)
- Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)
- Enable GitHub Actions on [beta] branch
- Beta Part 1: Part of Mega Dynamic Load/Unload support (#1766)
- Refactor TelemetryPluginChain ready to start supporting load/unload
- Move TelemetryInitializer to BaseCore
- add getPlugin (will be used for remove)
- Address Channel flush issue
- Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)
- Beta Part 2: Part of Mega Dynamic Load/Unload support (#1768)
- Add Event Namespace support
- Minification of constant values
- Add part of the unload functionality (required for unified
teardown()
functionality)
- Beta Part 3: Part of Mega Dynamic Load/Unload support (#1780)
- Add Core SDK Unload support
- Fix telemetry chain for null and undefined
- Beta Part 4: Part of Mega Dynamic Load/Unload support (#1781)
- Fix function typing issues
- Update Analytics Extension to start supporting teardown / unload (more tests required)
- Adds namespace option to instrumentation hooks (for debugging teardown issues)
- Update AITest Class to log and optionally assert events and hooks that have not been removed
- Add Update callback when plugins are added / removed (will be extended for config updates)
- Some minor minification improvements
- Add missing enum definition
- Update Sender tests
- Beta Part 5: Part of Mega Dynamic Load/Unload support (#1782)
- Add Missing Exports
- AnalyticsPlugin: Implement teardown and initial test validation
- Dependencies Plugin: Implement teardown and initial test validation
- Add flush() to IAppInsightsCore
- AI Beta: Minor bug fixes and additional debug info (#1787)
- Lint fixes: Enable Automatic formatting fixes (#1788)
- Beta Part 6: Part of Mega Dynamic Load/Unload support (#1782) (#1789)
- Add basic minimal unload / teardown support to all remaining components
- Update rollup cleanup dependencies
- Beta: Component Governance Updates to address known dependency issues (#1790)
- #1793 Master Minification Improvements
- #1796 Minification - Change to only use const enums internally
- #1798 More Common Minification Updates
- #1468 Enable fetch automatic dependency tracking by default
- #1805 Finalize and Update the processTelemetry helper functions
- Released from ApplicationInsights Repo
- Updates React Native Plugin to 2.4.4 (with v2.7.4 as dependency)
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
- String trim()
- String endsWith()
- String startsWith()
- Additional Date toISOString()
- Array isArray()
- Array indexOf()
- Array map()
- Array reduce()
- Object freeze()
- Object seal()
- #1754 update react plugin readme
- #1758 Additional Performance enhancements to use provided functions rather than internal polyfill's
- Released from ApplicationInsights Repo
- Updates the @microsoft/applicationinsights-shims module to 2.0.1
- Updates React Native Plugin to 2.4.3 (with v2.7.3 as dependency)
- #1735 [BUG] Dependency tracking is disabled when using an Embedded IE browser control
- #1736 [BUG] New Fetch keepAlive support can cause duplicate events to be sent during unload processing
- #1745 [Documentation] Document the deployed Module formats and release process
- #1746 [Documentation] Update AISku Size tracking
- #1744 Address CodeQL issues from https://github.com/microsoft/ApplicationInights-JS/security/code-scanning
- Update to Rush 5.61.3 and NPM 8.4.0
- #1750 [Performance] Use the Date.toISOString() native function if it exists
- #1753 [Performance] Cache the result of the getGlobal() to reduce the number of typeof expressions
See Released from ApplicationInsights Repo for previous release notes.