Skip to content

v2.6.0-beta-1

Compare
Choose a tag to compare
@xeolabs xeolabs released this 06 Mar 20:20
· 1049 commits to master since this release

BREAKING CHANGE

Removes the bundled web-ifc API implementation from xeokit-sdk, so that WebIFCLoaderPlugin now expects the user to instantiate that API themselves externally and inject it into the WebIFCLoaderPlugin constructor.

Previously, the web-ifc API was instantiated and managed internally within WebIFCLoaderPlugin. This meant that we needed to bundle the API within the xeokit-sdk library, which had the disadvantage of increasing the size of the xeokit-sdk, as well as coupling it to a specific version of web-ifc.

With this release, users must instantiate and initialize the web-ifc API themselves, then inject it into the WebIFCLoaderPlugin constructor, as shown in the code snippet below.

This is a breaking change in xeokit-sdk for users of our WebIFCLoaderPlugin, but is not a breaking change for xeokit-bim-viewer, which does not use WebIFCLoaderPlugin.

See the PR for API change details: #1401

What's Changed

  • [BREAKING] Modify WebIFCLoaderPlugin to expect externally-provided web-ifc API by @xeolabs in #1401

Full Changelog: v2.5.2-beta-32...v2.6.0-beta-1