Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.9.5
->^2.0.0
Release Notes
dart-lang/source_gen (source_gen)
v2.0.0
Compare Source
formatOutput
function to accept a languageversion parameter.
default (previously it would apply the single cascades statements fix). The
new formatter does not support applying fixes.
GeneratorForAnnotation.generateForAnnotatedElement
.analyzer: '>=6.9.0 <8.0.0'
package:dart_style
LibraryBuilder
,PartBuilder
, andSharedPartBuilder
now take an optionalwriteDescriptions
boolean. When set tofalse
, headers and generatordescriptions for the files will not be included in the builder output.
//dart format width=80
comments in files generated by aLibraryBuilder
orPartBuilder
and formatted with the default callback.v1.5.0
Compare Source
throwOnUnresolved
configuration to theGeneratorForAnnotation
constructor.
InvalidGenerationSourceError
toInvalidGenerationSource
. Changefrom a subtype of
Error
to a subtype ofException
. This may be breaking ifa builder relies on a
on Exception catch
to ignore this error.v1.4.0
Compare Source
package:analyzer
.node
argument toInvalidGenerationSourceError
to allow finding thesource location from an
AstNode
over anElement
.v1.3.2
Compare Source
TypeChecker.isAssignableFromType()
null safe.v1.3.1
Compare Source
part of
directives (previously a name would be used ifthe library had a non-empty one).
v1.3.0
Compare Source
build_extensions
configuration of builders producingmultiple files. For example:
build_extensions: { '.dart': ['.stub.dart', '.web.dart', '.vm.dart'] }
TypeChecker
.LibraryReader.allElements
.This allows
GeneratorForAnnotation
to target annotated directives.v1.2.7
Compare Source
repository
field.2.18
.TypeChecker
.v1.2.6
Compare Source
preamble
option tocombining_builder
.v1.2.5
Compare Source
v1.2.4
Compare Source
v1.2.3
Compare Source
analyzer: '>=4.6.0 <6.0.0'
sdk: '>=2.17.0 <3.0.0'
v1.2.2
Compare Source
formatOutput
function to the
PartBuilder
orLibraryBuilder
constructors.v1.2.1
Compare Source
represents their type. Previously we checked this pattern only for enums,
however there are enum-like usages in classes which are not enums.
package:analyzer
.v1.2.0
Compare Source
LibraryElement
inLibraryReader.allElements
,LibraryReader.annotatedWith
, andLibraryReader.annotatedWithExact
. RunGeneratorForAnnotation
generators on library elements when thelibrary
statement has the annotation.
build_extensions
configuration to thePartBuilder
andLibraryBuilder
. You must forward theBuilderOptions
object to the superconstructor for this to work.
parameters.
part
statements on Windows.v1.1.1
Compare Source
package:pedantic
.v1.1.0
build_extensions
option tocombining_builder
, allowing outputfiles to be generated into a different directory.
v1.0.5
different class than their type (but in the same library).
v1.0.4
Compare Source
v1.0.3
Compare Source
package:analyzer
.v1.0.2
Compare Source
TypeChecker.fromRuntimeType
for types that come from non-package uris.v1.0.1
Compare Source
package:analyzer
version1.7.0
.v1.0.0
Compare Source
ConstantReader.isAny
.ConstantReader.anyValue
.LibraryReader.classElements
.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.
This PR was generated by Mend Renovate. View the repository job log.