npm v2.2.2
npm v2.2.2 - 2026-04-20
Maintenance release for the JavaScript implementation of FDC3 2.2 that includes a significant number of fixes to the FDC3 packages, FDC3-for-web reference implementation, FDC3 Conformance framework and FDC3 Workbench application. See CHANGELOG for details:
Added
- Added a notes field to Trade type (#1563)
- Added a notes field to Order and Product types (#1597)
- Added dynamic intent listener support to the reference Desktop Agent implementation (#1613)
- Ported FDC3 Conformance Project as-is into the FDC3 Monorepo, just including minimal fixes for typescript compilation. (#1576)
- Added Conformance tests for FDC3 2.2 (#1586)
- Added custom mocha test runner for conformance tests to better display test progress. (#1769)
Changed
- Converted the standalone app-directory specification test from
src/app-directory/specification/test/into a test that runs as part of CI. (#1720) - Fix for channel change listeners not sending addEventListenerRequests (#1606)
- When adding a listener on the current channel, the payload.channelId should be null (#1611)
- Increased FDC3 Conformance Test WindowCloseWaitTime to 2000 (from 1000). (#1586)
- Enhanced method binding for FDC3 API objects to support destructuring. All public methods of
Channel,PrivateChannel, andIntentResolutionobjects are now properly bound to their instances using.bind(this)in their constructors. (#1645) - Changed fdc3-web-impl to not deliver broadcast messages back to the sending application, as recommended (SHOULD) in the Standard. #1749
- Removed version number prefix from conformance test names and implementation to simplify future maintenance. (#1726)
- Updated workbench from MUI 4 to MUI 5 (#1714)
- Modernized and standardised eslint configuration in all packages. (#1823)
- Reduced log messages in fdc3-web-impl to the debug level and removed logging of all messages recevied in the BroadcastHandler. (#1851)
Fixed
- Added support for passing
originatingAppmetadata to context listeners infdc3-agent-proxyandfdc3-web-impl, matching theContextMetadataspec foraddContextListenercallbacks. (#1819) - Corrected /toolbox/fdc3-for-web/demo to only use MessagePort communication when 'Parent Post-Message' selected in the demo. (#1695)
- Corrected the property set in WCP1Hello by getAgent that indicates whether an intent resolver is needed. (#1684)
- Added unit tests to the fdc3-context package for validating context examples are valid schema.
- Reverted schema of
fdc3.timeRangecontext type back to use anyOf in place of oneOf for thestartTimeandendTimeproperty combinations. This will allow existence of one of either, or both, and pass schema validation. When defined with oneOf, validation would fail due to multiple entries being valid and it could not identify which to apply. (#1592) - Reverted schema of
fdc3.interactioncontext type back to use anyOf in place of oneOf for theinteractionTypeproperty. Since it could be a string enum or a string, validation could not differentiate. (#1598) - Fixed
fdc3.timeRangecontext example to use correctly formatted dateTime. (#1599) - Removed broken sourcemaps from npm package output (#1589)
- Fixed the
fdc3-commonjsbuild to included.tsfiles and corrects the config for easier consumption in different environments. (#1694) - Updated .NET API documentation for IListener.Unsubscribe to be async for 2.2 and current. (#1690)
- Fix for channel change listeners not sending addEventListenerRequests (#1606)
- Fix to ensure that Adding A Channel Change Event Listener Doesn't Send addEventListenerRequest - Conformance 2.2 (#1606)
- Updated Conformance tests to allow agents that fully qualify app Ids (as recommended in the Standard) to pass the conformance tests (#1767)
- Fixed import file extensions and module type to be esm module compliant (#1677)
- Added mising context types to types and enums in. ContextTypes.ts and implemented tests to ensure they stay in sync with the fdc3-context package (#1796)
- Allowed retrieval of User channels as App channels via getOrCreateChannel and getCurrentChannel in fdc3-web-impl. (#1835)
- Corrected description of UCBasic3 in the fdc-conformance framework implementation. (#1823)
- Fixed a race condition in fdc3-workbench's context store which caused the context listeners on user channels to miss replay of current context in some cases. (#1823)
- Fixed lint in the fdc3-workbench implementation. (#1823)
- Stopped fdc3-workbench flagging FDC3 version 2.2 as unsupported. (#1841)
- Resolved vulnerable dependencies (esbuild, serialize-javascript, elliptic) and consolidated shared devDependencies to simplify future maintenance. (#1841)
- Fixed the lack of handling of WCP6Disconnect messages in MessagePort example in the FDC3 Web reference implementation. (#1854)
- Fixed handling of DesktopAgents that start apps joined to a user channel by the agent-proxy by retrieving the current user channel on start-up. (#1858)
- Fixed a race condition in
DefaultChannelSupportinitialization where the current user channel was retrieved asynchronously without being awaited, which could cause apps started on a user channel by the Desktop Agent to miss their initial channel assignment. (#1858)
New Contributors
- @Angela-lltt made their first contribution in #1597
- @jaybhanushali3166 made their first contribution in #1645
- @GaneshPatil7517 made their first contribution in #1747
- @nikhilagrawalnatwest made their first contribution in #1709
- @adityashirsatrao007 made their first contribution in #1720
- @saschabuehrle made their first contribution in #1801
- @SeeWhatsOn made their first contribution in #1815
Full Changelog: release/v2.2...release/v2.2.2