v0.62.1

Latest
View on GitHub

This release makes Composer installs and updates faster, especially when resolving many dependencies without a lock file.

Improvements

  • Package metadata: Metadata responses are now cached and rebuilt only when a package changes, so repeated requests return noticeably faster.
  • Composer cache revalidation: When Composer already has current metadata, Pricore confirms it without rebuilding the response.
  • Token authentication: Each authenticated request does less database work. A token's "last used" time is now recorded at most once a minute.
View on GitHub

This release adds Packagist as a registry mirror, so your projects can install public and private packages through Pricore. Packages are imported only when a project needs them, and archives are downloaded on first install.

New Features

  • Packagist mirroring: Add Packagist as a mirror in two clicks with the new Packagist option in the Add Mirror dialog. Packages are imported the first time Composer asks for them and kept up to date in the background. On-demand mirrors get their own page with the commands to send all installs through Pricore. This also works for other large registries. Choose "On demand" when adding a mirror.
  • Archives on first install: Mirrors can now download an archive the first time a version is installed instead of during every sync, so large registries are never copied in full.
  • Package filters: Filter the package list by name, source (repository, upload or a specific mirror) and status (vulnerable or sync failed). Filters stay in the URL, so a filtered list can be shared, and the list is now paginated.
  • On-demand mirror setting: Turn off on-demand mirrors with MIRROR_ON_DEMAND_ENABLED=false, for example on a shared installation.

Improvements

  • Security scanning: Packages imported from an on-demand mirror are scanned for advisories as soon as they change.
  • Documentation: The documentation is rewritten for accuracy and clarity.
  • Dependencies: laravel/framework, Symfony components and phpseclib/phpseclib are updated to releases without known security advisories.

Fixes

  • Fixed mirror downloads failing when a host's IPv6 DNS lookup timed out, even though its IPv4 address resolved
  • Fixed a scheduled mirror sync removing a release that was added while the sync was running
  • Fixed navigation breaking on PHP 8.5 because of a deprecation notice in the database configuration
View on GitHub

This release tightens which hosts a Generic Git repository may point at. If your Git server is on a private network, set GIT_ALLOWED_PRIVATE_HOSTS before upgrading.

Improvements

  • Generic Git network access: Generic Git URLs now have to resolve to public IP addresses. This is checked when a repository is added and on every sync, including when a URL redirects elsewhere. Git servers on a private network are allowed by listing their exact hostname or IP address in GIT_ALLOWED_PRIVATE_HOSTS. Existing Generic Git repositories on a private host stop syncing until their host is added to that list. GitHub, GitLab and Bitbucket repositories are not affected.
  • Address validation: Mirror and Generic Git URLs that write an IP address in a non-standard notation (such as a leading zero) are now rejected.

Fixes

  • Fixed host lookups for mirrors hanging or failing on servers with a DNS search domain configured

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.

This release adds passkey sign-in and gets Bitbucket repositories ready for the move of Bitbucket Cloud SSH to ssh.bitbucket.org. Repository sync errors now explain what went wrong and what to change.

New Features

  • Passkeys (#212): Sign in with a passkey, including through browser autofill, and add or remove passkeys from the new Passkeys settings page. Signing in with a passkey skips the two-factor code, since the passkey already verifies you on your device. You can also confirm your password with a passkey.

Improvements

  • Bitbucket SSH host (#214): Bitbucket Cloud is moving Git over SSH from bitbucket.org to ssh.bitbucket.org. Brownouts start on 12 November 2026, and the old host stops working on 10 December 2026. Pricore now uses the new host, and existing package versions and generic Git repositories are updated automatically. If your composer.lock pins a git@bitbucket.org: source URL and you install from source, run composer update <package>. If your firewall restricts outbound SSH, allow ssh.bitbucket.org:22.
  • Repository access errors: When a sync can't reach a repository, the sync log now says what GitHub, GitLab, Bitbucket or the Git host answered and what to change, instead of a generic "Failed to validate repository access". For GitHub this covers both classic and fine-grained tokens, plus organizations that use SAML SSO.

Fixes

  • Fixed credentials in repository URLs showing up in Git and clone error messages

Monorepos can now release each package on its own schedule.

New Features

  • Per-package tags for monorepos: Set a tag format on a repository's Edit page to release one package at a time, such as billing@1.2.0, packages/billing/v1.2.0 or billing-v1.2.0. A tag in that format releases only the package it names, at the version that follows. Formats combine {version} with {package}, {name} or {path}, and a preview shows what your recent tags would release before you save. Plain version tags such as v2.0.0 still release every package, branches stay shared, and other tags are ignored instead of becoming dev versions. The REST API accepts the new tag_format field when updating a repository.

This release opens Pricore up to automation: a versioned REST API with scoped tokens lets you script your registry, and a built-in MCP server lets AI assistants like Claude, Cursor and VS Code work with your packages directly.

New Features

  • REST API (#106): Manage organizations, repositories, packages, members, invitations, mirrors and access tokens through a versioned /api/v1 API, authenticated with a personal or organization token. Interactive OpenAPI documentation is available at /docs/api.
  • Scoped access tokens: Choose what each token may do when you create it (install packages, publish packages, or read and write specific API resources), and change its scopes later. Existing tokens keep working: read-only tokens can still install packages, and tokens that could publish keep that ability.
  • MCP server for AI assistants: Connect Claude, Cursor, VS Code or any other MCP client to /mcp and sign in with your Pricore account, with no token to paste. Assistants can search packages, inspect versions and dependencies and list vulnerabilities. Admins and owners can also sync and add repositories and create Composer tokens. Every action respects your role in each organization. Self-hosted installs that don't use the Docker image need to run php artisan passport:keys once. Set MCP_ENABLED=false to turn the MCP server off.
  • Connected apps: See which AI assistants you have authorized under Settings → Connected Apps, and revoke any of them instantly.

Improvements

  • Dependencies: Updated Laravel and all other dependencies, resolving every known Composer security advisory.

Fixes

  • Fixed repository webhook secrets being visible to organization members. Only owners and admins can see them now.

The Docker image now runs PHP 8.4.27, which fixes two critical remote code execution vulnerabilities in PHP (CVE-2026-109618 and CVE-2026-109619, see the PHP security advisory).

Update as soon as you can. If you run Pricore without Docker, make sure your server runs PHP 8.4.27 or 8.5.12 or later.

The Docker image now disables PHP's session.upload_progress. Pricore does not use this feature, so nothing changes for users