Releases: dart-lang/tools
Releases · dart-lang/tools
package:unified_analytics v8.0.14
- Added HCPP related analytics to
Event.commandUsageValues.
package:markdown v7.3.1
- Preserve metadata passed to fenced code blocks as
data-metadataon the createdpreelement. - Update the README link to the markdown playground
(https://dart-lang.github.io/tools). - Update
package:webAPI references in the example. - Fix performance and correctness of HTML comment parser.
- Optimize indentation processing of fenced code blocks.
- Fix an issue with nested list structure when indented by tabs (#2172).
- Deprecated
LinkContextandBlockParser.standardBlockSyntaxes.
Implementation members that should never have been made public. - Require Dart
^3.9.0.
package:unified_analytics v8.0.12
- Require Dart 3.10
- Added
successindicator andlabeltoEvent.flutterTrackAndroidDependencies
package:json_rpc_2 v4.1.0
- Forward errors within
Peerwhen it is acting as a client.
package:yaml_edit v2.2.4
- Bugfix: Removes comments associated with a node when
removeis called. Preventing broken Yaml from being generated.v2.2.3and earlier.## Before edit --- key: value # These # dangling # should be # removed. # Safe next: - value # These # should be # removed. # Safe - next
# After edit: # 1. YamlEditor.remove(['key']) # 2. YamlEditor.remove(['next', 0]) --- # dangling # should be # removed. # Ignored next: # should be # removed. # Safe - next
v2.2.4and later (same string as above)# After edit: # 1. YamlEditor.remove(['key']) # 2. YamlEditor.remove(['next', 0]) --- # Ignored next: # Safe - next
package:unified_analytics v8.0.11
- Added
Event.flutterTrackAndroidDependenciesto track android dependencies. - Deprecated
Event.flutterWasmDryRunin favor ofEvent.flutterWasmDryRunPackage. - Added
Event.pluginsto track new analyzer plugins - Added
DashEvent.ideEventto track IDE reported events.
package:source_span v1.10.2
- Speedup of the
SourceFile.fromStringconstructor.
package:watcher v1.2.1
- Bug fix: versions before 1.2.0 would allow and ignore a trailing path
separator passed toDirectoryWatcherorFileWatcherconstructors, restore
that behavior. - In paths passed to
DirectoryWatcherorFileWatcherconstructors, remove
multiple adjacent separators and.and.., so they will not be returned in
events. - Bug fix: on Mac, stop issuing
assert(false)when amodifyDirectoryevent
is ignored, so the unused events are silently ignored instead of throwing in
debug builds.
package:code_builder v4.11.1
- Convert imports of implementation libraries under
package:fixnum/src/*into
imports ofpackage:fixnum/fixnum.dartto prevent issues when version 1.2.0
is released with platform-specific implementation libraries that generated
code should not import directly. This is a temporary workaround, it will be
replaced by a new way of managing imports in a future major version release.
package:watcher v1.2.0
- Polling watchers now check file sizes as well as "last modified" times, so
they are less likely to miss changes on platforms with low resolution
timestamps. DirectoryWatcheron Windows performance: reduce 100ms buffering of events
before reporting to 5ms, the larger buffer isn't needed for correctness after
the various fixes.DirectoryWatcheron Windows watches in a separate Isolate to make buffer
exhaustion, "Directory watcher closed unexpectedly", much less likely. The old
implementation which does not use a separate Isolate is available as
DirectoryWatcher(path, runInIsolateOnWindows: false).DirectoryWatcheron Windows: if buffer exhaustion does happen, emit a
"modify" event for all know files instead of an exception.- Document behavior on Linux if the system watcher limit is hit.
- Require Dart SDK
^3.4.0. - Bug fix: native
DirectoryWatcherimplementations now consistently handle
links as files, instead of sometimes reading through them and sometimes
reporting them as files. The pollingDirectoryWatcherstill reads through
links. - Bug fix: with the polling
DirectoryWatcher, fix spurious modify event
emitted because of a file delete during polling. - Bug fix: due to the link handling change, native
DirectoryWatcheron Linux
and MacOS is no longer affected by a severe performance regression if there
are symlink loops in the watched directory. The pollingDirectoryWatcher
is fixed to skip already-visited directories to prevent the performance issue
while still reading through links. - Bug fix: with
DirectoryWatcheron Windows, the last of a rapid sequence of
modifications in a newly-created directory was sometimes dropped. Make it
reliably report the last modification. - Bug fix: with
DirectoryWatcheron Windows, a move over an existing file was
reported incorrectly. For example, ifaandbalready exist, thenais
moved ontob, it would be reported as three events: deletea, deleteb,
createb. Now it's reported as two events: deletea, modifyb. This
matches the behavior of the Linux and MacOS watchers. - Bug fix: with
DirectoryWatcheron Windows, new links to directories were
sometimes incorrectly handled as actual directories. Now they are reported
as files, matching the behavior of the Linux and MacOS watchers. - Bug fix: unify
DirectoryWatcherimplementation on Windows with the MacOS
implementation, addressing various race conditions around directory renames. - Bug fix: new
DirectoryWatcherimplementation on Linux that fixes various
issues: tracking failure following subdirectory move, incorrect events when
there are changes in a recently-moved subdirectory, incorrect events due to
various situations involving subdirectory moves. - Bug fix: new
DirectoryWatcherimplementation on MacOS that fixes various
issues including duplicate events for changes in new directories, incorrect
events when close together directory renames have overlapping names. - Bug fix: with
FileWatcheron MacOS, a modify event was sometimes reported if
the file was created immediately before the watcher was created. Now, if the
file exists when the watcher is created then this modify event is not sent.
This matches the Linux native and polling (Windows) watchers.