Skip to content

feat+fix: Pagination fix, SDK logging, OAuth1/DPoP types#785

Merged
kishore7snehil merged 2 commits intomasterfrom
fern-bot/2026-02-19T10-49Z
Mar 17, 2026
Merged

feat+fix: Pagination fix, SDK logging, OAuth1/DPoP types#785
kishore7snehil merged 2 commits intomasterfrom
fern-bot/2026-02-19T10-49Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api bot commented Feb 19, 2026

Summary

This Fern regeneration includes several significant changes across 61 files:

Bug Fix: Pagination (Fixes #783)

  • Fixed incorrect page advancement in 64 paginated endpoints across all raw_client.py files
  • Before (broken): page = page + len(_items or []) — skipped pages when per_page > 1
  • After (fixed): page = page + 1 - correctly advances one page at a time

New Feature: SDK Logging Infrastructure

  • Added configurable logging via new logging parameter on the Auth0 client
  • New core/logging.py module with ConsoleLogger, Logger, LogConfig, and ILogger protocol
  • Supports log levels: debug, info, warn, error with a silent mode (default)
  • HTTP request/response logging at debug level with method, URL, status code
  • Sensitive header redaction (Authorization, Cookie, X-Api-Key, etc.) in log output
  • Custom logger support via ILogger protocol

New Types: OAuth1 & DPoP Connection Support

  • 10 new connection type files for OAuth1 connections (connection_access_token_url_oauth1, connection_client_id_oauth1, connection_scripts_oauth1, etc.)
  • DPoP signing algorithm types (connection_dpop_signing_alg_enum, connection_dpop_signing_alg_values_supported)
  • OIDC metadata types (connection_options_oidc_metadata, connection_options_common_oidc)
  • New client_token_exchange_type_enum and resource_server_proof_of_possession_required_for_enum

Other Changes

  • Self-service profiles: updated response types (create, get, update) and self_service_profile model
  • Removed core/custom_pagination.py (replaced by standard pagination)
  • Updated reference.md and test configuration (conftest.py)

Manual Fixes (on top of Fern regeneration)

Breaking Changes

  • custom_pagination.py has been removed — any code importing from it will need to update

Test Plan

@fern-api fern-api bot requested a review from a team as a code owner February 19, 2026 10:49
@kishore7snehil kishore7snehil changed the title 🌿 Fern Regeneration -- February 19, 2026 Fern Regeneration: Pagination fix, SDK logging, OAuth1/DPoP types Feb 20, 2026
@kishore7snehil kishore7snehil changed the title Fern Regeneration: Pagination fix, SDK logging, OAuth1/DPoP types feat+fix: Pagination fix, SDK logging, OAuth1/DPoP types Feb 20, 2026
@kishore7snehil kishore7snehil merged commit e506d73 into master Mar 17, 2026
8 checks passed
@kishore7snehil kishore7snehil deleted the fern-bot/2026-02-19T10-49Z branch March 17, 2026 12:22
@StephenWithPH
Copy link
Copy Markdown

StephenWithPH commented Mar 26, 2026

The fix for #793 (part of this PR) will fix a developer experience annoyance. Do you have an idea of when the next release will ship in order to include this fix?

5.1.0...master

... note that #804 is very similar

@kishore7snehil kishore7snehil mentioned this pull request Mar 30, 2026
kishore7snehil added a commit that referenced this pull request Mar 30, 2026
**⚠️ Breaking: Python 3.8 support dropped**
- Python 3.8 reached end-of-life in October 2024. This release requires
**Python >=3.9.2**. Users on Python 3.8 should remain on v5.1.0 until
they upgrade their Python version.
[\#808](#808)

**Added**
- feat: Add default domain endpoints, connection key provisioning,
tenant SCIM listing; remove MiiCard/Renren providers
[\#801](#801)
([fern-api[bot]](https://github.com/apps/fern-api))
- feat: Add client_info support for custom telemetry in Authentication
and Management clients
[\#802](#802)
([kishore7snehil](https://github.com/kishore7snehil))
- feat: Add SDK logging infrastructure with configurable log levels and
header redaction [\#785](#785)
([fern-api[bot]](https://github.com/apps/fern-api))

**Fixed**
- fix: Pagination page advancement incorrectly skipping pages
[\#785](#785)
([fern-api[bot]](https://github.com/apps/fern-api))

**Changed**
- chore: Update ruff, aiohttp, cryptography, urllib3, codecov-action;
replace Snyk with SCA scan
[\#808](#808)
([kishore7snehil](https://github.com/kishore7snehil))
@kishore7snehil
Copy link
Copy Markdown
Contributor

@StephenWithPH This fix has been released as part of v5.2.0.

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.

Fern configuration is missing management_client.py as a known export. Bug: new pagination logic increments page index incorrectly

4 participants