# What changed in fontoxpath

> 4 changes in fontoxpath 3 from its official release notes, upgrade guides and advisories: 1 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/fontoxpath/

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

## fontoxpath 3

### Breaking changes

- Single-step XPath expressions using reverse axes now return results in document order instead of reverse document order; add a [1] filter when closest-node behavior is intended. (3.0.0) — [release notes](https://github.com/FontoXML/fontoxpath/releases/tag/3.0.0)

### New APIs and options

- The XQ4 otherwise feature is implemented. (3.34.0) — [release notes](https://github.com/FontoXML/fontoxpath/releases/tag/3.34.0)
- Addition and subtraction of xs:dayTimeDuration values are supported. (3.34.0) — [release notes](https://github.com/FontoXML/fontoxpath/releases/tag/3.34.0)

### Fixes and other changes

- Combining tests from XQ4 are implemented. (3.34.0) — [release notes](https://github.com/FontoXML/fontoxpath/releases/tag/3.34.0)
