Releases: kitajs/html
@kitajs/ts-html-plugin@5.0.0-next.1
@kitajs/html@5.0.0-next.1
Major Changes
-
26a6c2f
Thanks @arthurfiorette! - Migrate to typescript@6 -
e5da2a0
Thanks @arthurfiorette! - Remove the global
SUSPENSE_ROOTin favor of the exportedSuspenseRootstate object from
@kitajs/html/suspense.If you were reading or mutating
globalThis.SUSPENSE_ROOTdirectly, update that code to
import and useSuspenseRootinstead.
Patch Changes
-
2652e1b
Thanks @arthurfiorette! - Scope streamed Suspense
marker ids by request id to avoid collisions across multiple streamed roots in the same
document.If you consume
SuspenseScriptoutput directly, note that fallback, template, and
script ids now include the request id prefix, and the client helper requires modern
browser support for<template>.contentandElement.remove().
@kitajs/fastify-html-plugin@5.0.0-next.1
@kitajs/express-html-plugin@5.0.0-next.0
Major Changes
a9ab97c
Thanks @arthurfiorette! - Add an Express
integration withres.html(), auto-doctype, and Suspense streaming support
Patch Changes
@kitajs/ts-html-plugin@5.0.0-next.0
Major Changes
cc33bc3
Thanks @arthurfiorette! - Major overhaul: Rework
the entire codebase to improve performance, reliability, and maintainability. This
includes porting all code to TypeScript, improving the test suite, and removing
deprecated APIs.
Minor Changes
cc33bc3
Thanks @arthurfiorette! - Rework all error codes
Patch Changes
-
bf6d266
Thanks @arthurfiorette! - Fix double escape
detection for self-closing components and JSX in expressionsThe TS88602 DoubleEscape error was not being triggered for self-closing components like
<UserBadge />when used as direct children of elements with thesafeattribute, or
when used within expressions (ternary operators, binary operators).This fix ensures that all JSX types (elements with opening/closing tags, self-closing
elements, and fragments) are properly detected in both direct children and expression
contexts, preventing double-escaped HTML output that would corrupt markup. -
3a287d5
Thanks @arthurfiorette! - Skip xss check for
str &&cases -
86301e4
Thanks @arthurfiorette! - Support for multiline
TSServer messages and improvements to XSS Children detection -
ee567f8
Thanks @arthurfiorette! - Fixed CLI inconsistencies
with a dedicated bin js file -
Updated dependencies
[4d6fa0e,
cc33bc3,
2a32081,
2b37245]:- @kitajs/html@5.0.0-next.0
@kitajs/html@5.0.0-next.0
Major Changes
-
cc33bc3
Thanks @arthurfiorette! - Major overhaul: Rework
the entire codebase to improve performance, reliability, and maintainability. This
includes porting all code to TypeScript, improving the test suite, and removing
deprecated APIs. -
2b37245
Thanks @arthurfiorette! - Removed deprecated
@kitajs/html/register
Patch Changes
-
4d6fa0e
Thanks @arthurfiorette! - Add safe attribute to
Fragment component -
2a32081
Thanks @arthurfiorette! - Broather and more
reliable test suite
@kitajs/fastify-html-plugin@5.0.0-next.0
Major Changes
cc33bc3
Thanks @arthurfiorette! - Major overhaul: Rework
the entire codebase to improve performance, reliability, and maintainability. This
includes porting all code to TypeScript, improving the test suite, and removing
deprecated APIs.
Patch Changes
@kitajs/html@4.2.13
Patch Changes
- #464
0be97bb
Thanks @Moshyfawn! - Align sandbox attribute type with
WHATWG specs
@kitajs/html@4.2.12
@kitajs/ts-html-plugin@4.1.4
Patch Changes
2f8c677
Thanks @arthurfiorette! - Add support for
Typescript 5.9.3