Skip to content

Releases: ProjectEvergreen/wcc

v0.2.2

07 Jun 12:27
Compare
Choose a tag to compare

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

  1. node modules (bare specifiers) are causing an unhandled filesystem exception

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

28 May 16:13
Compare
Choose a tag to compare

Overview

Fix a regression with the expected behavior of renderToString.

Changelog

https://github.com/thescientist13/wcc/issues?q=label%3A0.2.1

  1. renderToString is returning document tags within the <template> output

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

28 May 15:09
Compare
Choose a tag to compare

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

  1. renderToString should wrap rendered HTML in custom element tag definition
  2. standardize HTML response between renderToString and renderFromHTML

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

  1. renderToString is returning document tags within the <template> output

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

13 May 23:47
fa8ea40
Compare
Choose a tag to compare