15 March 2023

๐Ÿ“ฃ Announcement

This release brings in a massive improvement in developer experience. Following our months of work on converting the Smplrspace codebase to Typescript, we are now publishing the @smplrspace/smplr-loader package to NPM. This package allows you to load a fully-typed version of smplr.js into your codebase, which supports type checking and auto-completion of the smplr.js API. Learn more in the docs and try it out in an interactive code playground with our hello world example.

๐ŸŽ‰ Other new features

  • You can now query the API from smplr.js through an end-to-end type-safe SDK. For now we've only added the ability to get a space but more will come in the future (please tell us about your specific needs). Check the QueryClient docs to learn more.

๐Ÿ’… Improvements

  • We've made really large performance improvements to the editor. You can feel it especially clearly on very large spaces, over 300,000 sqft. Our team has been editing a 4M sqft building with no lag at all after the update, how's that for performance ๐Ÿ’ช.

  • We've reworked the handling of floor plan images in the editor, which improved resize performance when you zoom in/out, cut down on app size, and improved browser compatibility.

  • Flipping the space now flips the floor plan image and the furniture as well.

  • Rescaling the floor plan now rescales anything that has already been sketched, including walls and furniture. No more rework when you realize you got the wrong scale ๐Ÿค“.

  • The mapper now exports our internal ids to allow for easier iterative mapping.

  • Asset maps from the mapper are now preserved if you duplicate a space or transfer a space to an organization.

๐Ÿ› Bug fixes

  • Fixed an issue with duplicated IDs that happened in multi-storey buildings we stacked manually from individual floor plates.

  • You can now duplicate a whole level from the "Advanced tools" section in the "Services" tab.