This release makes syncing and package metadata more reliable, so versions no longer disappear when a ref or upstream call fails. It also makes composer audit work against Pricore, closes an account-linking hole in OAuth sign-in, and lets you connect several Git accounts or instances per provider.

New Features

  • Multiple Git credentials per provider (#210): You can add several credentials for each provider (for example multiple GitLab instances, or more than one GitHub or Bitbucket account), give each an optional name, and pick which one to use when adding or importing repositories. Existing repositories are linked to their current credential automatically. Reconnecting through OAuth updates the matching account instead of overwriting another one.

Improvements

  • Security advisories: packages.json now advertises Pricore's security advisories API, so composer audit checks your private registry's advisories as well.

Fixes

  • Fixed OAuth sign-in with GitHub or GitLab linking to an existing account by email without checking that the email was verified. Linking now requires a verified email (and, for GitLab, a confirmed email on the GitLab side).
  • Fixed versions being removed during a repository sync when the provider returned 404 because a token had lost access. Sync now confirms the commit is unreadable before removing anything, and fails that ref otherwise.
  • Fixed mirrors dropping every stable version of a package when the upstream metadata request failed (for example with a 500 or 429). The package is skipped, its versions are kept, and the sync only fails when every package fails.
  • Fixed numeric branches being published as stable releases (branch 2.0 clashed with tag 2.0). Branches now follow Composer's naming (2.0.x-dev, 1.2.x-dev, otherwise dev-<name>), and existing versions are renamed on the next sync. Constraints like dev-1.2.x need to be changed to 1.2.x-dev.
  • Fixed advisories not matching dependencies whose vendor starts with php, such as phpmailer/*, phpseclib/* and phpunit/*.
  • Fixed dist download URLs still pointing to the old host after APP_URL changes. Composer clients now fetch fresh metadata once after the change.