upgrade: update dependency dart to v3.1.0 #19
Merged
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.0.6
->3.1.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
dart-lang/sdk (dart)
v3.1.0
Compare Source
Libraries
dart:async
interface
modifier to purely abstract classes:MultiStreamController
,StreamConsumer
,StreamIterator
andStreamTransformer
. As a result, these types can only be implemented,not extended or mixed in.
dart:convert
utf8.encode()
andUtf8Codec.encode()
fromList<int>
toUint8List
.dart:core
Uri.base
on native platforms now respectsIOOverrides
overridingcurrent directory (#39796).
dart:io
sameSite
to theCookie
class.SameSite
.FileSystemEvent
issealed
. This meansthat
FileSystemEvent
cannot be extended or implemented.Platform
is instantiated.Platform.lineTerminator
which exposes the character or charactersthat the operating system uses to separate lines of text, e.g.,
"\r\n"
on Windows.dart:isolate
Isolate.packageConfigSync
andIsolate.resolvePackageUriSync
APIs.dart:js_interop
ObjectLiteral
is removed fromdart:js_interop
. It's no longer needed inorder to declare an object literal constructor with inline classes. As long as
an external constructor has at least one named parameter, it'll be treated as
an object literal constructor. If you want to create an object literal with no
named members, use
{}.jsify()
.Other libraries
package:js
@staticInterop
andexternal
extension members:external
@staticInterop
members andexternal
extension members can nolonger be used as tear-offs. Declare a closure or a non-
external
method thatcalls these members, and use that instead.
@staticInterop
andexternal
extension members:external
@staticInterop
members andexternal
extension members willgenerate slightly different JS code for methods that have optional parameters.
Whereas before, the JS code passed in the default value for missing optionals,
it will now pass in only the provided members. This aligns with how JS
parameters work, where omitted parameters are actually omitted. For example,
calling
external void foo([int a, int b])
asfoo(0)
will now result infoo(0)
, and notfoo(0, null)
.v3.0.7
Compare Source
This is a patch release that:
bad codegen causing a
TypeError
orNoSuchMethodError
to be thrownat runtime (issue #53001).
Configuration
📅 Schedule: Branch creation - "before 9am" in timezone Asia/Tokyo, 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 has been generated by Mend Renovate. View repository job log here.