这是indexloc提供的服务,不要输入任何密码
Skip to content

[talker_chopper_logger] Add TalkerKeys registration #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 28, 2025

Conversation

Frezyx
Copy link
Owner

@Frezyx Frezyx commented Jul 28, 2025

Summary by Sourcery

Bump the project to 5.0.0-dev.11, sync dependency versions across packages, examples, and documentation, and add HTTP TalkerKeys registration in the Chopper logger interceptor

New Features:

  • Register HTTP-related TalkerKeys (httpRequest, httpResponse, httpError) in the Chopper logger interceptor

Enhancements:

  • Bump all package versions to 5.0.0-dev.11 and update corresponding dependencies
  • Synchronize example and README dependency versions to the new dev.11 release

Documentation:

  • Update READMEs with revised dependency versions for the 5.0.0-dev.11 release

Chores:

  • Refresh CHANGELOG entries for version 5.0.0-dev.11 across all packages

Copy link
Contributor

sourcery-ai bot commented Jul 28, 2025

Reviewer's Guide

This PR bumps the dev version across all Talker packages to 5.0.0-dev.11, enriches the TalkerChopperLogger interceptor by registering HTTP log keys at initialization, and updates the CHANGELOGs to reflect the new release and contribution.

File-Level Changes

Change Details Files
Bump package versions and dependencies to 5.0.0-dev.11
  • Update version in root and subpackage pubspec.yaml files
  • Synchronize dependency ranges in README and example pubspecs
  • Adjust example project dependencies to the new dev version
README.md
packages/*/pubspec.yaml
packages/*/example/pubspec.yaml
examples/shop_app_example/pubspec.yaml
Register TalkerKey enums in Chopper logger
  • Invoke talker.settings.registerKeys in constructor
  • Include httpRequest, httpResponse, httpError keys
packages/talker_chopper_logger/lib/talker_chopper_logger_interceptor.dart
Update CHANGELOGs for new release
  • Add 5.0.0-dev.11 entry with TalkerKeys registration note
  • Credit contributor Frezyx in each CHANGELOG
packages/*/CHANGELOG.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@Frezyx Frezyx added addons Related to addons/bridge packages like dio_logger and bloc_logger console Related to console output talker_chopper_logger Related to talker_chopper_logger package labels Jul 28, 2025
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @Frezyx - I've reviewed your changes - here's some feedback:

  • Fix the copy-paste errors in the CHANGELOG.md files—most of them mention talker_chopper_logger even in unrelated packages so they should reference their own package name.
  • Consider guarding or relocating the TalkerKey.registration call so you don’t re-register the same keys every time an interceptor instance is created.
  • To prevent manual drift in version bumps across all READMEs, examples, and pubspecs, think about adding a simple script or tool to automate those updates.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Fix the copy-paste errors in the CHANGELOG.md files—most of them mention talker_chopper_logger even in unrelated packages so they should reference their own package name.
- Consider guarding or relocating the TalkerKey.registration call so you don’t re-register the same keys every time an interceptor instance is created.
- To prevent manual drift in version bumps across all READMEs, examples, and pubspecs, think about adding a simple script or tool to automate those updates.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Frezyx Frezyx merged commit 46847ce into master Jul 28, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addons Related to addons/bridge packages like dio_logger and bloc_logger console Related to console output talker_chopper_logger Related to talker_chopper_logger package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant