Skip to content

Update specs to use new @featureFile decorators from Azure.ResourceManager namespace#44152

Open
markcowl wants to merge 1 commit into
Azure:typespec-nextfrom
markcowl:markcowl/update-feature-namespace
Open

Update specs to use new @featureFile decorators from Azure.ResourceManager namespace#44152
markcowl wants to merge 1 commit into
Azure:typespec-nextfrom
markcowl:markcowl/update-feature-namespace

Conversation

@markcowl

@markcowl markcowl commented Jun 23, 2026

Copy link
Copy Markdown
Member

Changes

Updates all TypeSpec specification files to use the new @featureFile, @featureFiles, and @featureFileOptions\ decorators from the \Azure.ResourceManager\ namespace instead of @feature, @features, @featureOptions\ from \Azure.ResourceManager.Legacy.

This change corresponds to Azure/typespec-azure#4664 which adds these new decorators.

Mapping

  • @Azure.ResourceManager.Legacy.features\ → @Azure.ResourceManager.featureFiles\
  • @Azure.ResourceManager.Legacy.feature\ → @Azure.ResourceManager.featureFile\
  • @Azure.ResourceManager.Legacy.featureOptions\ → @Azure.ResourceManager.featureFileOptions\

Package Updates

Files Changed

  • 268 .tsp\ files updated with new decorator names
  • \package.json\ / \package-lock.json\ updated to use PR build packages

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named Summarize PR Impact has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide


Comment generated by summarize-checks workflow run.

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Microsoft.Network
TypeSpec Microsoft.Sql

Comment generated by After APIView workflow run.

…nager namespace

Replace all usages of Legacy decorators with new Azure.ResourceManager equivalents:
- @Azure.ResourceManager.Legacy.features -> @Azure.ResourceManager.featureFiles
- @Azure.ResourceManager.Legacy.feature -> @Azure.ResourceManager.featureFile
- @Azure.ResourceManager.Legacy.featureOptions -> @Azure.ResourceManager.featureFileOptions

Updated package.json to use PR build packages from Azure/typespec-azure#4664:
- @azure-tools/typespec-azure-resource-manager
- @azure-tools/typespec-autorest
- @azure-tools/typespec-azure-rulesets

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@markcowl markcowl force-pushed the markcowl/update-feature-namespace branch from 2d21b7d to 84429f3 Compare June 30, 2026 01:50
@markcowl markcowl changed the title Update @feature decorator namespace from Legacy to Azure.ResourceManager Update specs to use new @featureFile decorators from Azure.ResourceManager namespace Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant