Old Versions & Feature Migration
  • 17 May 2024
  • 3 Minutes to read
  • Dark
  • PDF

Old Versions & Feature Migration

  • Dark
  • PDF

Article summary

ProGet is constantly evolving with new and improved features. As self-managed software, we take great care in making sure that upgrades go smoothly and changes are clearly communicated in each release. This is why we have detailed upgrade notes for major releases and detailed change logs for maintenance releases,.

This article will give a "bigger picture" our releases, describe our feature design patterns, and provide guidance on how to migrate features across major releases.

Feature Development & Release Cycle

As mentioned in Upgrading your Inedo Product, we ship "preview features" in maintenance releases.

In many cases, preview features are intended to replace an existing feature or functionality. For example, Project Releases was introduced as a preview feature in ProGet 6.0; it was designed to replace Package Consumers, and eventually did in ProGet 2022.

The main advantages to Preview Feature approach are:

  • Early feedback on new features from users
  • Test new functionality "side-by-side" to make sure its on par with the old feature
  • Verify data migration is accurate and correct
  • Reduced risk when upgrading to the new feature

Maintenance Releases: Feature Flags & Manual Data Migration

Preview features use a "feature flag" to determine how ProGet behaves.

The flag is often automatically enabled for new installations, but will require a manual enablement/migration for existing installations. Disabling the preview feature will usually delete data from the new feature.

For example, enabling Projects & Releases in ProGet 6.0 would migrate data from Package Consumers. The UI and API would then only use the new feature, and give error messages if you tried to use Package Consumers. Disabling Projects & Releases would delete the old data, thereby allowing users access to Package Consumers again.

Major Releases: New Features & Automatic Migration

When it comes time for the major release, we will remove the feature flag, remove code for the old feature, and automatically migrate the data.

For example, when upgrading to ProGet 2022, all of the Package Consumer code was delete and the Package Consumer data was automatically copied to Projects & Releases. However, the old data was not deleted until ProGet 2023. This meant that you could downgrade to ProGet 6.0 from ProGet 2022 and use Package Consumers as needed.

Feature Migrations Index

Whenever feasible, we will develop new features using the preview approach described above. However, this is not always realistic, especially when a data migration is complex.

Automatic Migration through Preview Features

When developed using the "preview feature" pattern, we will make the preview version of the feature available in one major version, delete the code in the next major version, and remove the data in the following major version.

This allows you to downgrade to one major version.

Old → New FeaturePreview AvailableCode RemovalData Removal
Package Consumers (archive.org)
Project Releases
Project Releases
Projects & Builds
Package Access Rules (i.e. WhiteSource)
Package Policies
Vulnerability Sources (i.e. Clair, OSS Index)
Built-in Vulnerability Scanning

User-initiated Migration

In some cases, it's not feasible to automatically migrate data from one feature to another. In these cases, the upgrade will be blocked until you manually migrate.

Feature MigrationFirst AvailableCode RemovalData Removal
NuGet "Quirks" Feeds
NuGet Feeds
Feed Replication (v6)
Feed Replication
"Old" Feed Indexes
→ "New" Feed Indexes
Debian (Legacy) Feeds
Debian Feeds

The future-dated data removals are tentative, but upgrades to those versions will be blocked by the installer. For example, if you tried to upgrade from v4.3 to v5.3 with NuGet "Quirks" Feeds, the installer would error and not permit the upgrade.

Was this article helpful?