Skip to content

Conversation

@Gawor270
Copy link
Member

@Gawor270 Gawor270 commented Jan 28, 2026

Description

Describe your changes.

Motivation and Context

Why is this change required? What problem does it solve? If it fixes an open
issue, please link to the issue here.

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

@linear
Copy link

linear bot commented Jan 28, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds functionality to display deprecation warnings from the Fishjam API by parsing a custom response header (x-fishjam-api-deprecated) and showing appropriate Python warnings to users.

Changes:

  • Added deprecation warning handling that parses JSON from the x-fishjam-api-deprecated response header
  • Shows warnings using appropriate categories (UserWarning for "unsupported", DeprecationWarning for "deprecated")
  • Implements a flag to prevent showing the same warnings multiple times per client instance

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Gawor270 Gawor270 requested a review from roznawsk January 28, 2026 12:56
@Gawor270 Gawor270 merged commit 3435bab into main Jan 28, 2026
6 checks passed
@Gawor270 Gawor270 deleted the FCE-2653 branch January 28, 2026 19:51
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