Skip to content

v0.44.0

Latest
Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 11 Jun 07:01
· 12 commits to master since this release
39e5251

Minor Changes

  • #421 6fd2aab Thanks @askoufis! - Playroom's utility API is now bundled for both ESM and CJS

    BREAKING CHANGE:

    Migrating the utils entries to TypeScript has necessitated an internal build step to produce both ESM and CJS versions.
    As a result, these APIs are now exposed as named exports at the top level of the playroom package.

    MIGRATION GUIDE:

    For ESM imports:

    -import { createUrl } from 'playroom/utils';
    +import { createUrl } from 'playroom';

    or for CJS usage:

    -const { createUrl } = require('playroom/utils');
    +const { createUrl } = require('playroom');
  • #417 03d145d Thanks @michaeltaranto! - Improved handling of rendering errors

    Errors occurring during render no longer replace the frame contents with a red error message.
    Instead, the error is caught and overlaid on top of the last successful render result (when possible).

  • #414 e69f698 Thanks @felixhabib! - Improve snippets search ranking algorithm.
    Results are now sorted primarily by the group property over the name property, making it easier to see related snippets together.

    Replace fuzzy dependency with fuse.js to enable result sorting.

  • #410 6b5eaa3 Thanks @felixhabib! - Refactor layout.

    Improve the code editor show/hide animation.
    Prevent code contents from being searchable when the editor is hidden.

Patch Changes