Releases: 11ty/eleventy-plugin-webc
Eleventy WebC Plugin v0.12.0-beta.7
- Using WebC v0.12.0-beta.2
Full Changelog: v0.12.0-beta.6...v0.12.0-beta.7
Eleventy WebC Plugin v0.12.0-beta.6
- Removed fixed WebC version (plan ahead for future versions of WebC)
Full Changelog: v0.12.0-beta.5...v0.12.0-beta.6
Eleventy WebC Plugin v0.12.0-beta.5
- Use
node:protocol in imports (require(…)) by @Zearin in #75 - Add
homepageto npm config by @benhovinga in #109
Full Changelog: v0.12.0-beta.4...v0.12.0-beta.5
Eleventy WebC Plugin v0.12.0-beta.4
- CAREFUL This release uses WebC v0.12.0-beta.1 which includes BREAKING CHANGES.
Full Changelog: v0.12.0-beta.3...v0.12.0-beta.4
Eleventy WebC Plugin v0.12.0-beta.3
- Restores
options.bundlePluginOptions.hoistDuplicateBundlesFor: ["css", "js"]default for bundles, see https://www.11ty.dev/docs/languages/webc/#installation
Full Changelog: v0.12.0-beta.2...v0.12.0-beta.3
Eleventy WebC Plugin v0.12.0-beta.2
- Fix npm provenance.
Full Changelog: v0.12.0-beta.1...v0.12.0-beta.2
Eleventy WebC Plugin v0.12.0-beta.1
- Breaking: Node 18+
- Eleventy core 3.0 stable is now required (makes use of the new Bundle Plugin)
- Per Bundle Plugin defaults, the output directory (
bundlePluginOptions.toFileDirectory) for generated files is now the root of the Eleventy project output directory (usually_site). Previously this was"bundle"(e.g._site/bundle/bundleName.js).
- Per Bundle Plugin defaults, the output directory (
webcGetCssandwebcGetJsremoved filters were removed (after deprecation). UsegetBundle('css')andgetBundle('js')respectively. Helpful error messages added to tell you what to do at runtime.- Adds npm provenance for package publishing.
Full Changelog: v0.11.1...v0.12.0-beta.1
Eleventy WebC v0.11.2
Milestone: https://github.com/11ty/eleventy-plugin-webc/milestone/12?closed=1
Full Changelog: v0.11.1...v0.11.2
- Fix for Eleventy import to allow this plugin to be compatible with both ESM and CJS projects in Eleventy v3.0. #91
Eleventy WebC v0.11.1
Milestone: https://github.com/11ty/eleventy-plugin-webc/milestone/11?closed=1
Full Changelog: v0.11.0...v0.11.1
- #76 Add support for Eleventy provided
getPreviousCollectionItemandgetNextCollectionItemfilters in WebC - #71 Add access to helpers in callbacks when using WebC as a postprocessing transform (e.g. https://www.11ty.dev/docs/languages/webc/#post-process-html-output-as-webc)
Eleventy WebC v0.11.0
Milestone: https://github.com/11ty/eleventy-plugin-webc/milestone/10?closed=1
Full Changelog: v0.10.1...v0.11.0
- Upgrades to WebC v0.11.0, release notes or read more below.
- Scopes top-level
css,js, andhtmlhelpers (via https://github.com/11ty/eleventy-plugin-bundle) towebc.helpers.*This technically is a breaking change but these helpers were undocumented with WebC so it’s unlikely folks were using them directly. #65 #66
WebC v0.11.0
⚠️ BREAKING⚠️ This will affect your component code if you relied on global data from inside of component definitions.Child components will now need to access global data through a top level
$datavariable instead of as top level variables. This is important to prevent global data leaking into component data and affecting component logic.This will not affect pages or top-level WebC components (in Eleventy world, these are
*.webcfiles as Eleventy layouts or in as pages in your input folder). This only affects child components (in Eleventy world, this means files in your components folder, e.g._components/**/*.webc).
- Read more at 11ty/webc#151.
- Here’s the commit that was required to upgrade 11ty.dev to WebC v0.11.0.
Sorry to have to make this breaking change, but it’s an important one.
Other fixes in this release:
- Fix for
webc:scopedwith@keyframesand percentages. 11ty/webc#145- Fix bug with
webc:setupfeeding Arrays intowebc:for11ty/webc#150