Releases: microsoft/ApplicationInsights-JS
3.3.10
Changelog
This release includes:
- Support for custom providers for Offline Channel which has added
customProviderandcustomUnloadProviderto theIOfflineChannelConfiguration. IAnalyticsConfigis exported for Analytics extension.redactUrlsandredactQueryParamsare added toIConfigurationto 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
- @rads-1996 made their first contribution in #2549
- @pnoodles made their first contribution in #2636
Full Changelog: 3.3.9...3.3.10
3.3.9
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
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
- Update Components to address governance issues by @MSNev in #2524
- Add back "request" devDependency for now by @MSNev in #2525
- Fix TestCase PollingAssert argument passing for testContext by @MSNev in #2526
- add negative isArray check to _isConfigDefaults by @Linkgoron in #2530
- Fix ReferenceError in Click Analytics v3.3.7 by reordering variable declaration by @copilot-swe-agent in #2536
- Fix Click Analytics contentName callback in v3.3.7 by @copilot-swe-agent in #2535
- [Release] Increase version to 3.3.8 by @Karlie-777 in #2542
- [Task] Fix CodeQL version to v2 by @copilot-swe-agent in #2547
New Contributors
- @Linkgoron made their first contribution in #2530
- @copilot-swe-agent made their first contribution in #2536
Full Changelog: 3.3.7...3.3.8
3.3.7
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
maxEvtPerBatchis added to the post channelIChannelConfiguration.
- Note: New Config
- #2511 [Main][Task]31233527: Add a Config to Allow Users to Change RequestSizeLimitBytes
- Note: New Config
requestLimitis added to the post channelIChannelConfiguration.
- Note: New Config
- #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
- Note: Option to drop the enrichment of correlation header during dependency processing is added to
- #2504 [main] [Click analytics] not logging no native html input elements
- Note:
trackElementTypesis added toIClickAnalyticsConfigurationto allow additional, configurable HTML element types to be tracked in addition to the default set
- Note:
- #2451 [main] enable compress api in 1ds-post-channel and applicationinsights-channel
- Note: Using compress api feature is added through feature flag
zipPayloadand is currently disabled by default. See how to enable this feature and more details.
- Note: Using compress api feature is added through feature flag
- #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
- @aimbrenda made their first contribution in #2506
Full Changelog: 3.3.6...3.3.7
3.3.6
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
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
- [main] [snippet] Integrate 1DS with AI Snippet Generation by @siyuniu-ms in #2428
- Update Stale Issue action by @MSNev in #2443
- Update (fix) stale issue action by @MSNev in #2444
- [main] snippet generation fix for pr #2428 by @siyuniu-ms in #2445
- [main] eliminate warning raised by tsdoc by @siyuniu-ms in #2446
- [main] [debug plugin] upgrade manifast to v3 by @siyuniu-ms in #2447
- [main][doc] Type signature for stopTrackEvent is incorrect #2430 by @siyuniu-ms in #2450
- [main] fix tsdoc error for param and type tag by @siyuniu-ms in #2448
- [main][fix] rush fix by @siyuniu-ms in #2452
- [Main][Task]30499129: Turn on CDN Deprecation Message with Sampling Rate with 10% Each Day by @Karlie-777 in #2459
- URGENT ACTION: Stop using az416426.vo.msecnd.net #2457 by @MSNev in #2458
- [ThrottleMgr] Turn on Test CDN Deprecation Message with Sampling Rate with 100% Each Day by @Karlie-777 in #2460
- Update config version to 1.0.1 by @MSNev in #2461
- [main][cfgsync] update test based on new config setting by @siyuniu-ms in #2463
- [main][debug tool] fix the way of calling chrome storage and add new url by @siyuniu-ms in #2462
- Update Code Owners by @MSNev in #2464
- Update CODEOWNERS by @MSNev in #2466
- [main][debug tool] enable check compressed data by @siyuniu-ms in #2465
- [Main][Task]31041354: Increase CDN Deprecation Message Sampling Rate to 20% by @Karlie-777 in #2468
- [Main][Task]31111291: Fix Repo links in package.json by @Karlie-777 in #2471
- [BUG] The regex used to parse the stack trace appears to be skipping anonymous lines #2467 by @MSNev in #2472
- [main] fix rush warning message by @siyuniu-ms in #2455
- Update rush version by @MSNev in #2473
- [Main][Task]31194802: Fix Duplicated Exception Telemetry Issue When Both Snippet and Analytics Plugin hook onerror by @Karlie-777 in #2474
- [Release] Increase version to 3.3.5 by @MSNev in #2475
Full Changelog: 3.3.4...3.3.5
3.3.4
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
- @rossgrambo made their first contribution in #2429
Full Changelog: 3.3.2...3.3.4
3.3.3
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
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
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) defaultinStorageMaxTimeis 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
expCfgis available to provide more details of exception telemetry. See more details here
What's Changed
- [main][snippet] remove the snippet dependency on web package by @siyuniu-ms in #2374
- [snippet] upgrade to 1.2.1 by @siyuniu-ms in #2375
- [main] add withCredentials config by @siyuniu-ms in #2373
- [Main]Fix Nightly Size Tests by @Karlie-777 in #2377
- [Main][Task]28644993: Update Online Sender Status Code Check with Offline Mode by @Karlie-777 in #2379
- [Main][Task]28751664: Fix Offline Circular Dependency by @Karlie-777 in #2380
- [Main] [CDN Publishing] Cleanup AzureRM scripts from AI and 1DS by @MSNev in #2381
- [Main][Task]27176994: Update the Config Used for Type Docs with iKey and Beta Web Config Endpoint by @Karlie-777 in #2385
- [Main][Task]28846327: Fix Offline Default Max in Storage Time to 7 Days by @Karlie-777 in #2386
- [Main][Task]27760339: Typedoc is not including ILoadedPlugin by @Karlie-777 in #2387
- [main] enhance exception telemetry with optional script Information by @siyuniu-ms in #2388
- [main] fix AI Basic Sku by exporting proxy function #2384 by @siyuniu-ms in #2389
- [main][doc] add more doc for exception telemetry by @siyuniu-ms in #2390
- [Main] [Release] Increase version to 3.3.1 by @Karlie-777 in #2392
- Bump @microsoft/rush from 5.129.6 to 5.131.0 by @Karlie-777 in #2393
- Change @microsoft/rush from 5.131.0 to 5.130.3 by @Karlie-777 in #2394
Full Changelog: 3.3.0...3.3.1