Skip to content

Releases: microsoft/ApplicationInsights-JS

3.3.10

23 Sep 18:25
4835556

Choose a tag to compare

Changelog

This release includes:

  • Support for custom providers for Offline Channel which has added customProvider and customUnloadProvider to the IOfflineChannelConfiguration.
  • IAnalyticsConfig is exported for Analytics extension.
  • redactUrls and redactQueryParams are added to IConfiguration to support URL redaction.

#2649 [Main][Task] 27922617: Provide Custom Provider Under Web Worker for Offline Channel
#2638 [Main][Task] 34470593: Update Async Tests Under Dependencies Extension To Use the Modern AsyncQueue Pattern
#2637 [Main][Task] 34470593: Update AISKU Async Tests To Use the Modern AsyncQueue Pattern
#2636 Fix TypeError in Click Analytics Data Collector
#2633 Fix flush method root cause - handle async callbacks in _doSend with proper error handling
#2632 [Feature] Implement cookie caching when disabled and automatic flushing when enabled with backward compatibility option
#2625 Add Azure API Management proxy documentation to FAQ sections
#2607 Update Async Tests Under AISKULight to Use the Modern AsyncQueue Pattern
#2597 Fix TypeScript compatibility issue with ITelemetryPlugin interface
#2595 Fix trackPageView not resetting maxAjaxCallsPerView counter
#2583 Create IAnalyticsConfig interface to properly define AnalyticsPlugin configuration subset
#2625 Add Azure API Management proxy documentation to FAQ sections
#2627 Add weekly GitHub action to delete closed and merged branches
#2635 Fix issue #2634 moving the conditional check for filtering
#2549 Redacting urls before sending to telemetry data
#2622 Suppressed credentials inline to avoid credscan false positive

What's Changed

  • Add TypeDoc links to README configuration tables by @Copilot in #2576
  • Fix TypeScript compatibility issue with ITelemetryPlugin interface by @Copilot in #2597
  • Remove unused jquery-1.11.1.js from the repository by @Copilot in #2600
  • Create IAnalyticsConfig interface to properly define AnalyticsPlugin configuration subset by @Copilot in #2583
  • Fix documentation links pointing to incorrect /docs/ path by @Copilot in #2604
  • Adding copilot instructions by @hectorhdzg in #2605
  • Redacting urls before sending to telemetry data. by @rads-1996 in #2549
  • [Main] Update the copilot instructions by @MSNev in #2617
  • [Task] Add tree-shaking annotations by @Copilot in #2616
  • Suppressed credentials inline to avoid credscan false positive by @rads-1996 in #2622
  • Add Azure API Management proxy documentation to FAQ sections by @Copilot in #2625
  • Add weekly GitHub action to delete closed and merged branches by @Copilot in #2627
  • Fix trackPageView not resetting maxAjaxCallsPerView counter by @Copilot in #2595
  • Fix jq syntax error in Delete Merged Branches workflow by @Copilot in #2630
  • Update Async Tests Under AISKULight to Use the Modern AsyncQueue Pattern by @Copilot in #2607
  • Fix flush method root cause - handle async callbacks in _doSend with proper error handling by @Copilot in #2633
  • Fix issue #2634 moving the conditional check for filtering by @aimbrenda in #2635
  • Fix TypeError in Click Analytics Data Collector by @pnoodles in #2636
  • [Feature] Implement cookie caching when disabled and automatic flushing when enabled with backward compatibility option by @Copilot in #2632
  • [Main][Task] 34470593: Update AISKU Async Tests To Use the Modern AsyncQueue Pattern by @Karlie-777 in #2637
  • [Main][Task] 34470593: Update Async Tests Under Dependencies Extension To Use the Modern AsyncQueue Pattern by @Karlie-777 in #2638
  • [Main][Task] 27922617: Provide Custom Provider Under Web Worker for Offline Channel by @Karlie-777 in #2649
  • [Release] Increase version to 3.3.10 by @Karlie-777 in #2650

New Contributors

Full Changelog: 3.3.9...3.3.10

3.3.9

26 Jun 21:20
163959d

Choose a tag to compare

Changelog

This release contains an important fix for a change introduced in v3.3.7 that caused the autoCaptureHandler to incorrectly evaluate elements within trackElementsType, resulting in some click events not being auto-captured. See more details here.

#2556 Update SDK Loader to rename the snippet postfix file to avoid CodeQL scanning issues
#2586 [AI][Task] 33246973: Update Readme on Error Handler
#2581 Export ICorrelationConfig interface from dependencies extension
#2587 Click Analytics - Fix capturning of HTML events

What's Changed

  • Creates a github action to assign co-pilot to a task or PR if the label is assigned by a code owner by @MSNev in #2550
  • CodeQL Action major versions v1 and v2 have been deprecated. by @MSNev in #2553
  • Assign Co-Pilot updates by @MSNev in #2554
  • Potential fix for code scanning alert no. 2259: Unused variable, import, function or class by @MSNev in #2551
  • Auto Assign Copilot Updates by @MSNev in #2555
  • Auto assign copilot update -- add additional user name by @MSNev in #2557
  • Update SDK Loader to rename the snippet postfix file to avoid CodeQL scanning issues by @MSNev in #2556
  • Update to correctly reference the repository variable within the action by @MSNev in #2558
  • CodeQL - Don't attempt to upload from the CI by @MSNev in #2560
  • CodeQL - Add more exclusions as they are causing false positive alerts by @MSNev in #2561
  • CodeQL Update configuration to run on all branches by @MSNev in #2564
  • [Task] Add additional stale operations for wontfix Issues and PRs as well as inactive PR's by @MSNev in #2563
  • Add merge-queue setting for the ci tests by @MSNev in #2565
  • Auto Assign - Update the lookup for a valid user id. by @MSNev in #2559
  • Remove Auto-Assign workflow by @MSNev in #2569
  • Update analytics-js unit tests to use asyncQueue pattern by @copilot-swe-agent in #2544
  • Add documentation for disablePageUnloadEvents to address jQuery 3.7.1 deprecation warnings by @copilot-swe-agent in #2533
  • [Main][Task]32864048: Improve Offline Channel Test by @Karlie-777 in #2534
  • Restore CodeQL schedule back to previous value by @MSNev in #2574
  • [Fix] Export IConfiguration interface from AISKU package by @copilot-swe-agent in #2579
  • Export ICorrelationConfig interface from dependencies extension by @copilot-swe-agent in #2581
  • [Main][Task]32909441: Increase Web Snippet to 1.2.2 by @Karlie-777 in #2577
  • [AI][Task] 33246973: Update Readme on Error Handler by @Karlie-777 in #2586
  • Click Analytics - Fix capturning of HTML events by @Barry-RG in #2587
  • [Main][Task] 33497606: Add Tests for ClickAnalytics AutoCaptureHandler by @Karlie-777 in #2592
  • [Release] Increase version to 3.3.9 by @Karlie-777 in #2593

New Contributors

Full Changelog: 3.3.8...3.3.9

3.3.8

22 May 20:20
c628245

Choose a tag to compare

Changelog

This release contains an important fix for a change introduced in v3.3.7 that caused a ReferenceError exception to be thrown when running in strict mode. See more details here.

#2524 Update Components to address governance issues
#2536 Fix ReferenceError in Click Analytics v3.3.7 by reordering variable declaration
#2530 Add negative isArray check to _isConfigDefaults

What's Changed

New Contributors

Full Changelog: 3.3.7...3.3.8

3.3.7

08 May 23:08
1647e6f

Choose a tag to compare

Changelog

Potential breaking change

This release contains a potential breaking change due to the new compress api feaure added. If you are using a Proxy to redirect your telemetry to your own endpoint or are relying on the events to be uncompressed (this feature is initially disabled and it is intended to be enabled by the service in the near future), it is recommended to either update collection endpoint to support GZip or to explicitly disable the feature. See more details here.

commits

  • #2518 Remove Generated docs from the repo
  • #2514 Address issues with isFeatureEnabled changes
  • #2517 Update Components to address governance issues
  • #2501 [Main][Task]31233527:Change Default RequestSizeLimitBytes
  • #2507 [main] Handle race condition during unload
  • #2513 [Main][Task]32698211: Add a Config to Allow Users to Change Max Number of Events Per Batch
    • Note: New Config maxEvtPerBatch is added to the post channel IChannelConfiguration.
  • #2511 [Main][Task]31233527: Add a Config to Allow Users to Change RequestSizeLimitBytes
    • Note: New Config requestLimit is added to the post channel IChannelConfiguration.
  • #2506 Drop correlation header to be passed on the dependency
    • Note: Option to drop the enrichment of correlation header during dependency processing is added to DependencyListenerFunction
  • #2504 [main] [Click analytics] not logging no native html input elements
    • Note: trackElementTypes is added to IClickAnalyticsConfiguration to allow additional, configurable HTML element types to be tracked in addition to the default set
  • #2451 [main] enable compress api in 1ds-post-channel and applicationinsights-channel
  • #2489 [main][stats beat] implement stats beat in application insights

What's Changed

  • [Main] Increase CDN Deprecation Message Sampling Rate to 40% by @siyuniu-ms in #2492
  • [main] Add stale bot for assigned issues and prs by @MSNev in #2495
  • [cfgsync] change cfgurl to test beta by @siyuniu-ms in #2496
  • [main] support adding cross origin resource policy for #1851 by @siyuniu-ms in #2423
  • [Main][Task]31248254: Add Monitor Tests for CDN OPTIONS Calls by @Karlie-777 in #2491
  • [main] Minor fixes for handling ikey promises with dynamic changes by @MSNev in #2500
  • [chrome debug tool] publish 0.8.0 for manifect V3 by @siyuniu-ms in #2499
  • [Main][Task]31233527:Change Default RequestSizeLimitBytes by @Karlie-777 in #2501
  • [main][stats beat] implement stats beat in application insights by @siyuniu-ms in #2489
  • [main] Handle race condition during unload by @MSNev in #2507
  • Drop correlation header to be passed on the dependency by @aimbrenda in #2506
  • [main] enable compress api in 1ds-post-channel and applicationinsights-channel by @siyuniu-ms in #2451
  • [main] [Click analytics] not logging no native html input elements #2136 by @siyuniu-ms in #2504
  • [Main][Task]31233527: Add a Config to Allow Users to Change RequestSizeLimitBytes by @Karlie-777 in #2511
  • Address issues with isFeatureEnabled changes by @MSNev in #2514
  • Add additional SendPostManager tests by @MSNev in #2515
  • Reduce Stale period by @MSNev in #2519
  • [Main][Task]32698211: Add a Config to Allow Users to Change Max Number of Events Per Batch by @Karlie-777 in #2513
  • Remove Generated docs from the repo by @MSNev in #2518
  • Update Components to address governance issues by @MSNev in #2517
  • [Release] Increase version to 3.3.7 by @Karlie-777 in #2520

New Contributors

Full Changelog: 3.3.6...3.3.7

3.3.6

04 Mar 19:13
7a76cf0

Choose a tag to compare

Changelog

#2481 [Main][Task]31338239: Add Config to allow excluding the configuration endpoints from being reported
#2486 Minification improvements

What's Changed

  • Address CodeQL issues by @MSNev in #2478
  • Fix jekyll gh pages action which was broken by the rush update by @MSNev in #2479
  • [Main][Task]31338239: Add Config to allow excluding the configuration endpoints from being reported by @Karlie-777 in #2481
  • [Main][Task]31454796: Increase CDN Deprecation Message Sampling Rate to 30% by @Karlie-777 in #2482
  • [Main][Task]31454796: Increase CDN Deprecation Message Sampling Rate to 30% by @Karlie-777 in #2483
  • Minification improvements by @MSNev in #2486
  • [Release] Increase version to 3.3.6 by @Karlie-777 in #2487

Full Changelog: 3.3.5...3.3.6

3.3.5

04 Feb 02:29
5f5cca9

Choose a tag to compare

Changelog

Issues

#2430 [BUG] Type signature for stopTrackEvent is incorrect
#2442 [BUG] [Snippet] Unhandled exceptions are reported twice
#2470 [BUG] @microsoft/applicationinsights-channel-js lacks a proper repository URL
#2467 [BUG] The regex used to parse the stack trace appears to be skipping anonymous lines
This fixes the portal missing stack frames which are from anonymous functions due to missed parsing of stack frames with unexpected formatting.

Commits

#2458 URGENT ACTION: Stop using az416426.vo.msecnd.net
#2428 [main] [snippet] Integrate 1DS with AI Snippet Generation
#2443 Update Stale Issue action
#2445 [main] snippet generation fix for pr #2428
#2446 [main] eliminate warning raised by tsdoc
#2447 [main] [debug plugin] upgrade manifast to v3
#2450 [main][doc] Type signature for stopTrackEvent is incorrect #2430
#2448 [main] fix tsdoc error for param and type tag
#2452 [main][fix] rush fix
#2459 [Main][Task]30499129: Turn on CDN Deprecation Message with Sampling Rate with 10% Each Day
#2460 [ThrottleMgr] Turn on Test CDN Deprecation Message with Sampling Rate with 100% Each Day
#2461 Update config version to 1.0.1
#2463 [main][cfgsync] update test based on new config setting
#2462 [main][debug tool] fix the way of calling chrome storage and add new url
#2464 Update Code Owners
#2465 [main][debug tool] enable check compressed data
#2468 [Main][Task]31041354: Increase CDN Deprecation Message Sampling Rate to 20%
#2471 [Main][Task]31111291: Fix Repo links in package.json
#2455 [main] fix rush warning message
#2473 Update rush version

What's Changed

Full Changelog: 3.3.4...3.3.5

3.3.4

30 Oct 19:04
d4a4d00

Choose a tag to compare

Changelog

#2426 [Main][Task]29626594: PerfManager Should be Created without Customized CreatePerfMgr Function
#2421 [Main]: Make file size checks flexible for nightly/dev builds
#2434 [Main][Task]29884493: Add a Function to Export Offline Listener From Sender
#2437 [Main][Task]29519727: Better Handle Sender Dynamic Changes
#2438 [Main][Task]29445623: Update CfgSync Config Readme
#2439 [BUG] Sourcemap load errors in debugger from dependencies
#2429 Readme - Remove double negative

What's Changed

  • [Main][Task]29626594: PerfManager Should be Created without Customized CreatePerfMgr Function by @Karlie-777 in #2426
  • Readme - Remove double negative by @rossgrambo in #2429
  • [Main][Task]29884493: Add a Function to Export Offline Listener From Sender by @Karlie-777 in #2434
  • [Main][Task]29519727: Better Handle Sender Dynamic Changes by @Karlie-777 in #2437
  • [Main][Task]29445623: Update CfgSync Config Readme by @Karlie-777 in #2438
  • [BUG] Sourcemap load errors in debugger from dependencies #2424 by @MSNev in #2439
  • [Main] [Release] Increase version to 3.3.4 by @Karlie-777 in #2441

New Contributors

Full Changelog: 3.3.2...3.3.4

3.3.3

27 Sep 17:19
ed8632a

Choose a tag to compare

Changelog

#2401 [Main][Task]28966399: Separate critical events and non-critical events for Offline Support
Note: New Config splitEvts is added to Offline Channel Config. By enabling it, offline events will be batched and saved separately based on persistence level
#2413 [Main][Task] 29445638: Fix Promise Initialization Sender Config Issue
Note: the issue #2414 is resolved
#2416 [Main][Task]29519574: Update AISKU Light to better handle Init Promise
#2418 [Main][Task]29465842: Update Promise Initialization Post Channel
#2404 [main] fix expCfg to be optional
#2407 [main] Custom Trusted Type Policy Support for Snippet Script Injection
#2409 [main] Trusted Type Policy Support for nounce tag

What's Changed

  • [Main][Task]28736784: Update Cfg Cdn Release Scripts for Nightly Build by @Karlie-777 in #2406
  • [Main][Task]28736784: Update the Config Used for Type Docs with Test Web Config Endpoint by @Karlie-777 in #2403
  • [main] Custom Trusted Type Policy Support for Snippet Script Injection by @siyuniu-ms in #2407
  • [Main][Task]28736784: Update Cfg CDN SetActive Scripts for Nightly Build by @Karlie-777 in #2408
  • [Main][Task]28736784: Update Test Config sampling Rate and Day Interval by @Karlie-777 in #2411
  • [main] enable auto doc generation by @siyuniu-ms in #2410
  • [main] Trusted Type Policy Support for nounce tag by @siyuniu-ms in #2409
  • [Main][Task]28736784: Update Test Config Month Interval and Day Interval by @Karlie-777 in #2412
  • [Main][Task]28966399: Separate critical events and non-critical events for Offline Support by @Karlie-777 in #2401
  • [Main][Task] 29445638: Fix Promise Initialization Sender Config Issue by @Karlie-777 in #2413
  • [Main][Task]29519574: Update AISKU Light to better handle Init Promise by @Karlie-777 in #2416
  • [Main][Task]29465842: Update Promise Initialization Post Channel Config by @Karlie-777 in #2418
  • [main][doc] add document for how to fix type error in extensions by @siyuniu-ms in #2395
  • [Main] [Release] Increase version to 3.3.3 by @Karlie-777 in #2417
  • [Main]: Make file size checks flexible for nightly/dev builds by @MSNev in #2421

Full Changelog: 3.3.1...3.3.3

3.3.2

27 Sep 17:17
ed8632a

Choose a tag to compare

Changelog

#2396 [Main] Update generated typedoc documentation
#2397[Main] Change tslib peerDependency from "*" to open range
#2391 [Main] enhance exception telemetry with customer log Information
Note: Config expCfg is moved from IConfig to IConfiguration(this change is going to cause the TypeScript type error).

What's Changed

  • [main] (type change!) enhance exception telemetry with customer log Information by @siyuniu-ms in #2391
  • [Main] Update generated typedoc documentation by @MSNev in #2396
  • [Main] Change tslib peerDependency from "*" to open range by @MSNev in #2397
  • [Main] [Release] Increase version to 3.3.2 by @Karlie-777 in #2400
  • [main] fix expCfg to be optional by @siyuniu-ms in #2404
  • [main] turn on exception log for doc by @siyuniu-ms in #2405

Full Changelog: 3.3.1...3.3.2

3.3.1

08 Aug 23:27
54ea6d7

Choose a tag to compare

Changelog

#2379 [Main][Task]28644993: Update Online Sender Status Code Check with Offline Mode
#2380 [Main][Task]28751664: Fix Offline Circular Dependency
#2386 [Main][Task]28846327: Fix Offline Default Max in Storage Time to 7 Days

  • Note: Offline plugin (@microsoft/applicationinsights-offlinechannel-js) default inStorageMaxTime is set to 604800000ms (around 7days), it was 10080000ms (around 2.8 hours)

#2387 [Main][Task]27760339: Typedoc is not including ILoadedPlugin
#2381 [Main] [CDN Publishing] Cleanup AzureRM scripts from AI and 1DS
#2377 Fix Nightly Size Tests
#2389 [main] fix AI Basic Sku by exporting proxy function
#2373 add withCredentials config
#2388 [main] enhance exception telemetry with optional script Information

  • !! New config expCfg is available to provide more details of exception telemetry. See more details here

What's Changed

Full Changelog: 3.3.0...3.3.1