Dart v1.6 Release Notes

766 views
Skip to first unread message

Kevin Moore

unread,
Aug 27, 2014, 11:12:51 AM8/27/14
to anno...@dartlang.org
This is a summary of changes available in Dart 1.6

Deferred loading

The Dart VM and dart2js now have experimental support for deferred loading. There are details about deferred loading on the Dart web site.

dart: libraries

  • dart:core

    • Pattern.allMatches added optional start argument. See the announcement.

      • If you implement Pattern, you will want to update your implementation to support this change.

    • Duration learned isNegative, abs(), operator -

    • FormatException added source and offset properties

    • Uri: A number of fixes to improve consistency and help improve security. This may break existing apps and bad URIs may no longer parse. See the change announcement for details.

    • Uri instances now have a replace method, which will make easier to create a new Uri by changes only one part of an existing Uri.

  • dart:async

    • Future added a static doWhile method and improved the the way Future.forEach interacts with Zones. Commit 37750.

    • Zone added instance getter errorZone

  • dart:io

    • HttpServer now sends several security-focused HTTP headers by default. Read the announcement for more details.

    • HttpClient added an autoUncompress property to control how compressed bodies are handled.

  • dart:typed_data

    • ByteBuffer learned many “as” methods to easily created typed views over the buffer data.

Editor

  • Significant reduction in memory usage

  • Better display of collection types in the debugger

  • Improved debugger Activation view and instance variable display

  • Added a Reload button to the Pub Package Selection dialog


Reply all
Reply to author
Forward
0 new messages