Skip to content

Releases: seek-oss/playroom

v0.37.1

04 Apr 23:35
0502218
Compare
Choose a tag to compare

Patch Changes

  • 2b6d5c5: Update lz-string to 1.5.0, and removed unnecessary @types/lz-string

v0.37.0

07 Mar 23:43
cdfc925
Compare
Choose a tag to compare

Minor Changes

  • 94c75f8: Add "Find", "Find and replace", and "Jump to line" functionality.

    Keybindings for these new commands are:

    • Cmd + F / Ctrl + F - Find
    • Cmd + Option + F / Ctrl + Alt + F - Find and replace
    • Cmd + G / Ctrl + G - Jump to line

Patch Changes

  • 71f694a: Fix issue with "Toggle comment" command commenting certain code outside JSX tags with incorrect syntax.

v0.36.0

05 Mar 02:19
184a1b4
Compare
Choose a tag to compare

Minor Changes

  • c3f0373: Drop support for Node versions <18.12.0

  • 90edcc8: Add keybinding for copying Playroom link to clipboard with + + C (or, on Windows, Ctrl + Shift + C).

  • c99cc30: Add keybinding to toggle comment syntax for the current selection.

    Pressing Cmd + / (or, on Windows, Ctrl + /) will toggle comment syntax for the currently selected text.
    If no text is selected, the line the cursor is on will toggle comment syntax.

Patch Changes

  • dd95719: Add 'Insert snippet' shortcut to 'Keyboard Shortcuts' list in settings panel for better discoverability.

  • cad1ded: Remove dependency on current-git-branch package

  • 0215bb4: Replace query-string dependency with URLSearchParams

  • 6ad5895: Update shortcut format for Windows users for consistency with standard styling.

  • cb3c427: In the Settings Panel, sort keyboard shortcuts order by most frequently and widely used. Related shortcuts are grouped together.

  • b1766c2: Move Title setting from Settings Panel to Frame Panel to group current playroom settings together and improve discoverability.

    Now, all settings that affect the current playroom tab live in the Frame Panel.
    Settings affecting all playroom tabs live in the Settings Panel.

  • 41e8cfa: Fix an issue where new Playroom tabs without a set title would load a recently used title.

  • 134c5a4: Upgrade webpack-dev-server to v5

  • c3f0373: Update dependencies

  • f88a4e6: Fix async import of playroom config on Windows

v0.35.0

13 Feb 03:56
d7ac88a
Compare
Choose a tag to compare

Minor Changes

  • ad60e01: Add support for specifying default subsets of themes and screen widths via the config.

    Example usage

    // playroom.config.js
    module.exports = {
      ...,
      defaultVisibleWidths: [
        // subset of widths to display on first load
      ],
      defaultVisibleThemes: [
        // subset of themes to display on first load
      ],
    }
  • f45dd04: Add ability to customise tab titles via a "Title" section in the settings panel.

Patch Changes

  • f491105: Fix bug in "Wrap selection in tag" command that caused the start cursor to occasionally be placed in the wrong postion.

v0.34.2

24 Jan 05:35
1281077
Compare
Choose a tag to compare

Patch Changes

  • 88bd204: Fix playroom build by making favicon path relative to webpack config

v0.34.1

18 Dec 02:42
77591d1
Compare
Choose a tag to compare

Patch Changes

  • e3b820b: Add favicon to Playroom site.
  • 4fb69cb: Improve affordance of error marker detail

v0.34.0

23 Nov 00:15
b436a2b
Compare
Choose a tag to compare

Minor Changes

  • 1c8ae6b: Use smaller React pragmas to reduce the payload sent to iframes
  • c4b639c: Replace @babel/standalone with sucrase for JSX compilation

Patch Changes

  • 1c8ae6b: Highlight the correct error location when code has syntax errors

v0.33.0

09 Nov 23:17
26828a5
Compare
Choose a tag to compare

Minor Changes

  • 2d3571b: Add support for loading mjs config files

    Consumers should now be able to write their configuration files using ES modules. By default Playroom will look for playroom.config.js with either a .js, .mjs or .cjs file extension.

v0.32.1

01 Aug 06:03
9de7d5e
Compare
Choose a tag to compare

Patch Changes

  • a044864: Allow overriding Webpack module rules

    Consumers may have complex Webpack configurations that can clash with Playroom's.
    In this case, it's useful to be able to override the module rules that Playroom defines.
    For example, overriding loaders defined for CSS files:

    // playroom.config.js
    module.exports = {
      webpackConfig: () => ({
        module: {
          rules: [
            // use your own CSS loaders
            { test: /\.css$/, use: ['style-loader', 'css-loader'] },
          ],
        },
      }),
    };

v0.32.0

11 Jul 04:40
321cce2
Compare
Choose a tag to compare

Minor Changes

  • 720d542: Drop support for React 16. Consumers are encouraged to upgrade to React 17+, which is a drop-in replacement.
  • 720d542: Support TypeScript 5.0+