Skip to content

Releases: google/playground-elements

v0.21.2

02 Oct 22:53

Choose a tag to compare

Fixed

  • Only fire change event on non-programmatic changes

Changed

  • Make tabchange event bubble.

v0.21.1

26 Sep 19:23
b2af5c8

Choose a tag to compare

Fixed

  • Fixed missing codemirror-extension-mixin.js file.

v0.21.0

26 Sep 19:23
c2bb5ae

Choose a tag to compare

Changed

  • POTENTIALLY BREAKING Upgraded CodeMirror to v6

Added

  • Added extensions property to <playground-ide>,
    <playground-file-editor>, and <playground-code-editor> for applying
    programmatic CodeMirror extensions.
  • Added an extensions slot to <playground-ide>,
    <playground-file-editor>, and <playground-code-editor> for applying
    declarative CodeMirror extensions.
  • Exported codemirrorExtensionMixin for creating declarative CodeMirror
    extensions.

Fixed

  • Safari cursor issues
    • Cursor selection and visiblity was broken in Safari
    • Fixed by updating to Codemirror 6

v0.20.0

26 Sep 19:22
4073566

Choose a tag to compare

Added

  • Implement cdnBaseUrl property to allow changing the underlying npm CDN base url. See README for more information.

Fixed

  • Make playground-elements more resilient to 404's from the CDN by not throwing errors when they occur. Instead, log a warning and continue to load the rest of the project.

v0.19.1

26 Sep 19:22
b6ccfd9

Choose a tag to compare

Fixed

  • Fix broken import of typescript.js module

v0.19.0

26 Sep 19:21

Choose a tag to compare

Changed

  • Upgraded to TypeScript 5.2 and Lit 3.0
  • BREAKING Use modules in workers. See caniuse.com's support table for browser support information.
  • Updated comlink, fuse.js, and tslib dependencies.

v0.18.1

10 Aug 20:33
a71eb30

Choose a tag to compare

0.18.1 - 2023-08-10

Fixed

  • Fix tab-to-spaces conversion in the code editor which was resulting in one less space being produced on tab than desired.

v0.18.0

25 May 19:14
e8b4897

Choose a tag to compare

[0.18.0] - 2023-05-25

Changed

v0.17.1

26 Apr 22:35
31c216f

Choose a tag to compare

[0.17.1] - 2023-04-25

Added

  • Fetch all @types packages listed in the project's package.json file and
    include them for TypeScript compilation. This allows type-checking packages
    that do not ship their own types but do have a DefinitelyTyped package
    available. Note: This does not automatically download the @types package for
    a package. It must be manually listed in package.json.

v0.17.0

11 Nov 22:16
e6694b5

Choose a tag to compare

[0.17.0] - 2022-11-11

Changed

  • Replaced vscode-languageserver dependency with smaller
    vscode-languageserver-protocol.
  • TypeScript version upgraded from 4.4.4 to 4.8.4.
  • PlaygroundConnectedElement project is now permitted to be undefined according to TypeScript.
  • Upgrade codemirror from 5.63.0 to 5.65.9.
  • BREAKING Switched TypeScript moduleResolution from esnext to nodenext.
  • BREAKING Bumped TypeScript target from es2017 to es2021.
  • BREAKING The local package.json is now passed to TypeScript for
    compilation, and the default value of the type field is modified to
    module.