v2.0.0
v2.0.0
Upgrading from 0.x or 1.x? See the upgrading guide.
⚠️ Breaking Changes
- Redis configuration — remove
processor.redisfrom module options; useruntimeConfig.redisand/orREDIS_*(dev/build) andNUXT_REDIS_*(runtime). See upgrading guide. - Workers registry — rename
$workers()touseProcessor(); removesetConnection(). Connection is resolved fromuseRuntimeConfig().rediswhen each queue or worker is created. - Nitro plugin — remove the plugin that called
setConnection()and overrodeprocess.env.REDIS_URLat runtime. - Worker entry — generated workers bundle no longer calls
setConnection()at startup; Redis comes from runtime config like the main server. Shutdown usesuseProcessor().stopAll().
🚀 Enhancements
- Resolve Redis at queue/worker creation time (fixes
ECONNREFUSED 127.0.0.1:6379when queues are imported before a Nitro plugin runs, e.g. Bull Board or Docker). - Add
buildRedisRuntimeConfig()withdefumerge: userruntimeConfig.redisoverridesREDIS_*env at module setup. - Normalize runtime connection options (
port/db/connectTimeoutcoercion;lazyConnectfromtrue/falsestrings viaNUXT_REDIS_*). - Shared registry on
globalThisso top-leveldefineQueue()works when Nitro bundles modules out of order. stopAll()closes all registered queues/workers and clears the registry (safe for dev reload and worker shutdown).- Set
maxRetriesPerRequest: nullon worker connections only (BullMQ blocking client requirement). - Ship markdown docs in the npm package under
docs/for tooling and LLMs.
📖 Documentation
- Add
docs/redis.md,docs/api.md, anddocs/upgrading.md; expand README with env tables and Docker notes. - Document
NUXT_REDIS_*vsREDIS_*per Nuxt runtime config.
🧪 Tests
- Add
spec/utils/redis-runtime-config.spec.ts,spec/utils/normalize-redis-connection.spec.ts, andspec/scripts/assert-baked-redis-empty.spec.ts. - Expand
spec/runtime/utils/workers.spec.tsfor connection options, registry lifecycle, and workermaxRetriesPerRequest. - Add
npm run test:docker— build image without Redis env, assert bakednitro.mjs, run runtime scenarios (NUXT_REDIS_URL, host/port, password, options).
💅 Refactors
- Remove
.npmrcpnpm-only keys from the published package root.
v2.0.0-beta.0
Pre-release of v2.0.0. Install with npm install nuxt-processor@beta.
v1.1.0
🩹 Fixes
- Drop direct
ioredisdependency; use BullMQ’s bundled connection stack (#53). - Improve worker connection handling in
$workers()(maxRetriesPerRequest: nullfor workers).
v1.0.0
🚀 Enhancements
- First stable
1.xrelease line. - Merge
processor.redisintoruntimeConfig.redisat build time; env variable and CLI fixes (#51, #52).
🩹 Fixes
v0.0.15
v0.0.14
🩹 Fixes
- Upgrade @rollup/rollup-linux-x64-gnu from 4.9.5 to 4.53.3 (74cb730)
- Upgrade @bull-board/ui from 6.14.2 to 6.15.0 (087d75a)
- Upgrade @nuxt/kit from 4.2.0 to 4.2.2 (270dd5d)
- Upgrade @bull-board/ui from 6.15.0 to 6.16.2 (3e56d15)
❤️ Contributors
- Snyk-bot snyk-bot@snyk.io
v0.0.13
🩹 Fixes
- Upgrade bullmq from 5.58.7 to 5.58.9 (9d95b8f)
- Upgrade @nuxt/kit from 4.1.2 to 4.1.3 (d0785f8)
- Upgrade ioredis from 5.8.0 to 5.8.1 (330bc8e)
- Upgrade @bull-board/ui from 6.13.0 to 6.13.1 (fd25999)
- Upgrade ioredis from 5.8.1 to 5.8.2 (356d4d8)
- Upgrade @bull-board/ui from 6.13.1 to 6.14.0 (d6cadb0)
- Upgrade @nuxt/kit from 4.1.3 to 4.2.0 (64206e1)
- Upgrade bullmq from 5.58.9 to 5.63.0 (39342b6)
- Upgrade @bull-board/ui from 6.14.0 to 6.14.2 (44389bb)
❤️ Contributors
- Snyk-bot snyk-bot@snyk.io
v0.0.12
v0.0.11
v0.0.10
v0.0.9
🩹 Fixes
- Playground/package.json & playground/package-lock.json to reduce vulnerabilities (6575378)
❤️ Contributors
- Snyk-bot snyk-bot@snyk.io