Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 27, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
source_gen (source) dependencies major ^2.0.0 -> ^4.0.0

Release Notes

dart-lang/source_gen (source_gen)

v4.0.1

Compare Source

  • Require analyzer: '>=8.1.1 <9.0.0'.
  • Allow build: '>=3.0.0 <5.0.0'.

v4.0.0

Compare Source

  • Breaking Change: remove TypeChecker.fromRuntime, use
    TypeChecker.typeNamed instead. This removes all use of dart:mirror, so
    builders using source_gen can be AOT compiled for better performance.
  • Keep // GENERATED FILE comments on the first line.

v3.1.0

Compare Source

  • Prepare to stop using dart:mirrors: deprecate TypeChecker.fromRuntime.
    It will be removed in version 4.0.0. Add TypeChecker.typeNamed which is
    the recommended replacement.
  • Prepare to stop using dart:mirrors: add inPackage and inSdk parameters
    to GenerateForAnnotation. These will start being used in version 4.0.0
    when it switches to TypeChecker.typeNamed.
  • InvalidGenerationSource support for Fragment, ElementDirective and
    Annotatable.
  • Allow analyzer: '>=7.4.0 <9.0.0'.

v3.0.0

Compare Source

  • Breaking Change: use the new element2 APIs in analyzer. Builders that
    do resolution need to switch to the new API, see
    https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/element_model_migration_guide.md.
    For questions please use https://github.com/dart-lang/build/discussions.
  • Breaking Change: annotations are now reported separately for elements
    and directives. If you use TypeChecker().annotatedWith(), see also
    the new TypeChecker().libraryDirectivesAnnotatedWith(). If you use
    GeneratorForAnnotation see the new generateForAnnotatedDirective.
  • Require build: ^3.0.0
  • Updated the minimum package versions for a number of dependencies.
  • Require Dart 3.7.0
  • Update the GeneratorForAnnotation optimization to skip files with well known
    annotation names such as override, Deprecated, and pragma.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 27, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate
Copy link
Contributor Author

renovate bot commented Sep 30, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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