Change8

@vercel/python@6.54.0

Breaking Changes
📦 vercel-functionsView on GitHub →
1 breaking6 features🔧 8 symbols

Summary

Replaced the vercel-workers integration with the new vercel-queue SDK for Python queue subscribers and workflows. This change impacts how entrypoints are introspected and served, with automatic integration for Celery and Dramatiq projects.

⚠️ Breaking Changes

  • The vercel-workers integration for Python queue subscribers and workflows has been replaced by the new vercel-queue SDK. Projects relying on the old vercel-workers integration may need to migrate to the new SDK. The CLI no longer injects `config.hasWorkerServices`; the Python builder now makes all queue-serving decisions from project metadata.

Migration Steps

  1. Migrate from `vercel-workers` to the new `vercel-queue` SDK for Python queue subscribers and workflows.
  2. Ensure projects using Celery or Dramatiq have the `vercel-celery` or `vercel-dramatiq` integration package injected or explicitly added as a dependency.
  3. For projects on `vercel` >= 0.8.0, ensure `[[tool.vercel.workflows]]` entrypoints are compatible with the new vercel-queue serving mechanism.
  4. If directly depending on `vercel-workers`, be aware that the legacy integration is maintained, but new projects should adopt `vercel-queue`.

✨ New Features

  • Introduced a new vercel-queue SDK for Python queue subscribers and workflows, replacing the vercel-workers integration.
  • Entrypoints for `[[tool.vercel.subscribers]]` are now introspected at build time via `vercel.queue.get_subscriptions()` and served through generated `vercel.queue.asgi_app()` handler modules.
  • Celery and Dramatiq projects automatically receive the `vercel-celery`/`vercel-dramatiq` integration package.
  • Entrypoints for `[[tool.vercel.workflows]]` are now served through vercel-queue for projects on `vercel` >= 0.8.0.
  • `vercel dev` now serves queue sidecars through `vercel.queue.asgi_app()` for new-SDK projects.
  • The queue broker in `vercel dev` now delivers with SDK-registered consumer groups introspected at sidecar startup.

Affected Symbols