Skip to content

feat: log warning for Gen 1-only operations - #945

Merged
veronika-alraheem merged 1 commit into
mainfrom
1318-gen1-warnings
Nov 26, 2026
Merged

veronika-alraheem merged 1 commit into
mainfrom
1318-gen1-warnings

Conversation

@veronika-alraheem

@veronika-alraheem veronika-alraheem commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

PR summary

Emit a log warning for operations only available for Gen 1.
Fixes i1318

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the
    Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

Calls to Gen 1-only operations execute without any user-facing warning that they are unavailable for Gen 2.

What is the new behavior?

CloudantBaseService.createServiceCall checks for Gen 1-only paths (/_api/v2(/|$)) and logs a warning with the operation ID (or request path) pointing to the Gen 2 compatibility section in KNOWN_ISSUES.md.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@veronika-alraheem veronika-alraheem changed the title feat: log warning via request interceptor for Gen 1-only operations feat: log warning for Gen 1-only operations Nov 19, 2026

@ricellis ricellis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a few nits but this is basically fine

@veronika-alraheem
veronika-alraheem merged commit fc18996 into main Nov 26, 2026
9 checks passed
@veronika-alraheem
veronika-alraheem deleted the 1318-gen1-warnings branch November 26, 2026 12:34
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.

2 participants