[dart-announce] Dart 1.9.1 Release Notes

453 views
Skip to first unread message

Kevin Moore

unread,
Mar 26, 2015, 5:40:50 PM3/26/15
to anno...@dartlang.org

Language changes

  • Support for async, await, sync *, async* yield, yield*, await for – learn more here

  • enum is fully enabled – read about it on the language tour under Enumerated Types

Tool changes

  • Improved formatter

  • Analysis Server integration into IntelliJ plugin and Dart Editor

  • Improved code analysis

    • Runs out of process in IDEs, so interaction remains smooth, even for large projects

    • More and better hints, including unused variables and unused private members

Core library changes

Highlights

  • New model for shared server sockets – no need for Socket reference, implemented on all platforms

  • New, much faster regexp engine

  • Isolate APIs now works across VM and dart2js

Details

For more information on any of these changes, see the corresponding documentation on the Dart API site.

  • dart:async

    • Future.wait added a new named argument: cleanUp

    • new class: SynchronousStreamController

  • dart:collection

    • SplayTreeSet added a new constructor: from(Iterable)

  • dart:convert

    • Utf8Encoder.convert and Utf8Decoder.convert added optional start and end arguments

  • dart:core

    • RangeError added new static helper functions: checkNotNegative, checkValidIndex, checkValidRange, checkValueInInterval

    • int added modPow function

    • String added replaceFirstMapped and replaceRange

  • dart:io

    • New classes: FileLock and ProcessStartMode

    • File added lock, lockSync, unlock, and unlockSync.

    • HttpServer static methods bind and bindSecure added named arguments v6Only and shared.

    • Process.start added mode (ProcessStartMode) argument.

    • Process added static method killPid.

    • ServerSocket.bind, RawServerSocket.bind, SecureServerSocket.bind and RawSecureServerSocket.bind methods added new argument shared.

    • SocketReference methods and classes have been marked as deprecated.

    • Socket and RawSocket static method connect added sourceAddress argument.

    • Stdout added nonBlocking instance property

  • dart:isolate

    • Isolate added static getter current

    • Isolate APIs now works on the VM, including addOnExitListener, removeOnExitListener, setErrorsFatal, addOnErrorListener, removeOnErrorListener

    • spawnFunction now allows passing top-level and static functions as in the message argument.


--
For more news and information, visit https://plus.google.com/+dartlang
 
To join the conversation, visit https://groups.google.com/a/dartlang.org/

Kevin Moore

unread,
Mar 26, 2015, 6:49:40 PM3/26/15
to anno...@dartlang.org

Cristian Garcia

unread,
Mar 27, 2015, 12:21:04 AM3/27/15
to mi...@dartlang.org
Best news ever!!!! Been waiting for async/await in the browser. Just need the docker image with 1.9 and life will be much better :)

Rico Wind

unread,
Mar 27, 2015, 2:31:54 AM3/27/15
to General Dart Discussion, Søren Gjesse
On Fri, Mar 27, 2015 at 5:20 AM, Cristian Garcia <cgarc...@gmail.com> wrote:
Best news ever!!!! Been waiting for async/await in the browser. Just need the docker image with 1.9 and life will be much better :)
Søren pushed a new docker image yesterday with 1.9.1, if that is not working let us know

Cheers,
Rico 

--
For other discussions, see https://groups.google.com/a/dartlang.org/
 
For HOWTO questions, visit http://stackoverflow.com/tags/dart
 
To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

TM

unread,
Mar 27, 2015, 7:52:52 PM3/27/15
to mi...@dartlang.org
The dev channel is still showing 1.9.0-dev.10.13 (rev 44630).

https://www.dartlang.org/tools/download-archive/
Reply all
Reply to author
Forward
0 new messages