unstale

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 init

@unstale/cli 0.2.0 on npm

slate-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.

    0.138.3release notes

  • The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.

    0.138.3release notes

  • The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.

    0.138.3release notes

  • The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade.

    0.138.3release notes

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.

    0.133.3release notes

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.

    0.129.1release notes

slate-hyperscript 0.1272 changes

New APIs and options 1

  • Adds support for JSX components, the slate-hyperscript equivalent of React components.

    0.127.0release notes

Fixes and other changes 1

  • Numbers are converted to strings and booleans are ignored, consistent with React JSX.

    0.127.0release notes

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().

    0.125.0release notes

  • Introduces a reference class for constructing an arbitrary range with anchor or focus tags and retrieving it with range().

    0.125.0release notes

Behavior and default changes 2

  • Using a HyperscriptRangeRef with an anchor tag constructs an arbitrary range without affecting editor.selection.

    0.125.0release notes

  • Using a HyperscriptRangeRef with a focus tag constructs an arbitrary range without affecting editor.selection.

    0.125.0release notes