Releases: ProjectEvergreen/wcc
Releases · ProjectEvergreen/wcc
v0.2.2
Overview
Fixed an issue with compiler trying to resolve bare specifiers (e.g. node_modules).
Changelog
https://github.com/ProjectEvergreen/wcc/issues?q=label%3Av0.2.2
Breaking Changes
N / A
Known Issues
None
Diff
$ git diff 0.2.1 0.2.2 --stat
README.md | 8 ++++----
package.json | 2 +-
src/wcc.js | 9 +++++++--
test/cases/render-from-html/render-from-html.spec.js | 2 +-
4 files changed, 13 insertions(+), 8 deletions(-)
0.2.1
Overview
Fix a regression with the expected behavior of renderToString
.
Changelog
https://github.com/thescientist13/wcc/issues?q=label%3A0.2.1
Breaking Changes
N / A
Known Issues
None
Diff
$ git diff 0.2.0 0.2.1 --stat
% git diff 0.2.0 0.2.1 --stat
package.json | 2 +-
src/wcc.js | 4 ++--
test/cases/single-element/single-element.spec.js | 14 ++++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
0.2.0
Overview
This release aims to improve the expected response from renderToString
and renderFromHTML
functions.
Changelog
https://github.com/thescientist13/wcc/issues?q=label%3A0.2.0
renderToString
should wrap rendered HTML in custom element tag definition- standardize HTML response between
renderToString
andrenderFromHTML
Breaking Changes
renderToString
When using renderToString
, if your entry point custom element has a customElements.define
, that tag name will be used to wrap the HTML response.
Known Issues
Diff
$ git diff 0.1.0 0.2.0 --stat
README.md | 14 ++---
build.js | 6 ++-
docs/assets/favicon.ico | Bin 0 -> 1150 bytes
docs/assets/wcc-logo.png | Bin 0 -> 36383 bytes
docs/components/header.js | 13 +++--
docs/pages/docs.md | 6 ++-
package.json | 2 +-
src/wcc.js | 60 ++++++++++++++++-----
test/cases/nested-elements/nested-elements.spec.js | 2 +-
test/cases/nested-elements/src/pages/index.js | 4 +-
.../render-from-html/render-from-html.spec.js | 21 +++++++-
test/cases/single-element/single-element.spec.js | 2 +-
12 files changed, 97 insertions(+), 33 deletions(-)
0.1.0
Overview
Initial release of wcc*.
Changelog
https://github.com/thescientist13/wcc/issues?q=label%3A0.1.0
- omit
<template>
from rendered declarative shadow dom (support static HTML workflows) renderFromHTML
- add support for light DOM children and
<slot>
s
Breaking Changes
N / A
Known Issues
N / A
Diff
N / A