v0.61.0

Latest
View on GitHub

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

Repository syncs are now much lighter on your Git provider's API, especially for repositories with many tags or branches that hold no Composer package, such as monorepos.

View on GitHub

Package uploads are the focus of this release. You can now publish Composer packages from zip archives, without a Git repository, both from the web app and from CI.

New Features

  • Package uploads (#132): Owners and admins can create a package by uploading a zip whose composer.json is at the root or in a single top-level folder. New versions can be uploaded from the package page. Released versions are immutable, while dev versions such as dev-main can be replaced. The package page shows each version's README, size and checksum.
  • Publishing from CI (#132): Organization tokens can now be created with Allow publishing packages. Those tokens can upload new versions of existing uploaded packages through POST /{organization}/api/packages/upload. Existing tokens stay read-only, and php artisan token:create --publish creates a publishing token from the command line.
  • Upload activity: The activity feed now shows each uploaded version, including which user or token uploaded it.

Improvements

  • Upload limits: The maximum archive size (ARTIFACT_MAX_SIZE, default 64 MB) and the per-token upload rate limit (ARTIFACT_UPLOAD_RATE_LIMIT, default 30 per minute) are now configurable. The bundled nginx config accepts request bodies up to 64 MB.
  • Separate package sources: Repository and mirror syncs no longer take over an uploaded package with the same name, and archive cleanup never removes an uploaded package's archives.

Fixes

  • Fixed package names from synced repositories not being validated as plain vendor/package names. Such a name could place archives outside the package's storage folder.