Skip to content

chore(deps): update dependency source_gen to v4#6

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/source_gen-4.x
Open

chore(deps): update dependency source_gen to v4#6
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/source_gen-4.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 10, 2026

This PR contains the following updates:

Package Type Update Change
source_gen (source) dependencies major ^1.5.0^4.0.0

Release Notes

dart-lang/source_gen (source_gen)

v4.2.3

Compare Source

  • Require analyzer: '>=8.1.1 <14.0.0'

v4.2.2

Compare Source

  • Require analyzer: '>=8.1.1 <13.0.0'

v4.2.1

Compare Source

  • Fix UnresolvedAnnotationException to include the name of the annotation in
    the message.
  • Require build: '>=3.0.2 <5.0.0'
  • Require dart_style: ^3.1.2
  • Require sdk: ^3.9.0

v4.2.0

Compare Source

  • Add header configuration to CombiningBuilder.

v4.1.2

Compare Source

  • Allow analyzer: '>=8.1.1 <11.0.0'.

v4.1.1

Compare Source

  • Allow analyzer: '>=8.1.1 <10.0.0'.

v4.1.0

Compare Source

  • Add TypeChecker.typeNamedLiterally. It's like TypeChecker.typeNamed,
    but takes a String instead of a Type.

v4.0.2

Compare Source

  • Bug fix: fix possible null pointer exception in TypeChecker.typeNamed on
    invalid code.

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.

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: (UTC)

  • 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.

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.

0 participants