Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update dependency @microsoft/applicationinsights-web to v3.3.3 #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@microsoft/applicationinsights-web 3.0.5 -> 3.3.3 age adoption passing confidence

Release Notes

microsoft/ApplicationInsights-JS (@​microsoft/applicationinsights-web)

v3.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] 2944563: Fix Promise Initialization Sender Config Issue
  • #​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

v3.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).

v3.3.1

Compare Source

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
  • #​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

v3.3.0

Compare Source

Potential breaking change

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.

Changelog

!! potential breaking changes. IConfiguration support Promise types for the connectionString, instrumentationKey and endpointURL

  • #​2366 [Sdk Loader] Increase version to 1.2.0
  • #​2367 [main] update the way to generate ajax perforamance mark prefix

v3.2.2

Compare Source

Changelog
  • #​2356 [Main][Task]27488189: Modify offline support enums for isolated mode
  • #​2357 [Main][Task]28050373: Expose Offline Support SendNextBatch function
  • #​2358 [Main][Task]27080650: Initialization Should Handle Offline Support Dependency
  • #​2362 [Main]Publishing: Add support for Az Modules instead of AzureRM Modules
  • #​2360 set script attribut to avoid race condition when multiple sdks are inited

v3.2.1

Compare Source

Changelog
  • #​2333 [Main][Task]27749889: Change AISKU Sync Mode to Receive
  • #​2335 [Main][Task]27681441: Fix async tests for MsAzure Migration
  • #​2338 [Main][Task]27923018: Post Channel getOfflineSupport should set correct headers and url based on payload data
  • #​2342 [Main][Task]27923018: 1ds post getOffline support url fix

v3.2.0

Compare Source

!! CfgSync plugin is turned on. Throttling Ikey depreciation message is enabled with sampling rate 0.0001%
##​2317

!! Sender has breaking changes. The key used for session storage is changed and items stored in the storage now contain retry counts.
##​2324

Changelog
  • #​2371 [Main][Task]27365739 Turn on Ikey depreciation message with sampling rate 0.0001%
  • #​2319 [Main] Fix config release script overwrite flag and cache time
  • #​2321 [Main] Default request headers content-type for 1ds should be x-json-stream only ing
  • #​2324 [Main][Task]27079894 Add a max retry count for Sender
  • #​2325 [Main][Task]25716927: Change default CfgSync values to turn on the ikey deprecation message
  • #​2331 [Main] Resetting the DataCacheHelper version number back to current version (from 3.0.5)
  • #​2332 [Main][Task]27742145: Change nonOverrideCfgs to be added only during initialization
  • #​2333 [Main][Task]27749889: Change AISKU Sync Mode to Receive

v3.1.2

Compare Source

!! Critical Bug fix for Memoery Leak !!
#​2311

It also contains a packaging fix for webpack #​2307 (caused by [#​2306]][https://github.com/microsoft/ApplicationInsights-JS/issues/2306](https://github.com/microsoft/ApplicationInsights-JS/issues/2306)6) ) and

Changelog
  • #​2307 ApplicationInsights-JS latest version 3.1.1 giving TypeError: Cannot read properties of undefined (reading 'getCrypto')
  • #​2306 [BUG] Circular dependencies
  • #​2311 [BUG] Excessive memory usage for SPA where unload hooks keep accumulating
  • #​2299 [Main][Task]27156360: Add json config cdn details to tool folder
  • #​2308 [Main][Task]27221819: Remove node 14 (from ci.yml)

v3.1.1

Compare Source

Changelog
  • #​2296 [BUG] remove 403 as a “retriable” error code
  • #​2276 Update api-docs (typedoc) with the current 3.1.0 release details
  • #​2281 [Main][Task]26681188: Handle endpoint url change for offline channel and add notification mgr
  • #​2282 Addng two new PII Kind values for IPv6 scrubbing and dropping data.
  • #​2285 [Main][Task]25693679: Extract common sendPost implementation for online and offline sender
  • #​2197 [main] [BUG] using EndPointUrl (and IngestionEndpoint) results in Telemetry sent to incorrect urls
  • #​2288 [Main][Task]27064950: Add doc on adding offline support channel
  • #​2295 [Main][Task]27064983: Update post channel to use sender post common interfaces from core
  • #​2290 chore: remove extraneous console log from debug plugin
Web snippet additional update to 1.1.2 (March 1st, 2024)

Refer to #​2284 [Web-Snippet] [BUG] @​microsoft/applicationinsights-web-snippet version 1.1.1 type problem

Web snippet additional update to 1.1.1 (Feb 16th, 2024)

Refer to #​2277 [Web-Snippet] dependency chain issues

v3.1.0

Compare Source

Interface changes / Breaking changes

This release includes support for a new Offline Channel which has changed the IChannelsControls interface to include additional support for the new offline channel. This change is to support the new offline channel and is a breaking change for any custom channels that implement the IChannelsControls interface. If you have a custom channel that implements the IChannelsControls interface you will need to update your implementation to include the new offline channel.

Configuration default changes

As this is a minor version bump we have also change some default values for the following configuration options:

  • disableUserInitMessage is now true by default to disable the user init message.
Potential breaking change

This release contains a potential break change with 'tags' type change

While the interface changes are breaking changes, the changes are not expected to affect the majority of users as when the code attempted to serialize the tags property it would have failed due to the Tags[] type being used instead of the correct Tags type.

Old
    tags?: Tags & Tags[]; 
New
    tags?: Tags;
New Offline Channel

This release also includes the new offline channel which is a new channel that is designed to support offline scenarios. The offline channel is designed to store telemetry items in local storage and then send them when the user comes back online.
To take full advantage of the initial version you will need to implement your own IOfflineListener to handle situations where you may have "network" connectivity but not internet access. As the navigator.onLine property if available will only tell you if you have network connectivity and not internet access.

Changelog
  • #​2186 [main] offlineListener preparation
  • #​2241 [Main][Task]26451789: Add Offline Support
  • #​2259 [Main][Task]26694421: Add Offline Support Publish Group
  • #​2267 [Main][Task]26681220: Better handle timers in offline channel
  • #​2028 [BUG] AI (Internal): 72 tracking
    • Sets the default value for the disableUserInitMessage to true (was previously false since adding)
  • #​2193 [main] Add extra config in sender to let users define transports type
  • #​2200 [main] [doc] Highlight an issue with the default UMD module format when loading from the CDN into an environment that may have require.js
  • #​2208 [Main][Task]26079397: Add disableBeaconSplit sender config and fix potential duplicated events during unload/fallback sender
    • #​2236 [Main][Task]26396663: Set default disableBeaconSplit to true
  • #​2204 [BUG] Beacon sender reports error for success when diagnostics are enabled
  • #​2214 [main] Merge Release-3.0 to main
  • #​2221 [main] Fixup the ci.yml to address internal hash changes between different node versions
  • #​2216 [Main][Task]26138416: Fix FetchKeepAliveSender send duplicated events during unload
  • #​2228 [main] minor release preparation
  • #​2229 [main] [doc] add requireJs problem in SdkLoadFailure.md
  • #​2132 [BUG] Submitting NaN via trackEvent results in HTTP 400 Error Code
  • #​2238 [Main] Merge release-3.0 to main
  • #​2244 Internal Task: Update npm pack sequence
  • #​2249 [main][1ds] Enhance Retry Policy Testing for Alignment with Collector Policy
  • #​2245 [main] [snippet update] add functions to set configs of snippet
  • #​2250 [main] [doc] minor comment update for avoidOptions
  • #​2251 [Main][1DS][Post] Add support for the ext.metadata to NOT be included
  • #​2253 [Main] Update Tests to support upcoming change in nevware21/tsutils dumpObj to better support JSON stringify and handle PURE comments
  • #​2255 [main] #​2225 pass customer exception id into telemetry
  • #​2247 [main] [1ds-post] export add header func for auth-plugin to consume
  • #​2209 [BUG] stopTrackEvent requires property values to be strings
  • #​2258 [BUG] ITelemetryItem uses intersection type instead of union type for tags property
    • #​2269 [main] [Possible Break] Removed Tags[] from ITelemetryItem as this was breaking later versions of TypeScript by using the intersection type instead of union type for tags property
  • #​2272 [release 3.0.8] Fix channel test
  • #​2271 Cherry-pick from release-3.0 branch
    • [Release-3.0] [Release] Increase version to 3.0.8 ([Release-3.0] [Release] Increase version to 3.0.8 #​2264)
    • [Release-3.0] Update namespaced types (DTS) generation to include referenced bundles

v3.0.9

Compare Source

!! Critical Bug fix for Memory Leak !!
#​2311

It also contains a packaging fix for webpack #​2307 (caused by [#​2306]][https://github.com/microsoft/ApplicationInsights-JS/issues/2306](https://github.com/microsoft/ApplicationInsights-JS/issues/2306)6) ) and

Changelog
  • #​2307 ApplicationInsights-JS latest version 3.1.1 giving TypeError: Cannot read properties of undefined (reading 'getCrypto')
  • #​2306 [BUG] Circular dependencies
  • #​2311 [BUG] Excessive memory usage for SPA where unload hooks keep accumulating
    • #​2313 [release-3.0] [main->cherrypick] [BUG] Excessive memory usage for SPA where unload hooks keep accumulating #​2311 (#​2312)
  • #​2314 [Release-3.0][cherrypick:main] Internal Task: Update npm pack sequence (#​2244)
  • #​2265 [Release-3.0] Update namespaced types (DTS) generation to include referenced bundles
  • #​2296 [Release-3.0][BUG] remove 403 as a “retriable” error code

What's Changed

Full Changelog: microsoft/ApplicationInsights-JS@3.0.8...3.0.9

v3.0.8

Compare Source

This release changes the new beacon splitting code (added in 3.0.4) to be disabled by default. This change is to address the issue where the SDK was splitting the payload into multiple requests when the payload size exceeded the maximum allowed size for a single request. This issue was introduced in the 3.0.4 release and only affects the sendBeacon usage during page unload, it does not affect the fetch usage during page unload. This change is to address the issue where the SDK was splitting the payload into multiple requests when the payload size exceeded the maximum allowed size for a single request. This issue was introduced in the 3.0.4 release and only affects the sendBeacon usage during page unload, it does not affect the fetch usage during page unload.

Changelog
  • #​2235 [BUG] - CRITICAL - Application runs out of memory
    • #​2236 [release-3.0] Cherry-Pick: [Main][Task]26396663: Set default disableBeaconSplit to true
  • #​2242 [release-3.0] Update components
  • #​2254 [Release3.0] Update Tests to support upcoming change in nevware21/tsutils dumpObj to better support JSON stringify and handle PURE comments
  • [Release 3.0] Update components for release #​2261

v3.0.7

Compare Source

Changelog

This release is a hotfix for issue #​2216, which is simular to the issue fixed in 3.0.6 but for the fetch (with the keep-alive flag).

Changelog
  • #​2216 [release-3.0] Cherrypick (main): fix fetchkeepalive
  • #​2221 [release-3.0] Cherrypick (main): Fixup the ci.yml to address internal hash changes between different node versions

v3.0.6

Compare Source

This release fixes an issue with the sendBeacon usage during page unload, where the SDK was not correctly splitting the payload into multiple requests when the payload size exceeded the maximum allowed size for a single request. This issue was introduced in the 3.0.4 release and only affects the sendBeacon usage during page unload, it does not affect the fetch usage during page unload.

Changelog
  • #​2195 [BUG] Beacon sender causes flood of thousands of requests on page unload
  • #​2201 [BUG] applicationinsights.azure.com/v2/track making hundreds of thousands of requests when third party cookies are disabled
  • #​2205 [BUG] Duplicate customEvent entries
  • #​2204 [BUG] Beacon sender reports error for success when diagnostics are enabled

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/microsoft-applicationinsights-web-3.x branch from af7dd81 to ff70ac7 Compare September 24, 2024 16:41
@renovate renovate bot changed the title Update dependency @microsoft/applicationinsights-web to v3.3.2 Update dependency @microsoft/applicationinsights-web to v3.3.3 Sep 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants