Skip to content

Releases: dart-lang/tools

package:unified_analytics v8.0.14

02 Apr 19:18
3e5ece0

Choose a tag to compare

  • Added HCPP related analytics to Event.commandUsageValues.

package:markdown v7.3.1

18 Mar 03:52
8f62a77

Choose a tag to compare

  • Preserve metadata passed to fenced code blocks as
    data-metadata on the created pre element.
  • Update the README link to the markdown playground
    (https://dart-lang.github.io/tools).
  • Update package:web API 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 LinkContext and BlockParser.standardBlockSyntaxes.
    Implementation members that should never have been made public.
  • Require Dart ^3.9.0.

package:unified_analytics v8.0.12

09 Mar 17:45
2f4a524

Choose a tag to compare

  • Require Dart 3.10
  • Added success indicator and label to Event.flutterTrackAndroidDependencies

package:json_rpc_2 v4.1.0

18 Feb 00:50
ab1a616

Choose a tag to compare

  • Forward errors within Peer when it is acting as a client.

package:yaml_edit v2.2.4

13 Feb 07:11
119a499

Choose a tag to compare

  • Bugfix: Removes comments associated with a node when remove is called. Preventing broken Yaml from being generated.
    • v2.2.3 and 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.4 and 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

10 Feb 19:35
6f4de57

Choose a tag to compare

  • Added Event.flutterTrackAndroidDependencies to track android dependencies.
  • Deprecated Event.flutterWasmDryRun in favor of Event.flutterWasmDryRunPackage.
  • Added Event.plugins to track new analyzer plugins
  • Added DashEvent.ideEvent to track IDE reported events.

package:source_span v1.10.2

05 Feb 09:06
e501121

Choose a tag to compare

  • Speedup of the SourceFile.fromString constructor.

package:watcher v1.2.1

08 Jan 07:29
67a0fea

Choose a tag to compare

  • Bug fix: versions before 1.2.0 would allow and ignore a trailing path
    separator passed to DirectoryWatcher or FileWatcher constructors, restore
    that behavior.
  • In paths passed to DirectoryWatcher or FileWatcher constructors, remove
    multiple adjacent separators and . and .., so they will not be returned in
    events.
  • Bug fix: on Mac, stop issuing assert(false) when a modifyDirectory event
    is ignored, so the unused events are silently ignored instead of throwing in
    debug builds.

package:code_builder v4.11.1

05 Jan 09:58
125b9a9

Choose a tag to compare

  • Convert imports of implementation libraries under package:fixnum/src/* into
    imports of package:fixnum/fixnum.dart to 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

12 Dec 08:07
db90378

Choose a tag to compare

  • 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.
  • DirectoryWatcher on Windows performance: reduce 100ms buffering of events
    before reporting to 5ms, the larger buffer isn't needed for correctness after
    the various fixes.
  • DirectoryWatcher on 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).
  • DirectoryWatcher on 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 DirectoryWatcher implementations now consistently handle
    links as files, instead of sometimes reading through them and sometimes
    reporting them as files. The polling DirectoryWatcher still 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 DirectoryWatcher on Linux
    and MacOS is no longer affected by a severe performance regression if there
    are symlink loops in the watched directory. The polling DirectoryWatcher
    is fixed to skip already-visited directories to prevent the performance issue
    while still reading through links.
  • Bug fix: with DirectoryWatcher on 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 DirectoryWatcher on Windows, a move over an existing file was
    reported incorrectly. For example, if a and b already exist, then a is
    moved onto b, it would be reported as three events: delete a, delete b,
    create b. Now it's reported as two events: delete a, modify b. This
    matches the behavior of the Linux and MacOS watchers.
  • Bug fix: with DirectoryWatcher on 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 DirectoryWatcher implementation on Windows with the MacOS
    implementation, addressing various race conditions around directory renames.
  • Bug fix: new DirectoryWatcher implementation 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 DirectoryWatcher implementation 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 FileWatcher on 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.