Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Upgrading to ProGet 5.3 (2020)

view on GitHub

ProGet 5.3 is a major upgrade, with a number of breaking changes and significant new features. Review this article carefully before deciding when and how to upgrade.

New Features & Breaking Changes

  • PostgreSQL Support on ProGet for Linux Removed
  • Legacy NuGet quirks feed feature removal
  • NuGet feeds now use JSON-LD (v3) API
  • Enhanced container versioning feature
  • Container vulnerability scanning feature
  • Container layer visibility feature
  • Helm chart container visibility feature
  • New Feature: Container & Package Usage
  • New Container, Packages, and Feed Management UI

Minor/Behavioral Changes

  • Universal Packages: Added the capability to add a short description in the metadata
  • Universal Packages: Added support for build metadata
  • NuGet: Changed the response code from 401 to 409 when a NuGet package cannot be overwritten
  • NuGet: Display "Id" in NuGet Results instead of "Title"
  • Webhooks: Added support for ':' in addition to '=' in webhook headers
  • ProGet Feeds: Added the ability to leverage x-forwarded-* headers when proxying requests to ProGet
  • Renamed Legacy "Deployment" Feeds to "NuGet" Feeds
  • For API/Database, renamed "ProGet" Feeds to "Universal" Feeds
  • Removed manual vulnerability sources and added support for direct vulnerabilities

How Do I Upgrade?

On Windows, ProGet may be upgraded by running the latest Inedo Hub installer, so make sure the database gets backed up. Note that during upgrade, some schema changes will be applied.

Linux (i.e., Docker) installations may be upgraded by pulling the latest inedo/proget image and restarting the container, as per the Linux Installation Guide.

Rollback

See restoring your ProGet instance for how to rollback.

New Features & Breaking Change Details

Breaking Change: PostgreSQL Support Removed

As of ProGet 5.3, PostgreSQL is no longer supported as a database engine. ProGet will only support SQL Server (all editions including Express) on Windows or Linux going forward.

Impact: Any installation using PostgreSQL will need to be migrated to SQL Server prior to the upgrade.

Breaking Change: NuGet (Quirks) Feed Removed

NuGet "Quirks" feeds have been deprecated beginning with ProGet 5.0. In ProGet 5.3, Quirks feeds have been removed. You will need to migrate your NuGet Quirks feeds prior upgrading to 5.3.

Impact: Any NuGet Quirks feeds that have not been migrated, will cause the upgrade to fail.

New Feature: NuGet feeds now use JSON-LD (v3) API

Both NuGet.org and the NuGet client tools support two different API protocols -- ODATA (v2) and JSON-LD (v3) -- and now ProGet does as well. When JSON-LD (v3) is enabled on a NuGet feed, the v3 API URL will be shown on the NuGet feed page.

Impact: newly-created feeds will default to supporting both API endpoints, and existing feeds may be configured to do so. Connectors to nuget.org will always use the JSON-LD (v3) endpoint of https://api.nuget.org/v3/index.json, regardless of what you configured. You can add an override token (#v2) at the end of the nuget url, such as "http://nuget.org/api/v2#v2", to force the ODATA (v2) protocol

New Feature: Enhanced Container Versioning

Container registries can now, optionally, restrict how you can use tags in your container registries. You can enable strict (SemVer2) versioning on a registry-by-registry basis, which will restrict how release (SemVer-formatted), virtual (stable one- or two-part formatted), and informational (the latest tag) tags are applied via the ProGet API.

Impact: This will not affect existing tags or replication, only tags applied via the ProGet API.

New Feature: Container Vulnerability Scanning

We have added our vulnerability assessment process for both manual and automated vulnerability scanning to Container registries. ProGet also now supports automatic container vulnerability scanning using RedHat's Clair API to detect vulnerabilities at the container layer level.

Impact: This follows our standard assessment process for packages, and unless enabled in advanced settings, containers will only be blocked when a vulnerability is in the blocked status.

New Feature: Container Layer Visibility

Container layers have always been visible in ProGet, but until 5.3, they have not included much detail. Starting in 5.3, we now give more details around the container's layers, including what commands went into creating that layer and if vulnerabilities have been found in that layer.

Impact: Existing container images will also be converted to display this new information.

New Feature: Helm Chart Container Visibility

Helm charts are a way of defining a Kubernetes environment, from its architecture to its container images. ProGet will now display which containers are used by a chart and automatically link them to containers in your local registries.

Impact: This will only work for Helm charts that their values.yaml uses the Helm best practices for defining containers.

Upgrade Impact: In order for existing charts to be parsed, you will need to set the Web.BaseUrl in Administration > Advanced Settings.

New Feature: Container & Package Usage

ProGet can now connect to Otter and Kubernetes to show where different packages and container images are being used within your environment.

New Container, Packages, and Feed Management UI

We have redesigned and rewritten the feed, repository, and package user interfaces to more easily display the complex information and expose features.

For a short while, the old View Package and Manage Feed pages will be available, and are accessible by clicking on the notice under the navigation header.