Zum Inhalt
HALOWERK

Paketwerk

upgrade path

Turns "we are on 2.4.1 and want to be current" into an ordered list of stops. The rule it enforces is that no major version is skipped: going from 2 to 5 means stopping at the last release of 3 and the last release of 4, because that is where the migration notes live and where the warnings about the next major are published.

POST https://paket.halowerk.com/v1/upgrade-path

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
systemstringJa
namestringJa
from_versionstringJaThe version currently installed.
to_versionstringNeinTarget version. Defaults to the newest stable release.
include_prereleasesbooleanNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "system",
    "name",
    "from_version"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string",
      "enum": [
        "npm",
        "pypi",
        "maven",
        "go",
        "cargo",
        "nuget",
        "rubygems"
      ]
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    },
    "from_version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "description": "The version currently installed."
    },
    "to_version": {
      "type": "string",
      "maxLength": 60,
      "description": "Target version. Defaults to the newest stable release."
    },
    "include_prereleases": {
      "type": "boolean",
      "default": false
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "system": "npm",
  "name": "express",
  "from_version": "4.16.0",
  "include_prereleases": false
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →