This is the changelog for html-template. It follows semantic versioning.
- Add an explicit public API type for the
htmltemplate helper so generated declarations no longer depend on inference through assigned helper objects (see #11433).
- Build using
tscinstead ofesbuild. This means modules in thedistdirectory now mirror the layout of modules in thesrcdirectory.
- No real changes, just testing a new release process.
This is the initial release of the @remix-run/html-template package.
htmltagged template function for HTML string construction with automatic escapinghtml.rawfor explicitly marking HTML as safe (no escaping)isSafeHtmltype guard functionSafeHtmlbranded type for type-safe HTML strings- Support for composable HTML fragments without double-escaping
- Support for arrays, primitives, and falsy values in interpolations