# What changed in slate-hyperscript

> 12 changes in slate-hyperscript 0.125 to 0.138 from its official release notes, upgrade guides and advisories: 3 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/slate-hyperscript/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## slate-hyperscript 0.138

### Fixes and other changes

- The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade. (0.138.3) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.138.3)
- The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade. (0.138.3) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.138.3)
- The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade. (0.138.3) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.138.3)
- The optional options now explicitly accept undefined, keeping the published types compatible with exactOptionalPropertyTypes after the TypeScript 6 upgrade. (0.138.3) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.138.3)

## slate-hyperscript 0.133

### Fixes and other changes

- 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.3) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.133.3)

## slate-hyperscript 0.129

### Fixes and other changes

- Tags added through the elements and creators options are now typed, allowing custom shorthand such as h('item') to type-check. (0.129.1) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.129.1)

## slate-hyperscript 0.127

### New APIs and options

- Adds support for JSX components, the slate-hyperscript equivalent of React components. (0.127.0) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.127.0)

### Fixes and other changes

- Numbers are converted to strings and booleans are ignored, consistent with React JSX. (0.127.0) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.127.0)

## slate-hyperscript 0.125

### New APIs and options

- Introduces a reference class for storing an arbitrary point via the point tag’s ref prop and retrieving it with point(). (0.125.0) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.125.0)
- Introduces a reference class for constructing an arbitrary range with anchor or focus tags and retrieving it with range(). (0.125.0) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.125.0)

### Behavior and default changes

- Using a HyperscriptRangeRef with an anchor tag constructs an arbitrary range without affecting editor.selection. (0.125.0) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.125.0)
- Using a HyperscriptRangeRef with a focus tag constructs an arbitrary range without affecting editor.selection. (0.125.0) — [release notes](https://github.com/ianstormtaylor/slate/releases/tag/slate-hyperscript%400.125.0)
