From 63f85491a5d63993178733868fdfd8fea6f5dfac Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Mon, 7 Mar 2022 15:20:07 -0800 Subject: [PATCH] Release 0.15.0 (#280) Co-authored-by: Andrew Jakubowicz --- CHANGELOG.md | 8 +++++++- README.md | 35 +++++++++++++++++++---------------- package-lock.json | 4 ++-- package.json | 2 +- src/shared/version.ts | 2 +- 5 files changed, 30 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f413c4ee..6a26a1aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased + + +## [0.15.0] - 2022-03-07 + +### Added + +- Added `noCompletions` property documentation to README. ### Fixed diff --git a/README.md b/README.md index b8d51387..dcea774b 100644 --- a/README.md +++ b/README.md @@ -679,6 +679,7 @@ All-in-one project, editor, file switcher, and preview with a horizontal side-by | `pragmas` | `"on" \| "off" \| "off-visible"` | `"on"` | How to handle `playground-hide` and `playground-fold` comments ([details](#hiding--folding)). | | `modified` | `boolean` | `false` | Whether the user has modified, added, or removed any project files. Resets whenever a new project is loaded. | | `htmlFile` | `string` | `"index.html"` | The HTML file used in the preview. | +| `noCompletions` | `boolean` | `false` | If interactive code completions should be shown. This setting only applies to TypeScript files. | ### Slots @@ -746,14 +747,15 @@ project element. ### Properties -| Name | Type | Default | Description | -| ------------- | --------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | -| `project` | `string \| PlaygroundProject` | `undefined` | The project that this editor is associated with. Either the `` node itself, or its `id` in the host scope. | -| `filename` | `string` | `undefined` | The name of the project file that is currently being displayed. Set when changing tabs. Does not reflect to attribute. | -| `type` | `"js" \| "ts" \| "html" \| "css"` | `undefined` | File type. | -| `lineNumbers` | `boolean` | `false` | Render a gutter with line numbers in the editor | -| `pragmas` | `"on" \| "off" \| "off-visible"` | `"on"` | How to handle `playground-hide` and `playground-fold` comments ([details](#hiding--folding)). | -| `readonly` | `boolean` | `false` | Do not allow edits | +| Name | Type | Default | Description | +| --------------- | --------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | +| `project` | `string \| PlaygroundProject` | `undefined` | The project that this editor is associated with. Either the `` node itself, or its `id` in the host scope. | +| `filename` | `string` | `undefined` | The name of the project file that is currently being displayed. Set when changing tabs. Does not reflect to attribute. | +| `type` | `"js" \| "ts" \| "html" \| "css"` | `undefined` | File type. | +| `lineNumbers` | `boolean` | `false` | Render a gutter with line numbers in the editor | +| `pragmas` | `"on" \| "off" \| "off-visible"` | `"on"` | How to handle `playground-hide` and `playground-fold` comments ([details](#hiding--folding)). | +| `readonly` | `boolean` | `false` | Do not allow edits | +| `noCompletions` | `boolean` | `false` | If interactive code completions should be shown. This setting only applies to TypeScript files. | --- @@ -763,14 +765,15 @@ A pure text editor based on CodeMirror with syntax highlighting for HTML, CSS, J ### Properties -| Name | Type | Default | Description | -| ------------- | --------------------------------- | ----------- | -------------------------------------------------------------------------------------------------- | -| `value` | `string` | `""` | Code as string | -| `type` | `"js" \| "ts" \| "html" \| "css"` | `undefined` | Language of the file to syntax highlight | -| `readonly` | `boolean` | `false` | Do not allow edits | -| `lineNumbers` | `boolean` | `false` | Render a gutter with line numbers in the editor | -| `pragmas` | `"on" \| "off" \| "off-visible"` | `"on"` | How to handle `playground-hide` and `playground-fold` comments ([details](#hiding--folding)). | -| `documentKey` | `object` | `undefined` | Editor history for undo/redo is isolated per `documentKey`. Default behavior is a single instance. | +| Name | Type | Default | Description | +| --------------- | --------------------------------- | ----------- | -------------------------------------------------------------------------------------------------- | +| `value` | `string` | `""` | Code as string | +| `type` | `"js" \| "ts" \| "html" \| "css"` | `undefined` | Language of the file to syntax highlight | +| `readonly` | `boolean` | `false` | Do not allow edits | +| `lineNumbers` | `boolean` | `false` | Render a gutter with line numbers in the editor | +| `pragmas` | `"on" \| "off" \| "off-visible"` | `"on"` | How to handle `playground-hide` and `playground-fold` comments ([details](#hiding--folding)). | +| `documentKey` | `object` | `undefined` | Editor history for undo/redo is isolated per `documentKey`. Default behavior is a single instance. | +| `noCompletions` | `boolean` | `false` | If interactive code completions should be shown. This setting only applies to TypeScript files. | ### Events diff --git a/package-lock.json b/package-lock.json index 425e0ce4..e3c9720d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "playground-elements", - "version": "0.15.0-pre.5", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playground-elements", - "version": "0.15.0-pre.5", + "version": "0.15.0", "license": "BSD-3-Clause", "dependencies": { "@material/mwc-button": "^0.25.1", diff --git a/package.json b/package.json index 457255fd..ff6ee00f 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "playground-elements", - "version": "0.15.0-pre.5", + "version": "0.15.0", "description": "Serverless coding environments for the web", "homepage": "https://github.com/google/playground-elements#readme", "repository": "github:google/playground-elements", diff --git a/src/shared/version.ts b/src/shared/version.ts index 99cc5343..190e89b2 100644 --- a/src/shared/version.ts +++ b/src/shared/version.ts @@ -8,5 +8,5 @@ // This file is automatically generated by scripts/update-version-module.js // before publishing. -export const npmVersion = '0.15.0-pre.5'; +export const npmVersion = '0.15.0'; export const serviceWorkerHash = 'f56081d9';