feat!: rename module from cfmigrations to cbMigrations#45
Open
lmajano wants to merge 3 commits into
Open
Conversation
BREAKING CHANGE: the module is renamed from `cfmigrations` to `cbMigrations` to match the Ortus `cbXxx` naming convention. This changes the module name, ForgeBox slug, WireBox mappings (`cbMigrations.models.QBMigrationManager`), the DSL injection name (`MigrationService@cbMigrations`), and the moduleSettings key (`cbMigrations`). The default migrations tracking table also renames from `cfmigrations` to `cbmigrations` — `install()` now detects a legacy `cfmigrations` table and renames it in place so existing migration history carries forward automatically. GitHub links in box.json and README now point at coldbox-modules/cbMigrations ahead of the planned repository rename. Also drops CI/test support for the EOL Adobe 2021 and Lucee 5 engines. https://claude.ai/code/session_01BN233VRgXRMBvRxQNyqTJt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
cfmigrations→cbMigrationsacross all identifiers:this.name,this.cfmapping, WireBox DSL string, ForgeBox slug, and all GitHub links (homepage,docs,repository.url,bugs,instructions).cfmigrations→cbmigrations.QBMigrationManager.install()now auto-detects a legacycfmigrationstable and renames it in place (data preserved), so existing installs upgrade transparently without any manual DB step.lucee@5/adobe@2021server configs and CI matrix entries; addedlucee@7andboxlang@1(picked up from the recent boxlang-prime merge).DB_NAME/DB_USER/DB_PASSWORDtocbmigrations_testing; removed redundant step-level env blocks.Breaking Changes
moduleSettingskey fromcfmigrations→cbMigrationsin your ColdBox config.cfmigrations.models.QBMigrationManagerreferences →cbMigrations.models.QBMigrationManager.MigrationService@cfmigrations→MigrationService@cbMigrations.install()/ migration run — no manual DB step required.Test plan
lucee@6,lucee@7,adobe@2023,adobe@2025,boxlang-cfml@1,boxlang@1MigrationSpec—cbmigrationstracking table created; legacy-table-rename test passes (pre-existingcfmigrationstable renamed tocbmigrationswith data intact)ModuleIntegrationSpec— module activates under thecbMigrationsnameMigrationService@cbMigrationsresolves via WireBox DSLGenerated by Claude Code