---
title: "Extensions: building on Semantic Versions · semver.xyz"
description: "Extensions to Semantic Versions: Build Variants, Package Integrity and Dependency Locks. Practical formats built on source-qualified versions and restored build precedence."
url: "https://semver.xyz/extensions/"
lang: "en"
---

Extensions

# Built on source-qualified versions.

Extensions use the version string itself (a source, a version, and now-meaningful build metadata) to carry more than a number. Each one is optional, composable, and grounded in the [core spec](https://www.semver.xyz/spec.md).

They are listed in the order they build on each other. **Build Variants** names _which_ artifact; **Package Integrity** pins _which bytes_; **Dependency Locks** pin a whole resolved graph whose every node is one of those identities. Read them in order and each one is a term in the next.

[Extension 1](https://www.semver.xyz/extensions/variants.md)

### [Build Variants](https://www.semver.xyz/extensions/variants.md)

[Encode os, arch, abi and feature targets as build metadata, so one release addresses a whole family of artifacts, and a range can select a coherent platform subset.](https://www.semver.xyz/extensions/variants.md)

[`napi:sharp@0.33.0+linux.x64.musl`](https://www.semver.xyz/extensions/variants.md)

[Extension 2](https://www.semver.xyz/extensions/integrity.md)

### [Package Integrity](https://www.semver.xyz/extensions/integrity.md)

[Carry a verifiable content digest inside the version itself, so software can be pinned and checked against its exact bytes, with no side file.](https://www.semver.xyz/extensions/integrity.md)

[`npm:react@18.2.0+sha512.…`](https://www.semver.xyz/extensions/integrity.md)

[Extension 3](https://www.semver.xyz/extensions/dependency-locks.md)

### [Dependency Locks](https://www.semver.xyz/extensions/dependency-locks.md)

[Pin a resolved transitive subgraph ahead of time: a portable, shareable resolution seed that any aware tool can honour, override, or reject before generating its own lockfile. Its nodes are variant- and integrity-qualified identities.](https://www.semver.xyz/extensions/dependency-locks.md)

[`npm:express@5.2.1+lock.…`](https://www.semver.xyz/extensions/dependency-locks.md)
