Skip to content

refactor(clerk-js): Remove unused debugLogger functionality#6615

Merged
jacekradko merged 5 commits into
mainfrom
refactor/remove-extranous-debug-functionality
Aug 24, 2025
Merged

refactor(clerk-js): Remove unused debugLogger functionality#6615
jacekradko merged 5 commits into
mainfrom
refactor/remove-extranous-debug-functionality

Conversation

@jacekradko

@jacekradko jacekradko commented Aug 23, 2025

Copy link
Copy Markdown
Contributor

Description

Removing extraneous debugLogger functionality, primarily log filtering and trace level. Also simplifying to initialization logic.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • Breaking Changes

    • Removed "trace" log level; supported levels: error, warn, info, debug.
    • Removed log filtering and related configuration options.
    • Debug logger is no longer exposed on the main Clerk instance; use the standalone debug logger.
    • Logger initialization now defaults to disabled and must be explicitly enabled.
  • Behavior Changes

    • In production, console logging remains; telemetry is sent only when a telemetry collector is configured.
  • Tests

    • Logging tests simplified; added edge-case and transport integration tests.
  • Chores

    • Release metadata added noting removal of unused debug logger functionality.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants