Notable changes to the ccmjs framework are documented here, newest first.
ccm.load() reports each failed resource as an Error. For stylesheet,
image, and classic script load failures, its message includes the resource URL
and error.cause holds the original browser event. Synchronous resource
failures are collected alongside the other results when loading a group.null results at their original positions.undefined entry for a missing module
export, including at the end of the result array. This also applies when
another resource fails and the promise rejects with the collected results.data-ccm-component
attribute. For example, data-ccm-component="teambuild" identifies a
Teambuild host in browser DevTools, including when its shadow root is closed
or Shadow DOM is disabled with root: false.ccm.version is a function again. Update code written for 28.x to call
ccm.version() wherever it needs the version string. When working with
multiple framework versions, use
typeof ccm.version === "function" ? ccm.version() : ccm.version.window.ccm.files before a legacy component script
first executes, so it can detect that the framework is loading it.window.ccm.callbacks when delegating to framework versions
before 28 that rely on the shared callback registry.getConnectionState(): connecting, connected, or disconnected.onconnectionchange callback reports observation state changes.connected indicates that the server has acknowledged the subscription,
rather than merely that the WebSocket is open.connect() without WebSocket support no longer throws.onconnectionchange callbacks
are caught and logged without interrupting observation.