# What changed in navcat

> 17 changes in navcat 0.3 to 0.4 from its official release notes, upgrade guides and advisories: 1 breaking, 8 new APIs and options. Each one cited. Sources checked 2026-11-02. HTML: https://unstale.sh/npm/navcat/

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

## navcat 0.4

### New APIs and options

- buildLayerRegions now accepts ctx. (0.4.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#040)

### Behavior and default changes

- walkContour now reports its warning through the build context warning log instead of console.warn. (0.4.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#040)

### Tooling

- Emitted declaration files now add explicit .js extensions to relative specifiers, allowing consumers to use TypeScript's NodeNext module resolution. (0.4.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#040)

### Fixes and other changes

- Reorders types and import in package.json exports, which may affect package resolution for consumers. (0.4.1) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#041)
- The intersectConvex bound check is fixed. (0.4.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#040)
- A silent walkContour failure is now surfaced with a build context warning. (0.4.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#040)

## navcat 0.3

### Breaking changes

- Changes the signature to accept an options object for stepSize, slop, maxPoints, and optional raycastDistance. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)

### New APIs and options

- Adds any-angle path shortcut support with the new raycastDistance option. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Adds an options parameter with optional raycastDistance. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Adds a function for heightfield filled volume rasterization. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Adds a function for heightfield filled volume rasterization. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Adds a function for heightfield filled volume rasterization. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Adds a function for heightfield filled volume rasterization. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Adds a function for heightfield filled volume rasterization. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)

### Fixes and other changes

- Fixes the intersection test using the wrong diagonal vertex when merging contour holes. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Fixes an incorrect argument order for buildPolyNeighbours. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
- Fixes the raycast cost calculation. (0.3.0) — [release notes](https://github.com/isaac-mason/navcat/blob/d13f9b7143c9b973b00990d4066f5838b6f96b2d/CHANGELOG.md#030)
