github marko-js/marko marko@5.40.0

one hour ago

Minor Changes

  • #4677 e382f12 Thanks @DylanPiercey! - Read only the taglib declarations that change class API output (an attribute's target-property, preserve-name, remove-dashes and default-value, attribute patterns, and nested tags), and drop the unknown-attribute and required-attribute compile errors, which TypeScript covers. marko/src/taglib no longer exposes loader, finder or registerFromFile, and the legacy compiler API drops taglibLoader/taglibFinder. The undocumented htmlType: "custom-element" taglib setting is no longer read, nor handled by the runtime. A declared dashed attribute's default-value now reaches the camelCased property its value would. The core taglib drops its editor-only completion metadata.

Patch Changes

  • #4677 e382f12 Thanks @DylanPiercey! - Document the core tags with a doc comment above their Input type, in place of the descriptions their taglibs dropped. Language servers that read these comments show them when a tag is hovered or completed, and strike through the replaced <effect>. Marko 5's <await> no longer declares its @then, @catch and @placeholder as nested tags, which only fed editor completions.
  • Updated dependencies [012a7e1, afc52a9, e382f12, 2d8b623, e382f12, e382f12]:
    • @marko/compiler@5.43.0
    • @marko/runtime-tags@6.4.13

Don't miss a new marko release

NewReleases is sending notifications on new releases.