Complete Redis Queue 2.0.0 rename from Redis Queue Demo #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR completes the rename of the plugin from "Redis Queue Demo" to "Redis Queue" for version 2.0.0, as a major breaking change release. All references to the old naming convention have been updated throughout the codebase with no backward compatibility layers, as specified in the requirements.
Changes Made
Namespace Migration
Soderlind\RedisQueueDemoSoderlind\RedisQueueUpdated all 14 PHP classes across the entire codebase:
Constants & Configuration
REDIS_QUEUE_DEMO_*toREDIS_QUEUE_*soderlind/redis-queue/redis-queue-demoto/redis-queueText Domains & Localization
'redis-queue-demo'to'redis-queue'throughout all PHP filesHooks & Filters
redis_queue_demo_*toredis_queue_*:redis_queue_init(wasredis_queue_demo_init)redis_queue_job_processed(wasredis_queue_demo_job_processed)redis_queue_job_retried(wasredis_queue_demo_job_retried)Helper Functions
Added new global helper functions (no shims for old names):
Code Cleanup
Removed all legacy files and directories:
src/Core/Redis_Queue_Demo.php(old main class)admin/,api/,workers/directories (duplicates)class-github-plugin-updater.php(legacy standalone file)debug.php(legacy debug script)Migration Support
Implemented automatic one-time migrations for existing installations:
Options Migration:
Redis Keys Migration:
Both migrations:
Other Updates
uploads/redis-queue-demo-logs/touploads/redis-queue-logs/redis-queue/v1for API stabilityBreaking Changes
Soderlind\RedisQueuenamespaceredis_queue()instead ofredis_queue_demo()redis_queue_demo_*toredis_queue_*'redis-queue-demo'to'redis-queue'Users must update their code when upgrading. See CHANGELOG.md for migration guide.
Testing
✅ All PHP files pass syntax validation
✅ All classes successfully autoload via Composer
✅ Plugin instance can be instantiated with new namespace
✅ No unintended references to old naming remain
✅ Migration code correctly references old names for upgrade path
Related
Closes issue requesting plugin rename and 2.0.0 release preparation.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/a2db6871deec989a74e1f90fafc6d58ae526a879/usr/bin/php8.3 -n -c /tmp/N49Jxv /usr/bin/composer install --no-dev(http block)/usr/bin/php8.3 -n -c /tmp/qu2auh /usr/bin/composer install --no-dev --prefer-dist(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Created from VS Code via the GitHub Pull Request extension.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.