Skip to content

v4.2.0

Compare
Choose a tag to compare
@jaredcwhite jaredcwhite released this 11 Oct 23:59
· 101 commits to master since this release
  • Additional lit filter updates (PR #141)
    • Allow snake case custom_element in addition to customElement
    • Process the render function even when it contains multiple statements
    • Fix a properties vs styles typo for <es2022
    • Automatically add the html tagged literal return when necessary for any method, not just render
    • Ensure any ivars prefixed with _ will not turn into reactive properties (if you truly need to maintain private internal state).
  • ruby2js cli interface added
  • esm autoimports & defs: fix Opal-based parser to handle hash generated by Ruby
  • esm filter: convert top level requires into imports
  • lit filter: updates from polymer LitElement to Lit v2.
    added: customElements, es2022 syntax for properties,
    query, queryAll, queryAsync
    inherited methods: performUpdate, requestUpdate
    inherited properties: hasUpdated, renderRoot, shadowRoot, updateComplete