Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 4, 2025

This PR contains the following updates:

Package Type Update Change
source_gen (source) dependencies major ^1.2.2 -> ^3.0.0

Release Notes

dart-lang/source_gen (source_gen)

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.

v2.0.0

Compare Source

  • Breaking Change: Change formatOutput function to accept a language
    version parameter.
  • Formatting Change: Generated code will no longer apply any fixes by
    default (previously it would apply the single cascades statements fix). The
    new formatter does not support applying fixes.
  • Document deduplication behavior for the output of
    GeneratorForAnnotation.generateForAnnotatedElement.
  • Support all the glob quotes.
  • Require analyzer: '>=6.9.0 <8.0.0'
  • Support the latest package:dart_style
  • LibraryBuilder, PartBuilder, and SharedPartBuilder now take an optional
    writeDescriptions boolean. When set to false, headers and generator
    descriptions for the files will not be included in the builder output.
  • Include //dart format width=80 comments in files generated by a
    LibraryBuilder or PartBuilder and formatted with the default callback.
  • Require Dart 3.6.0

Configuration

📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Africa/Johannesburg, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate bot added the dependencies renovate bot related dependency upgrades label Aug 4, 2025
@renovate renovate bot enabled auto-merge (squash) August 4, 2025 19:48
@renovate renovate bot changed the title fix(deps): update dependency source_gen to v3 fix(deps): update dependency source_gen to v3 - autoclosed Sep 1, 2025
@renovate renovate bot closed this Sep 1, 2025
auto-merge was automatically disabled September 1, 2025 11:42

Pull request was closed

@renovate renovate bot deleted the renovate/source_gen-3.x branch September 1, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies renovate bot related dependency upgrades
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants