codes.tcm.release

A release of a tcm package, announced by its author: the namespace hash a version is, and tcm servers it can be fetched from. Its key is <package>:<version> (with any other character as ~), so a version is one record.

Repository @tcm.codes did:plc:vh4czvu5aijkaqge5huayq53 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritytcm.codes
Indexed

Record

record · key any

Properties

createdAt

requiredstring · datetime

When the release was made.

entry

requiredstring

The hash of the history entry the release names.

  • minLength: 8
  • maxLength: 128

hashFormat

requiredinteger

The hash format the hashes are in (tcm's IR version).

  • minimum: 1

namespace

requiredstring

The package's namespace hash, as released: what `tcm lib add` mounts.

  • minLength: 8
  • maxLength: 128

notes

requiredstring

The release notes, as markdown.

  • maxLength: 100000

package

requiredstring

The package's name, as its manifest gives it: an npm package name.

  • minLength: 1
  • maxLength: 214

sources

requiredarray

tcm servers to fetch it from, in order. What they send is re-hashed, so they need no trust.

  • maxLength: 16
itemsstring · uri

A tcm server's URL (http or https), as `tcm serve` serves it.

  • maxLength: 2048

version

requiredstring

The version: major.minor.patch, semver.

  • minLength: 5
  • 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 a repository publishes: its files, and the commit they were built from.

  • A review of some tcm code.

  • 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 record representing a software release.

  • An immutable named pointer to a manifest. The record key is '{projectName}:{version}', making uniqueness per (project, version) mechanical and enabling AppView-free resolution. Version strings follow the project-name grammar (lowercase alphanumerics, interior hyphens) but allow dots. The version string cannot contain colons, but the rkey must contain exactly one colon. Valid only when same-DID with the referenced project, and only when target references a manifest of that same project.