Skip to content

feat: Remove deprecated search scopes#99

Merged
alagishev merged 2 commits into
developfrom
feature/remove-deprecated-search-scopes
Jul 16, 2026
Merged

feat: Remove deprecated search scopes#99
alagishev merged 2 commits into
developfrom
feature/remove-deprecated-search-scopes

Conversation

@makeev-pavel

@makeev-pavel makeev-pavel commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Stops generating and serializing the deprecated per-operation searchScopes
(v3 search) in published package versions, and removes the now-dead scope
machinery. Global Search v4 uses searchText (search.useOperationDataAsSearchText),
which is retained.

What changed

  • Stop building searchScopes in buildRestOperation and drop the
    searchScopes field from the serialized operations.json
    (components/package.ts).
  • Delete the v3 scope crawling: apitypes/rest/rest.rules.ts,
    utils/search.ts (buildSearchScope), and types/internal/rules.ts
    (OperationCrawlRules / OperationCrawlState / CrawlRule).
  • Remove SearchScopes from the operation types (types/internal/operation.ts,
    types/external/operations.ts, types/package/operations.ts).
  • Follow-up dead-code cleanup: remove the residual scope taxonomies and unused
    types across all api-types — REST_SCOPES / GRAPHQL_SCOPES / ASYNC_SCOPES,
    RestScopeType / GraphQLScopeType / AsyncScopeType, and the unused
    *RefCache / *OperationContext interfaces.

@makeev-pavel
makeev-pavel requested a review from b41ex as a code owner July 7, 2026 14:16
@github-actions github-actions Bot added the enhancement New feature or request label Jul 7, 2026
@makeev-pavel
makeev-pavel marked this pull request as draft July 8, 2026 05:37
@makeev-pavel
makeev-pavel marked this pull request as ready for review July 9, 2026 07:07
@alagishev
alagishev merged commit 7615d11 into develop Jul 16, 2026
11 checks passed
@alagishev
alagishev deleted the feature/remove-deprecated-search-scopes branch July 16, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: Remove deprecated search scopes

4 participants