Update Dart (pub) non-major updates - #172
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
from
June 1, 2026 18:45
b332530 to
dabb37c
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
2 times, most recently
from
June 12, 2026 00:15
1e290e8 to
81d3e9d
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
2 times, most recently
from
June 25, 2026 02:01
af66316 to
47166c0
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
2 times, most recently
from
July 9, 2026 21:02
c165975 to
74711a6
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
2 times, most recently
from
July 24, 2026 00:43
a208f2d to
4540248
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
from
July 28, 2026 19:17
4540248 to
0fe3750
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
4 times, most recently
from
August 12, 2026 21:32
1b48ec4 to
2049486
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
2 times, most recently
from
August 20, 2026 01:46
15df255 to
76bd9aa
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
3 times, most recently
from
September 3, 2026 03:45
6ec2b4b to
3977f36
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
3 times, most recently
from
September 15, 2026 10:59
3c59ef5 to
a26db28
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
from
September 18, 2026 21:43
a26db28 to
56106e0
Compare
renovate
Bot
force-pushed
the
renovate/dart-(pub)-non-major-updates
branch
from
September 25, 2026 03:56
56106e0 to
8220618
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
3.12.0→3.13.40.3.1→0.3.23.44.0→3.47.52.12.0→2.13.09.25.1→9.26.011.0.1→11.1.03.1.3→3.1.4Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dart-lang/sdk (dart)
v3.13.4Compare Source
v3.13.3Compare Source
Released on: 2026-09-01
This is a patch release that:
produced incorrect executables if the applicatios used
build hooks to link native code. (issue #63953)
v3.13.2Compare Source
Released on: 2026-08-25
This is a patch release that:
the class was determined to be not allocatable. (issue #63809)
nested constants in
record_use. (issue #64070)dart formatcrash and incorrect formatting withenums that use primary constructors.
(issues dart-lang/dart_style#1885, dart-lang/dart_style#1888)
v3.13.1Compare Source
Released on: 2026-08-18
This is a patch release that:
dart fix --apply --code=migrate_design_widgetstoreplace URIs in both import and export statements. (issue #63968)
(issue #63904)
Typeimplementations exist.(issue #63843)
target a getter implementation that was inferred to never return.
mixed "required"-ness. (issue #60583)
closure.hashCodesometimes returningnull. (issue #64035)v3.13.0Compare Source
Released on: 2026-08-12
Language
Dart 3.13 adds primary constructors to the language.
To use this feature, set your package's [SDK constraint][language version] lower
bound to 3.13 or greater (
sdk: '^3.13.0').Primary constructors
The primary constructors feature is a brevity feature. There are no new
semantics, but it lets you express declarations in a less verbose way.
This feature lets you specify one constructor and a set of instance variables
in the header of a declaration.
Currently, you write a declaration with a constructor and some fields as:
Now you can write:
If a primary constructor needs an initializer list, a body, or both,
you can specify them inside the class using the
thisbody syntax:As part of this feature, you can also use the
newandfactorykeywords todeclare constructors in the class body without repeating the class name:
To learn more about the feature, check out the
feature specification.
Other changes
finalorvaron non-declaringparameters. Dart now reserves both for
declaring parameters in primary constructors.
Remove
finalorvarfrom affected parameter declarations. If you stillwant to prevent parameter reassignment, you can use the
parameter_assignmentslint rule.unsound behavior. See SDK issue #62889 for details.
Libraries
dart:asyncFuture.pauseas an alternative toFuture.delayedwith no callback.dart:coreList.unmodifiableOfwith better typing thanList.unmodifiable.Map.unmodifiableOfwith better typing thanMap.unmodifiable.intfor efficient bit-counting:trailingZeroBitCount(ctz) andoneBitCount(popcount). On nativeplatforms they operate on the full 64-bit two's-complement
representation; on the web they operate on the least-significant 32 bits.
For more details, see SDK issue #52673.
dart:ioThe cookie-date parser now uses the correct algorithm again.
A change to the parsing made it only accept the formats that
cookie dates should have, but the RFC specifies a very
permissive algorithm for what should be accepted.
Behavioral change: File access and modification timestamps
(
File.lastModified,FileStat,lastAccessed,lastModified,setLastAccessed,setLastModified) now preserve microsecond precisioninstead of truncating or rounding to millisecond accuracy. See SDK issue
#42444.
Breaking change:
Added
InterfaceAddress, a subtype ofInternetAddressthat exposes aprefixLengthfield and abroadcastgetter for network interface addresses.NetworkInterface.addressesnow returnsList<InterfaceAddress>instead of
List<InternetAddress>. Code that implementsNetworkInterfaceand overrides
addresseswill need to update the return type.For more details, see SDK issue #63216.
The
InternetAddress.lookupfunction no longer accepts invalidIPv4 addresses that are traditionally accepted by
inet_aton.dart:isolateIsolate:Isolate.runSync,Isolate.create,Isolate.shutdownSync,Isolate.pinToCurrentThread,Isolate.isPinnedToCurrentThread,Isolate.runEventLoopSync,Isolate.onEvent, andIsolate.handleEvent.dart:js_interopJSFunctionandJSExportedDartFunctionare now generic.JSExportedDartFunction<T>.toDartnow casts the original wrapped function tothe type argument
T. Calls toisA<JSExportedDartFunction<T>>now alsocheck that the wrapped function is a
T. Otherwise, this type argument ispurely descriptive and intended for increased static type safety. Importantly,
the runtime types of
JSFunctionandJSExportedDartFunctiondo not change.For more details, see SDK issue #54557.
JSObject.getPrototypeOfis added.Tools
Analyzer
textDocument/inlineValue), allowingIDEs and debuggers to render inline variable evaluations during active
debugging sessions.
dart/textDocument/getFlutterWidgetPreviewsand
dart/workspace/getFlutterWidgetPreviews) to serve Flutter WidgetPreview metadata to editor clients.
dart/connectToDtdenabling language serverclients to pair the Analysis Server with the Dart Tooling Daemon (DTD).
no_raw_typeslint rule is introduced, which replaces thestrict-raw-typesanalysis option, offering a more consistent approach.no_dynamic_castslint rule is introduced, which replaces thestrict-castsanalysis option, offering a more consistent approach.deprecated:
avoid_private_typedef_functions, andone_member_abstracts.If there is desire to keep using these, they can be re-implemented with
analyzer plugins.
Linter
async_return_with_no_await: Warns onasyncfunctions returning anon-Future value without using
await.empty_container_bodies: Highlights empty bodies in classes, enums,mixins, or extensions.
initialize_in_field_declaration: Recommends initializing fields at theirdeclaration site where applicable.
unnecessary_const_in_enum_constructor: Flags redundantconstkeywordsin enum constructors.
unnecessary_primary_constructor_body: Flags unnecessary or empty bodieson primary constructors.
unnecessary_type_name_in_constructor: Flags redundant explicit typenames in constructor declarations.
use_declaring_parameters: Encourages declaring parameters in primaryconstructors.
use_primary_constructorsto encourageadopting primary constructor syntax when Dart 3.13 primary constructor
feature is enabled.
Formatter
dart format --version --verbose.analysis_options.yamlfile has anincludethat points toa non-existent or unreadable file (dart_style #1840).
The following minor style bug fixes are not language versioned and apply to all
formatted code:
Fix a bug in eager splitting optimization that in rare cases would lead to a
collection or argument list splitting unnecessarily (dart_style #1809).
Don't add a blank line before a comment at the end of a compilation unit or
braced body (dart_style #1644).
Format extension type representation clauses the same way primary constructor
formal parameter lists are formatted.
When trailing commas are preserved, don't insert a newline before the
;inan enum with members unless there actually is a trailing comma.
(Fix by @Barbirosha.)
The following changes only apply when formatting code at language version 3.13
or higher:
Write a trailing comma in split extension type representation clauses when
formatting code at language version 3.13 or higher (dart_style #1845).
Fix a bug in an eager splitting optimization that would led the formatter to
prefer less desirable solutions (dart_style #1847).
Prefer to split call chains for single-element targets (dart_style #1732).
Allow block formatting parameter lists (dart_style #1693).
Allow
as,is, andis!expressions to be block formatted(dart_style #1542).
Separate imports into sections (dart_style #1120).
In if-case pieces, split the guard if the pattern block-splits
(dart_style #1596).
When no solution fits the page width, prefer solutions where the overflowing
lines have trailing string literals or comments (dart_style #1802,
dart_style #1803, dart_style #1837).
Force blank lines around a mixin or extension type declaration if it doesn't
have a
;body.Pub
dart pub workspace listcommand to list all packages in theworkspace along with their directory paths, with support for JSON output via
--json.dart pub check-resolution-up-to-dateinternal command for fasttimestamp-based package resolution validation without contacting remote
servers.
dart pub cache preloadcommand for installing packages intoPUB_CACHEdirectly from.tar.gzarchives.Dart CLI
dart build clicommand via the--target-osand--target-archflags.dart buildanddart compilenow support using locally-built targetbinaries from a local SDK build directory (identifiable by the presence of a
build.ninjafile), avoiding the need to download them from Google CloudStorage.
Dart Runtime
found are no longer included. The existing
--root-certs-fileand--root-certs-cacheoptions to the standalone VM may be used to providecertificates if the system certificates cannot be found.
C Embedder API
Dart_FileModifiedCallbackinruntime/include/dart_tools_api.hto passint64_t sincein microsecondssince epoch (matching
FileStatmicrosecond precision), updated frommilliseconds.
Dart_SetCurrentThreadOwnsIsolateandDart_GetCurrentThreadOwnsIsolatefunctions inruntime/include/dart_api.h(and
dart_api_dl.h), allowing custom embedders to bind and query isolatethread ownership.
v3.12.2Compare Source
Released on: 2026-06-09
This is a patch release that:
dart formatif ananalysis_options.yamlfile has aninclude that points to a non-existent file (issue #1840).
v3.12.1Compare Source
Released on: 2026-05-26
This is a patch release that:
ThreadLocalwhich manifests as some static fields indart:*libraries being reset across suspension points, e.g.
print()bypassesan override specified by the current
Zoneafter suspension.(issue #63408)
dart analyzecrash on Windows ARM64, where analysis servercrashes on shutdown trying to delete perf_witness control socket.
(issue #63343)
Tougee/ed25519 (ed25519_edwards)
v0.3.2Compare Source
flutter/flutter (flutter)
v3.47.5Compare Source
v3.47.4Compare Source
v3.47.3Compare Source
v3.47.2Compare Source
DartDevelopmentServiceExceptiongracefully instead of crashing.libpngto fix security vulnerability.analysis_options.yamlcontains flow-styleexclude:sequences,AnalysisOptionsMigrationconverts the node to block style before appending to avoidYamlEditorassertion crashes.lastCompiledtimestamp to whole seconds inProjectFileInvalidatorso rapid consecutive file modifications within the same second are not silently ignored by hot reload.--build-nameand--build-numberflags to the desktop build pipeline so generatedversion.jsonreflects command-line build version parameters.StateError: Bad state: Future already completed in Symbolizerduring stack symbolization.HttpExceptionduring VM service connection retries and ensure typed exceptions are passed to error completers.v3.47.1Compare Source
FileSystemException.flutter pub getin a Dart workspace, platform tooling regeneration and analysis options migration are skipped for packages that do not depend on Flutter.PathNotFoundExceptionwhen cleaning up native assets if files are removed concurrently.WebEntrypointTargetand regenerateweb_plugin_registrant.dartwhen web plugins are added or removed.lib/.AnalysisOptionsMigrationto prevent redundant rewrites ofanalysis_options.yaml.GeneratedPluginRegistrant.impellerccrash on Windows when paths contain Unicode characters, and improve shader compiler error diagnostics.v3.47.0Compare Source
v3.44.9Compare Source
v3.44.8Compare Source
v3.44.7Compare Source
v3.44.6Compare Source
CMakeCache.txt.v3.44.5Compare Source
v3.44.4Compare Source
3.44.3
3.44.2
SystemUiModeto edge-to-edge, the system bars unexpectedly remain invisible.3.44.1
fluttertool can crash instead of outputting a descriptive error message.fluttertool can crash instead of outputting a descriptive error message.3.44.0
Learn about what's new in this release in the blog post, and check out the CHANGELOG for a detailed list of all the new changes.
v3.44.3Compare Source
v3.44.2Compare Source
SystemUiModeto edge-to-edge, the system bars unexpectedly remain invisible.v3.44.1Compare Source
fluttertool can crash instead of outputting a descriptive error message.fluttertool can crash instead of outputting a descriptive error message.fzyzcjy/flutter_rust_bridge (flutter_rust_bridge)
v2.13.0Compare Source
Result#3242 (thanks @dbsxdbsx)StreamSinkmessage ordering #3233ObjectIdtoMoiObjectIdinfrb_generated_moi_arc_def!#3106 (thanks @ganeshrvel)SpinlockLabs/github.dart (github)
v9.26.0Compare Source
adil192/golden_screenshot (golden_screenshot)
v11.1.0Backports from 12.1.0 for those who can't move to
material_uiyet:Bumped the minimum Flutter version to 3.47.0.
Reduced the default
allowedDiffPercentfrom 10% to 1% (fixes #11)Better golden image comparison algorithm:
Flutter previously counted the number of pixels that changed,
even if they only changed a little bit.
We now take the root mean square error of each pixel,
so small per-pixel rendering differences count less than larger changes.
If you provide your own
allowedDiffPercent,you can probably reduce it now due to the new and more accurate metric.
Reduced noise when updating goldens:
Running
flutter test --update-goldenswill only update goldens that exceed theallowedDiffPercent(default 1%).This means you have to commit new goldens less often, and improves portability across different development platforms.
dart-lang/tools (yaml)
v3.1.4Compare Source
-prefix. When recovering, providea more helpful error message suggesting the missing prefix.
EOFwere not given an implicitnewline.
?,:, and-).FormatExceptionwhen parsing self-referential collections instead ofa
StackOverflow. Yaml definitions with collections nested within themselvesare unsupported.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.