Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@lukas-schardt lukas-schardt released this 09 Feb 15:48
· 38 commits to develop since this release

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 and lit-html from the luna project and made the
    template and element renderer exchangeable
  • BREAKING: removed LunaElement, LunaMarkdownElement, html and unsafeHTML
  • 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

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