npm / slate-hyperscript
slate-hyperscript
What changed in slate-hyperscript 0.125 to 0.138, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
3 new APIs and options2 behavior and defaults7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initslate-hyperscript 0.1384 changes
Fixes and other changes 4
The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.
The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.
The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.
The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.
slate-hyperscript 0.1331 changes
Fixes and other changes 1
Babel's __self and __source development metadata is stripped from hyperscript attributes so generated documents remain serializable and do not contain local source paths.
slate-hyperscript 0.1291 changes
Fixes and other changes 1
Tags added through the elements and creators options are now typed, allowing custom shorthand such as h('item') to type-check.
slate-hyperscript 0.1272 changes
New APIs and options 1
Adds support for JSX components, the slate-hyperscript equivalent of React components.
Fixes and other changes 1
Numbers are converted to strings and booleans are ignored, consistent with React JSX.
slate-hyperscript 0.1254 changes
New APIs and options 2
Introduces a reference class for storing an arbitrary point via the point tag’s ref prop and retrieving it with point().
Introduces a reference class for constructing an arbitrary range with anchor or focus tags and retrieving it with range().
Behavior and default changes 2
Using a HyperscriptRangeRef with an anchor tag constructs an arbitrary range without affecting editor.selection.
Using a HyperscriptRangeRef with a focus tag constructs an arbitrary range without affecting editor.selection.