Migrating SuiteCRM front-end extensions to Angular 18

Custom SuiteCRM 8 front-end extensions must be updated before a move to SuiteCRM 8.8 or later. This page covers the Angular 18 change, the moved common library, the generated angular.json, new Node.js and Yarn minimums and how to test extensions before production.

On this page

How to migrate SuiteCRM front-end extensions to Angular 18

Custom SuiteCRM 8 front-end extensions need source changes, a new build toolchain and staging tests before the production upgrade. Extensions written for earlier 8.x releases will not simply rebuild under SuiteCRM 8.8 or later. The work covers code that imports the front-end common library from its old location, the angular.json build configuration, and the Node.js and Yarn versions used to compile the bundle. Teams that treat this as a version bump usually find the break at build time or, worse, at runtime after go-live.

SuiteCRM 8.8.0, released on January 30, 2025, is the breaking point. That release moved the front end to Angular 18 while keeping Webpack and Module Federation, and it raised the development minimums to Node.js 20.11.1 and Yarn 4.5.0. The common library moved from core/app/common to core/app/core/src/lib/common, and angular.json became a generated file. Because the core upgrade and the extension migration have to land together, the plan should sequence both as one change rather than finishing the core first and fixing extensions afterward. This page assumes your instance already runs SuiteCRM 8 and that you have an inventory of the extensions you own. The current target family for planning is the supported 8.10 line, so confirm the exact patch level against the compatibility matrix before you fix versions.

Start by listing every extension, its Angular components and imports, and any custom angular.json settings it carries. Then build each extension against a staging copy of the 8.8 or later core and record every failure. Confirm the Node.js and Yarn versions your build servers and developer machines use, because older runtimes will fail before your code is even tested. Keep the production instance on its current release until the staging build, the extension tests and a full user walkthrough pass.

What changes for extensions in SuiteCRM 8.8

This table compares four changes that SuiteCRM 8.8 makes to custom front-end extensions, with the impact of each and the action your team needs to take. Read each row against your extension's source tree and build scripts before you schedule the upgrade. The main takeaway is that the build tooling and file locations change together, so an extension that compiled on earlier 8.x releases may fail until it is updated and tested.

ChangeImpactAction needed
Angular 18 with Webpack and Module Federation keptExtension code written for the earlier Angular version may not compile or behave as before. The Webpack and Module Federation build model stays, so the extension loading approach does not change.Check every extension's Angular dependencies and component code against Angular 18. Update and build the extension against the 8.8 core, then test it in a staging instance.
Common library moved from core/app/common to core/app/core/src/lib/commonImports that point to the old path will fail at build time. Any copied or vendored common code in the extension may also drift from the core version.Find every import from the old path and change it to the new location. Remove copied common code where the core library already provides it.
angular.json generated with yarn merge-angular-jsonHand edits to the root angular.json will be overwritten when it is regenerated. Each extension's own angular.json now feeds the generated file.Move your extension's build settings into its own angular.json. Run yarn merge-angular-json after changes and stop editing the generated file directly.
New development minimums: Node.js 20.11.1 and Yarn 4.5.0Build machines and developer workstations on older Node.js or Yarn versions may fail or produce different builds. CI images need the same versions.Install Node.js 20.11.1 and Yarn 4.5.0 on developer machines and CI runners. Confirm the builds pass on those exact versions before the upgrade.

Why the generated angular.json changes how extensions build

Extensions no longer own a standalone angular.json that the build reads directly. From SuiteCRM 8.8, angular.json is a generated file. The build produces it by running yarn merge-angular-json, which combines base-angular.json from the core with the angular.json in each extension. Any edit you make to the output file is lost the next time the merge runs, and the build you test is the one that reflects the merged result, not the file you opened in your editor. Treat the extension's own angular.json as the place where its build settings live, and treat the generated file as a build artifact.

The practical risk is silent failure. A hand-edited project entry, a changed output path, or an extra asset or style setting placed in the generated file will disappear without an error, and the extension may still compile because the default settings are valid. Conversely, a key placed in the extension's own file can be overridden by the base configuration, so it has no effect. Both cases look like a working build until the extension behaves differently in the upgraded instance. Confirm with the SuiteCRM 8 developer guide's migration notes exactly which keys the merge reads from each file before you move any setting.

Start by searching the repository for angular.json files, for any committed copy of the generated file, and for scripts or CI steps that write to it directly. Flag any setting that differs from the base configuration without a clear reason. Then make the merge step a required stage in the same pipeline that runs your extension tests, so every change to build config is merged, compiled and tested on each commit. Ask your team or your partner to show a clean merge from a fresh checkout, and keep the merged output under version control only if your team has a rule for regenerating it.

What to prepare before changing extension code

Preparation decides whether the Angular 18 move is a contained code change or an upgrade that breaks production. The six cards below cover what to inventory, what to copy, what to back up and what to build with, so the team can test the extensions against SuiteCRM 8.8 or later before touching the live instance.

Inventory every custom extension

List each front-end extension, its owner, the SuiteCRM version it was built for and its own angular.json. Because SuiteCRM 8.8 generates the root angular.json from base-angular.json and each extension's file, a missing or stale per-extension config is the first thing to find. Record which extensions are actively used and which can be retired before the move.

8.8 migration guide

Build a staging instance

Create a staging instance on the same SuiteCRM version as production, loaded with a recent copy of production data. Extension behavior often depends on real records, layouts and permissions, so a staging copy with sample data will miss problems. Confirm the staging host matches production's PHP, web server and database versions so that only the front-end change is under test.

Take full file and database backups

Back up the complete SuiteCRM file tree and the database before any extension change is deployed to staging or production. The migration documentation notes that a move may remove non-core files under the public/legacy folder, so backups must include any customizations stored there. Test a restore on a separate host so the rollback path is proven before it is needed.

Set up the Node.js and Yarn build environment

Install Node.js 20.11.1 and Yarn 4.5.0 on a dedicated build host or container, matching the minimums SuiteCRM 8.8 requires for development. Use these exact versions for every build so that output differs only because of code changes. Pin them in the build pipeline and record the versions in the change ticket.

List dependencies on the common library

Find every import from the old core/app/common path and map it to the new location under core/app/core/src/lib/common. Extensions that import from the old path will fail to compile on SuiteCRM 8.8 and later. Write down each import, the file that uses it and the owner who will fix it, so the work can be sized and reviewed.

Record vendor-supplied customizations

Mark which extensions came from a vendor or partner and whether that supplier has a release built for Angular 18 and SuiteCRM 8.8 or later. Ask each vendor for a written update path and a support window before the upgrade is scheduled. Customizations with no supplier path need an internal owner who will rewrite or retire them.

How to sequence the extension migration and rollback points

This sequence moves custom SuiteCRM 8 front-end extensions to the Angular 18 line in an order where every change has a check that proves it worked and a restore point if it did not. Production changes only happen after a staging build and screen-level tests pass.

  1. Back up the instance and tag the current state

    Before any change, the team takes a full database backup and a file backup of the SuiteCRM 8 instance, then tags the current commit of each extension repository and the core checkout in version control. Someone on the platform team records the tag names and backup locations in the change ticket. The step is done when a test restore of the database backup completes on a separate host and the tags can be checked out on a clean machine. That restore point is the rollback target for every later step.

  2. Set up the Node.js and Yarn toolchain

    The build engineer installs the minimum Node.js and Yarn versions the SuiteCRM 8.8 developer guide lists for development, which are Node.js 20.11.1 and Yarn 4.5.0, on the build host and on any CI runner that compiles extensions. Older global installs are kept on the machine so the old toolchain can still rebuild the pre-change tag. The step is done when node --version and yarn --version report the expected versions in the build shell and a clean install of the current extension succeeds. If the old toolchain is needed for rollback, document how to switch back.

  3. Inventory every extension and its imports

    A developer lists each custom front-end extension, its owner, the SuiteCRM screens and API calls it uses, and every file that imports from the old common library path under core/app/common. The list also notes whether each extension has its own angular.json and any custom build settings that must survive the merge. The step is done when the inventory is reviewed by the people who own each extension and every import hit is either assigned to a fix or marked as unused. This list becomes the test plan in the later steps.

  4. Move common library imports to the new path

    The developer changes imports from the old core/app/common location to core/app/core/src/lib/common, as described in the 8.8 migration guide, and commits the change on a branch separate from the pre-change tag. Changes are kept mechanical so reviewers can compare them against the inventory. The step is done when a search for the old path returns no hits in extension code and a local build reaches the compile stage without missing-module errors. If the branch causes problems, the tag from the first step is checked out again.

  5. Generate angular.json and merge extension configs

    Because angular.json is generated in 8.8 and later, the developer runs yarn merge-angular-json, which combines base-angular.json with each extension's own angular.json, instead of editing the generated file by hand. Any custom build options are moved into the extension's source config and reviewed in the diff. The step is done when the generated file contains every project the inventory lists and the output of the merge is committed. Manual edits to the generated file are discarded, since the next merge would overwrite them.

  6. Update to Angular 18 and rebuild

    The developer updates the extension dependencies to the versions that match the Angular 18 line used by SuiteCRM 8.8, keeps Webpack and Module Federation as the build setup, and runs a clean install and a production build. Dependency changes are reviewed for peer warnings and removed packages. The step is done when the build finishes with no errors, the resulting bundles load in a local SuiteCRM 8.8 or later instance, and the lockfile diff matches the dependency changes recorded in the ticket. If the build fails and cannot be fixed within the change window, the team returns to the tag from the first step.

  7. Build the extensions against staging

    The team deploys the upgraded SuiteCRM 8.8 or later core and the rebuilt extensions to a staging instance restored from the production backup, following the order the migration guide describes. Build logs and the deployed extension versions are recorded. The step is done when the staging instance starts, the extensions appear in the admin interface, and the browser console shows no load errors on the main landing pages. Staging is the only place where the production data shape is tested before promotion.

  8. Test screens and API calls for each extension

    Testers work through the inventory list and exercise every screen each extension changes and every API call it makes, including create, edit, list and error paths, using test accounts that match real roles. Findings are logged against the extension owner. The step is done when every inventory item has a recorded pass, a documented exception with an owner, or a fix that has been retested. Only when this sign-off is complete does the change move to production, and any failed item sends the change back to the earlier step that caused it.

  9. Promote to production with a tested rollback

    The change is promoted in the window agreed in the ticket, using the same artifacts that passed staging and a fresh production backup taken just before the change. The rollback plan names the pre-change tag, the backup set and the restore steps, and is rehearsed against staging beforehand. The step is done when the production smoke tests pass and the team confirms the extensions work for each role. If a production check fails, the team restores the saved backup and redeploys the pre-change tag, then records the cause before trying again.

How the generated angular.json combines base and extension config

The build starts from base-angular.json in the SuiteCRM core and from the angular.json file that each extension ships with. Running yarn merge-angular-json combines them into one generated angular.json, which the Angular 18 build uses with Webpack and Module Federation to produce the extension bundles loaded into the SuiteCRM 8.8 UI. The common library now lives under core/app/core/src/lib/common, so any extension import path or build reference still pointing to the old core/app/common location will fail here. Check the merged file after each merge, and do not edit it by hand, because the next merge overwrites it.

The merge step turns base and extension configs into the build input for the 8.8 UI.

What makes extension migrations take longer

This table lists the factors that most often change how long an Angular 18 extension migration takes, the direction each one pushes effort, and what to check in your own codebase before estimating. Higher effort usually comes from more extensions, deeper coupling to the common library and vendor code you cannot change, while lower effort comes from clean imports, good test coverage and a short list of environments.

DriverEffect on effortWhat to check
Number of custom extensionsRaises effort. Each extension has its own build configuration, dependencies and tests to update.Count every extension loaded by the instance, including ones that are disabled but still deployed.
Depth of imports from the common libraryRaises effort. Deep imports into the old core/app/common path must be rewritten to the new location.Search each extension for imports that reference the common library path and note how many levels deep they reach.
Hand-edited angular.json settingsRaises effort. Custom build options must move into the extension's own file so the generated angular.json still includes them.Compare your angular.json with the base configuration and list every setting you changed by hand.
Vendor-supplied extensions without an updated releaseRaises effort sharply. You may need to fork, wrap or delay the upgrade until the vendor ships a compatible build.Ask each vendor in writing whether a release supports SuiteCRM 8.8 and Angular 18, and when.
Custom styling and template changesRaises effort. Stylesheets and templates written against older component markup often need visual review after the framework change.Identify overridden templates and global styles, then plan screenshot or manual checks for each affected view.
Automated test coverageLowers effort when high, raises it when low. Thin coverage means more manual regression passes after each change.Confirm which extensions have unit or end-to-end tests that run locally and in CI, and whether they pass on the current version.
Number of environments to rehearseRaises effort. Each environment needs its own rebuild, smoke test and sign-off before production.List development, staging, test and production instances, and confirm they run the same extension versions.

Which migration path fits your extension estate

When one team wrote and maintains a single extension, that team owns the whole upgrade. The work is to move the extension's Angular code to Angular 18, place any imports of the common library at its new location under core/app/core/src/lib/common, and regenerate the build configuration so the extension's own angular.json is merged into the generated file. The owning team also decides when the extension is ready and signs off the result.

  • Code ownership: The team must update imports, components and build settings in its own repository and keep the change in version control.
  • Build configuration: Confirm the extension's angular.json is merged correctly by yarn merge-angular-json and that the output matches the build the team expects.
  • Toolchain: Install the Node.js and Yarn versions named in the 8.8 release notes on build machines and CI runners before the first build.
  • Vendor input: If the extension depends on SuiteCRM internals, ask the SuiteCRM Ltd support team or the community which interfaces changed in your target release.
  • Test scope: Run the extension's own unit tests, a production build, and a click-through of every screen it adds on a staging instance cloned from production.

Before the production upgrade, check that the staging build has the same extension version, configuration and data as production, and record the results so the sign-off has evidence behind it.",

Questions teams ask before migrating extensions to Angular 18

What does it cost to migrate SuiteCRM front-end extensions to Angular 18?

The cost is the labor to update each extension, test it and hand it back, so it depends mostly on how many extensions you have and how much each one depends on the front-end code that moved in SuiteCRM 8.8. The main cost drivers are the number of extensions, how many use the common library at its old path under core/app/common, how many have custom build configuration, and how complete your existing test cases are. Ask any provider for a quote built from a written scope that lists each extension, its repository, its dependencies and the test coverage you expect. Expect a one-time effort for the migration itself, plus recurring effort whenever you move to later SuiteCRM 8 releases that change the front-end toolchain again.

How long does an extension migration take, and what sets the timeline?

Duration depends on the number and complexity of your extensions, the state of their code, and how quickly staging and testing can be completed, so no fixed figure applies. The biggest timeline factors are whether each extension builds cleanly after the Angular 18 change, how many imports of the common library need updating, and how much manual testing is needed before sign-off. Ask for a schedule with milestones for each extension, and confirm which steps depend on your staging environment being ready and on your team's review availability.

What must our team provide before a migration starts?

Plan to provide the following before work begins:

  • Read access to each extension repository, including its own angular.json and any build scripts
  • A staging SuiteCRM 8 instance running the version you are moving to, with a copy of your data where it is safe to use one
  • Existing test cases or a list of user workflows that each extension must support
  • A named owner for each extension who can answer behavior questions and approve the result
  • A named person who controls production change windows and approves the upgrade

Without these, the work stalls at the points where behavior has to be confirmed.

Can an internal team migrate extensions to Angular 18 without outside help?

Yes, an internal team with JavaScript and Angular experience can do the work, provided it has time, access to a staging instance and clear test cases. The team should first confirm that it has the Node.js and Yarn versions required by SuiteCRM 8.8 and later, and that someone knows how the generated angular.json is built from base-angular.json and each extension's own file. Outside help is most useful when extensions are heavily customized, when the team has no spare capacity before the core upgrade, or when a second review of the test results is needed. Decide this by comparing your team's available hours with the number and complexity of extensions.

What happens if an extension is not updated before the core upgrade?

An extension that has not been updated for SuiteCRM 8.8 or later may fail to build, fail to load in the browser, or break screens that depend on the common library at its old path. Because the front-end common library moved from core/app/common to core/app/core/src/lib/common, imports pointing at the old location will not resolve after the core upgrade. The safe sequence is to update and test each extension on a staging instance first, then upgrade production only when every extension passes. Do not upgrade production and expect to fix extensions afterward, because users may be working in a broken interface while the fixes are made.

How do we request a written quote from a defined scope?

Start by listing each extension, its repository location, its owner, the SuiteCRM 8 version you are moving from and to, and the test cases that must pass. Include whether any extension uses custom build settings, relies on the common library, or needs changes to deployment pipelines. Ask the provider to confirm deliverables in writing: the updated code, the staging test results, the list of open issues, and the handover notes. Ask what is excluded, how changes to scope are priced, and whether a retest is included after fixes. Most engagements are fixed-scope, so a clear written scope is the basis for the quote.

How DeployOpen scopes and delivers extension migrations

DeployOpen approaches the Angular 18 move as a fixed-scope piece of work: we inventory each custom front-end extension against the 8.8 changes, port it, test it on a staging copy of your instance, and hand over the code and notes your team needs to keep it current. Engagements are agreed in writing before work starts.

How we scope

  • We list every custom front-end extension and record which ones import from the old common library path.
  • The written scope names the target SuiteCRM 8.8 or later version and the Node.js and Yarn versions used for builds.
  • Ongoing support and upgrade work after handover can be arranged as a retainer, quoted separately from the migration scope.

How we build

  • We move imports to the new common library location and restructure each extension's angular.json for the generated merge.
  • We update build scripts so the merge step runs with the agreed Yarn version and the extension builds under the agreed Node.js version.
  • We run the extension against a staging copy of your SuiteCRM 8 instance, with the same extension set and configuration as production.

How we hand over

  • You receive the migrated extension source, build configuration and a record of every change made from the original code.
  • The handover notes list the test cases run, the results, and any items your team should confirm after the next SuiteCRM minor release.
  • We walk your developers through the build, the staging test steps and the production cutover checklist before the engagement closes.

How we support

  • Support can cover extension fixes that follow later SuiteCRM 8 releases, scoped and quoted in writing.
  • Continuous testing of extensions against new SuiteCRM minor releases is available as a retainer, with findings reported to your team.
  • Before production cutover, ask us to confirm which extension behaviors still need a check on your own environment and data.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.