Change8

@vercel/python@6.54.0

Breaking Changes
📦 vercel-cliView 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, served, and how `vercel dev` handles queue sidecars.

⚠️ 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 previous vercel-workers integration may need to adapt to the new SDK's entrypoint introspection, handler modules, and trigger mechanisms. Specifically, `[[tool.vercel.subscribers]]` and `[[tool.vercel.workflows]]` configurations will be handled differently. The CLI no longer injects `config.hasWorkerServices`; Python builder now makes queue-serving decisions from project metadata.

Migration Steps

  1. If using `[[tool.vercel.subscribers]]`, ensure your entrypoints are compatible with `vercel.queue.get_subscriptions()` and the generated `vercel.queue.asgi_app()` handler modules.
  2. If using `[[tool.vercel.workflows]]` with `vercel` < 0.8.0, be aware that older versions will keep the legacy vercel-workers serving.
  3. Projects depending directly on `vercel-workers` will continue to use the legacy integration. Consider migrating to the new `vercel-queue` SDK if possible.
  4. Update your project to use `vercel` >= 0.8.0 to leverage the new vercel-queue serving for workflows.

✨ 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 `vercel-celery`/`vercel-dramatiq` integration packages.
  • Entrypoints for `[[tool.vercel.workflows]]` are now served through vercel-queue for projects on `vercel` >= 0.8.0.
  • `vercel dev` 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