diff --git a/CHANGELOG.md b/CHANGELOG.md index 2673543..b0ec738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,11 +17,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased +## [2.1.0] - 2024-05-16 + +### Added + +- Added `readonly` flag to `PropertyLike`, the common interface of variables, class fields, and function parameters. ([#118](https://github.com/webcomponents/custom-elements-manifest/pull/#118)) + +- Added support for describing the [CSS Custom State](https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet) of an element. ([#128](https://github.com/webcomponents/custom-elements-manifest/pull/128)) ### Fixed -- Clarified that all attributes of a `CustomElement` must be listed in the the `attributes` array, even those reflected from a `CustomElementField`. +- Clarified that all attributes of a `CustomElement` must be listed in the the `attributes` array, even those reflected from a `CustomElementField`. ([#126](https://github.com/webcomponents/custom-elements-manifest/pull/126)) ## [2.0.0] - 2022-09-12 diff --git a/README.md b/README.md index 9ed2175..6a7e8c5 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,14 @@ In order to allow tools to find npm packages with custom element manifests witho ## Schema Versioning The schema has a `schemaVersion` field in the top-level object to facilitate -evolution of the schema. The schema follows [semver](https://semver.org/) versioning, the current schema version is `2.0.0`. +evolution of the schema. The schema follows [semver](https://semver.org/) versioning, the current schema version is `2.1.0`. -This version will not always match the npm package version, as some changes to the npm package might not have changes to the schema. We will publish a list of schema versions and their associated npm versions and git tags. +This version may not always match the npm package version, as some changes to the npm package might not have changes to the schema. + +| Schema Version | Date | npm Version | git Tag | +| -------------- | ---------- | ----------- | ------- | +| 2.1.0 | 2024-05-06 | 2.1.0 | v2.2.0 | +| 2.0.0 | 2022-09-13 | 2.0.0 | v2.0.0 | ## Example @@ -75,7 +80,7 @@ The manifest would look like: `my-project/custom-elements.json`: ```json { - "schemaVersion": "2.0.0", + "schemaVersion": "2.1.0", "readme": "README.md", "modules": [ { diff --git a/examples/simple-element.json b/examples/simple-element.json index c7500ee..fbd23e5 100644 --- a/examples/simple-element.json +++ b/examples/simple-element.json @@ -1,5 +1,5 @@ { - "schemaVersion": "2.0.0", + "schemaVersion": "2.1.0", "readme": "README.md", "modules": [ { diff --git a/package-lock.json b/package-lock.json index 98cf841..42b3664 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "custom-elements-manifest", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "custom-elements-manifest", - "version": "2.0.0", + "version": "2.1.0", "license": "BSD-3-Clause", "devDependencies": { "jsonschema": "^1.4.0", diff --git a/package.json b/package.json index 8d867a6..54c9542 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "custom-elements-manifest", - "version": "2.0.0", + "version": "2.1.0", "description": "A file format for describing custom elements", "type": "module", "main": "schema.json",