dev.knotless.release

Kept in the repository owner's account, keyed `<repo key>.<package hash>.<version hash>`, where each hash is the first 26 characters of the lowercase unpadded base32 SHA-256 of `package` or `version`, so a listing from the cursor `<repo key>/` walks one repository's releases, and from `<repo key>.<package hash>/` one package's. Created and never updated: creating it fails if that version was published, so a version's files never change. Deleting it unpublishes the version; to withdraw one that others may have pinned, a dev.knotless.releaseYank leaves it to read. Readers check every file against its `sha256`.

Details · record, key any
Kindrecord
Record keyany
Authorityknotless.dev
Commit rev3n2vn6i6jbtdy
Indexed

Showing version bafyreidnegricjvl34dhdpqdmnm3lpycr77vbs3jap5cmojfoyeir57fri. Show the latest

Record

record · key any

Properties

What Cargo's registry says of it, when it is a crate: its one file then is `<name>-<version>.crate`.

Reference

check

string · at-uri

The dev.knotless.check, in its runner's account, of the run that built and published it. A reader trusts it only from a runner the repository names, and only once it has passed at `commit`.

commit

string

The hex object ID of the commit the files were built from.

  • minLength: 40
  • maxLength: 64

createdAt

requiredstring · datetime

files

requiredarray

What it publishes, by distinct names.

  • minLength: 1
  • maxLength: 64
itemsref
Reference

What a Maven repository says of it, when it is a version of a Maven artifact: its files then are those of the version's directory, each `<artifact>-<version>` then an optional `-<classifier>` and its extension, and `package` is `<group>.<artifact>`.

Reference

notes

string

What changed since the version before, in Markdown, as the changelog says.

  • maxLength: 20000
  • maxGraphemes: 5000

npm

ref

What npm's registry says of it, when it is an npm package: its one file then is `<name>-<version>.tgz`, `<name>` without its `@scope/`.

Reference

package

requiredstring

The package's name, as npm's rules have it: lowercase letters, digits, `-`, `.`, `_` and `~`, after an optional `@scope/`. A repository can publish several.

  • minLength: 1
  • maxLength: 214

repo

requiredstring · tid

The `key` of the dev.knotless.repo that publishes it.

What the Swift Package Registry says of it, when it is a Swift package: its one file then is `<name>-<version>.zip`, its source archive, and `package` its identifier, `<scope>.<name>`, lowercased.

Reference

version

requiredstring

A Semantic Versioning 2.0 version, such as 1.4.0 or 2.0.0-rc.1. The highest version without a pre-release part that no dev.knotless.releaseYank withdraws is the package's latest.

  • minLength: 5
  • maxLength: 256

#cargo

object

A release as a crate.

Properties

What the crate says it is.

  • maxLength: 10000
  • maxGraphemes: 1000

index

requiredstring

Its line of Cargo's registry index, as JSON, but for `yanked`, which a reader adds from the dev.knotless.releaseYank of its key. Kept as Cargo's format has it, which is Cargo's to change, and passed on as it is, since an index's line never changes.

  • maxLength: 100000

#file

object

One file of a release.

Properties

name

requiredstring

Its name, as it is downloaded: letters, digits, `.`, `_`, `+` and `-`, not first a `.`.

  • minLength: 1
  • maxLength: 255

parts

requiredarray

The file, split over blobs in order, each no larger than its PDS takes.

  • minLength: 1
itemsref
Reference

sha256

requiredstring

The lowercase hex SHA-256 of the file.

  • minLength: 64
  • maxLength: 64

size

requiredinteger

Bytes in the file.

  • minimum: 1

#maven

object

A release as a version of a Maven artifact.

Properties

artifact

requiredstring

Its artifactId, of the same letters, and `.`.

  • maxLength: 100

group

requiredstring

Its groupId, such as `com.example`: lowercase letters, digits, `-` and `_`, in parts joined by `.`.

  • maxLength: 200

hashes

requiredarray

Each file's SHA-1 and SHA-512, which Maven's clients read beside it as `.sha1` and `.sha512`, beside the SHA-256 its `file` holds.

  • maxLength: 64
itemsref
Reference

#mavenHashes

object

Hashes of one file of a Maven artifact's release.

Properties

name

requiredstring

The file's name, as in `files`.

  • maxLength: 255

sha1

requiredstring

The lowercase hex SHA-1 of the file.

  • minLength: 40
  • maxLength: 40

sha512

requiredstring

The lowercase hex SHA-512 of the file.

  • minLength: 128
  • maxLength: 128

#npm

object

A release as an npm package.

Properties

manifest

requiredstring

Its version's manifest, as JSON, as `npm publish` sent it, the package's `package.json` with `dist.integrity` and `dist.shasum`, its tarball's SHA-512 and SHA-1, but without its `readme`, or `dist.tarball`, which a reader adds where it serves the file, and `deprecated`, which it adds from the dev.knotless.releaseYank of its key. Kept as npm's format has it, which is npm's to change, and passed on as it is.

  • maxLength: 100000

#part

object

One blob of a file, in order.

Properties

blob

requiredblob
  • accept: application/octet-stream

#swift

object

A release as a Swift package.

Properties

identifier

requiredstring

Its identifier as it was published, `<scope>.<name>` in its case, as the registry answers it: the release's `package` is the same, lowercased.

  • maxLength: 141

manifests

requiredarray

`Package.swift`, first, and each `Package@swift-<version>.swift` beside it in the source archive, which the registry answers without reading the archive.

  • minLength: 1
  • maxLength: 32
itemsref
Reference

metadata

string

What the publish said of the release, as JSON, as the Swift Package Registry's release metadata has it, which is the registry's to change, passed on as it is.

  • maxLength: 100000

#swiftManifest

object

A manifest of a Swift package's release.

Properties

content

requiredstring

The file, as it is in the source archive.

  • maxLength: 100000

name

requiredstring

Its file's name, `Package.swift` or `Package@swift-<version>.swift`.

  • maxLength: 64

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • One version of a package. The record key is '<slug>:<version>'. A release at a given version is never modified: a registry that later sees a different CID at this key keeps the first and flags the conflict.

  • A release of a tcm package, announced on the AT Protocol by its author.

  • That the owner of a repository withdrew a version of a package it publishes: the dev.knotless.release of the same key in the same account, which itself never changes, stays there to read, but is no longer its package's latest.

  • A record representing a software release.