Skip to content
.md

Versioning and support

Which dcupl releases get fixes, for how long, and how you hear about a change before it lands. The policy covers the packages you install from npm: the SDK and the CLI.

Support policy

  • The latest major gets features and fixes.
  • The previous major gets security and critical fixes for 12 months after the next major ships.
  • Deprecations are announced in the changelog and on npm at least one minor release ahead.

A fix for a supported older major is published as a new release of that major, so a project pinned to it can update without moving to the next major.

End of life

Released is the day the major became the release npm installs by default. The current major has no end date yet: it keeps security and critical fixes for 12 months after the next major ships.

Package lineVersionReleasedStatusSupported until
SDK2.xCurrent: features and fixes12 months after the next major
SDK1.xSecurity and critical fixes
CLI2.xCurrent: features and fixes12 months after the next major
CLI1.xSecurity and critical fixes

The SDK line is @dcupl/core and the packages released with it in the same version (@dcupl/common, @dcupl/loader, @dcupl/connect); the CLI, @dcupl/cli, has its own version line. Versions before 1.0 get no fixes.

Version numbers

The SDK and the CLI use semantic versioning, major.minor.patch. A new major version changes the API, and the migration guide lists what to change in your code. A minor release adds features, a patch release fixes bugs. A fix can still change what the same code returns: the changelog marks such a change Breaking, also in a minor or patch release, so pin the exact version in production and read those lines before you update (see Versions and updates).

Release channels

Every release of the SDK and the CLI is published to npm under one of two tags:

  • latest: the release these docs describe and the one npm installs when you name no version or tag.
  • next: releases published before they ship, to try a change early. When a release ships, latest moves to it, and the changelog lists it under that day.

The Console, the REST APIs and workflows carry no version: they are updated for every project at once, and the changelog lists their changes by ship day.

Deprecations

A feature that is going away is deprecated first. Deprecations are announced in the changelog and on npm at least one minor release ahead, and the deprecated feature keeps working in the meantime. For example, CLI 2.0 deprecated the files:* commands in favour of dcupl files push, files pull and files versions.