# What changed in doclang

> 10 changes in doclang 0.7 to 0.8 from its official release notes, upgrade guides and advisories: 2 breaking, 4 new APIs and options. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/pypi/doclang/

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

## doclang 0.8

### New APIs and options

- The DocLang special-token vocabulary is exposed for developers to use. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)
- Adds <track> for time-aligned media transcripts. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)
- Adds version migration. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)
- Enables validation against a selected version. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)

### Behavior and default changes

- Allows multiple captions. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)
- The XSD no longer restricts the version attribute to one value or supplies a default; version selection for validation is defined in the spec and implemented by the reference toolkit. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)

### Fixes and other changes

- Fixes commented out sections so nothing is left behind. (0.8.0) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.8.0)

## doclang 0.7

### Breaking changes

- DocLang validation rejects DTD and entity references. (0.7.3) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.7.3)
- Packing pages and assets refuses symbolic links. (0.7.3) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.7.3)

### Behavior and default changes

- Expanded supported lxml versions, allowing developers to use a broader range of lxml versions with doclang. (0.7.2) — [release notes](https://github.com/doclang-project/doclang/releases/tag/v0.7.2)
