3.4.3
This is a maintenance release for the 3.4.x version line adding a new SDK statistics feature, a PostChannel reliability fix, and dependency security hardening. The @microsoft/1ds-post-js channel is numbered 4.4.3 and requires v3.4.3.
Significant Changes (since 3.4.2)
-
Customer SDK Stats: Added a new
SdkStatsfeature that periodically collects internal SDK usage/health statistics. It is enabled by default and can be disabled (or explicitly configured) via thefeatureOptInconfiguration (e.g.featureOptIn: { SdkStats: { mode: FeatureOptInMode.disable } }); the collection interval defaults to 15 minutes (sdkStats.int). -
PostChannel Auto-Flush Stall Fix: Fixed a permanent stall in
@microsoft/1ds-post-jswhere, under sustained intermittent send failures (e.g. a load balancer returning occasional 503s), auto flush could wedge behind theflush()wait-for-idle timer and permanently stop draining the in-memory queue — causing telemetry to be silently dropped asQueueFulluntil the process was restarted. Auto flush is now fire-and-forget and no longer parks the scheduler waiting for the manager to become completely idle. -
Dependency Security Hardening: Pinned
tarto>=7.5.16to remediate CVE-2026-53655 and resolved the remainingnpm auditfindings in build tooling via dependency overrides (js-yaml,yaml,markdown-it,linkify-it). These are build/tooling changes and do not affect the published runtime packages. -
Fixed
[INVALID_ANNOTATION]warnings in Rolldown / Vite 8 consumers (#2736): The per-moduledist-es5output (the packagemoduleentry that modern bundlers import) emitted parenthesized PURE tree-shaking annotations with whitespace after the opening parenthesis (e.g.( /*#__PURE__*/"http.")), which stricter bundlers such as Rolldown (Vite 8) rejected. The build now canonicalizes these annotations to the flush form ((/*#__PURE__*/"http.")) in thedist-es5output, accepted by all bundlers while preserving the wrapping parentheses required for older Rollup / Webpack / Terser to tree-shake the constants. This complements #2737, which only normalized the rollup-bundleddist/es5(main) output.
Changelog
- #2746 Fix PostChannel auto-flush permanent stall under sustained intermittent send failures
- #2745 fix(security): pin tar >=7.5.16 to remediate CVE-2026-53655
- #2744 fix(#2736): canonicalize PURE annotations in dist-es5 (module) output to fix Rolldown/Vite 8
[INVALID_ANNOTATION]warnings - #2707 Enable Customer SDK Stats
- Resolve remaining npm audit findings via dependency overrides (js-yaml, yaml, markdown-it, linkify-it)
Full Changelog: v3.4.2...v3.4.3