Skip to content

Remove retired isDomainIsolated flag from scaffolded package-solution.json - #266

Merged
svalenciasan merged 1 commit into
SharePoint:mainfrom
svalenciasan:remove-isdomainisolated-from-scaffold
Aug 12, 2026
Merged

Remove retired isDomainIsolated flag from scaffolded package-solution.json#266
svalenciasan merged 1 commit into
SharePoint:mainfrom
svalenciasan:remove-isdomainisolated-from-scaffold

Conversation

@svalenciasan

@svalenciasan svalenciasan commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Description

The domain-isolated web parts feature is retired. Freshly scaffolded SPFx solutions still emitted "isDomainIsolated": false in config/package-solution.json, which is dead surface area that confuses developers reading the manifest. This removes the flag from all scaffolding templates and their mirrored examples so new solutions no longer ship it.

Existing solutions that still carry the flag are unaffected — the property is tolerated and ignored by the build.

Related

Companion platform-side change (Microsoft-internal Azure DevOps): removes isDomainIsolated from the SPFx generator/build pipeline and graduates the domain-isolated WP retirement flight — ODSP-Web PR 2331347: https://onedrive.visualstudio.com/ODSP-Web/_git/odsp-web/pullrequest/2331347

How was this tested

  • Verified no isDomainIsolated remains under templates/ or examples/.
  • Confirmed all 40 modified package-solution.json files still parse as valid JSON.
  • Templates and examples kept in sync (20 + 20).

Type of change

  • Template change

Draft — not for review yet.

@svalenciasan
svalenciasan force-pushed the remove-isdomainisolated-from-scaffold branch from e4f4ab4 to 01046aa Compare August 10, 2026 22:29
….json

The domain-isolated web parts feature is retired. Drop the dead isDomainIsolated flag from all scaffolding templates and their mirrored examples so new solutions no longer ship it, and update the multi-component test snapshot that captured it.
@svalenciasan
svalenciasan force-pushed the remove-isdomainisolated-from-scaffold branch from 01046aa to 1f2e298 Compare August 10, 2026 22:37
@svalenciasan
svalenciasan marked this pull request as ready for review August 11, 2026 18:14
Copilot AI lite review requested due to automatic review settings August 11, 2026 18:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the retired isDomainIsolated flag from scaffolded config/package-solution.json across all templates and their mirrored examples, and updates the relevant snapshot so newly scaffolded solutions no longer include this dead/ignored surface area.

Changes:

  • Removed "isDomainIsolated": false from all templates/**/config/package-solution.json.
  • Removed "isDomainIsolated": false from all examples/**/config/package-solution.json to keep templates/examples in sync.
  • Updated multi-component.test.ts.snap to match the new scaffolded output.

Reviewed changes

Copilot reviewed 41 out of 41 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/spfx-template-test/src/tests/snapshots/multi-component.test.ts.snap Updates snapshot output to no longer expect isDomainIsolated.
templates/webpart-react/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/webpart-noframework/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/webpart-minimal/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/library/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-search-query-modifier/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-listviewcommandset/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-formcustomizer-react/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-formcustomizer-noframework/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-fieldcustomizer-react/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-fieldcustomizer-noframework/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-fieldcustomizer-minimal/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/extension-application-customizer/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/copilot-component-react/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/copilot-component-noframework/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/copilot-component-minimal/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/ace-search-card/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/ace-generic-primarytext-card/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/ace-generic-image-card/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/ace-generic-card/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
templates/ace-data-visualization/config/package-solution.json Drops retired isDomainIsolated from the template scaffold output.
examples/webpart-react/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/webpart-noframework/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/webpart-minimal/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/library/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-search-query-modifier/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-listviewcommandset/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-formcustomizer-react/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-formcustomizer-noframework/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-fieldcustomizer-react/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-fieldcustomizer-noframework/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-fieldcustomizer-minimal/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/extension-application-customizer/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/copilot-component-react/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/copilot-component-noframework/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/copilot-component-minimal/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/ace-search-card/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/ace-generic-primarytext-card/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/ace-generic-image-card/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/ace-generic-card/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.
examples/ace-data-visualization/config/package-solution.json Mirrors template change by dropping retired isDomainIsolated.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@svalenciasan
svalenciasan merged commit f63a69c into SharePoint:main Aug 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants