What's Changed
- Use posthtml for building the server document instead of jsdom (better performance)
- Removed prepublish step
- BREAKING: remove all dependencies to
element-js
andlit-html
from the luna project and made the
template and element renderer exchangeable - BREAKING: removed
LunaElement
,LunaMarkdownElement
,html
andunsafeHTML
- BREAKING: Elements are now server only per default, and the developer needs to opt-in to client rendering
- BREAKING: Layouts can now be loaded by a string and has a fallback for a default (#68)
- BREAKING: Removed the legacy build (#71)
- The
luna.config.js
can now be written in ES syntax
- Update publish action by @lukas-schardt in #44
- fix: Static copy task by @lukas-schardt in #45
- #47: allow different cache providers by @lukas-schardt in #49
- Feature/#50 improve service container by @lukas-schardt in #53
- Feature/#46 improve build by @lukas-schardt in #54
- Develop by @lukas-schardt in #56
- Upgrade dependencies to fix "high severity" issues by @lukas-schardt in #74
- Release 0.10.1 by @lukas-schardt in #87
Added
- Allow
.attribute
notation for server rendered components - Several Decorators (
Component
,Inject
,LunaService
,HideFromClient
,CurrentRequest
) ElementFactory
for defining how an element should be rendered on the server- Allow the developer to define a default target for each component bundle
- Support for sourcemaps and debugging in the browser and in node (#55)
Fixed
- Renderer path replacements
- Luna lifecycle for Attribute and property parsing (#65)
- You can now export additional functions in a component
Full Changelog: 0.7.1...v0.11.0