[dart-announce] Dart 1.21 is now available

100 views
Skip to first unread message

'Michael Thomsen' via Dart Announcements

unread,
Dec 7, 2016, 12:22:36 PM12/7/16
to Dart Announcements

Dart SDK version 1.21 has been released.


The release announcement and the changelog have all of the details!


-----


1.21.0 - 2016-12-07

Language

  • Support generic method syntax. Type arguments are not available at runtime. For details, check the informal specification.
  • Support access to initializing formals, e.g., the use of x to initialize y in class C { var x, y; C(this.x): y = x; }. Please check the informal specification for details.
  • Don't warn about switch case fallthrough if the case ends in a rethrow statement.
  • Also don't warn if the entire switch case is wrapped in braces - as long as the block ends with a breakcontinuerethrowreturn or throw.
  • Allow = as well as : as separator for named parameter default values.

Core library changes

  • dart:coreSet.difference now takes a Set<Object> as argument.

  • dart:developer

    • Added Service class.
      • Allows inspecting and controlling the VM service protocol HTTP server.
      • Provides an API to access the ID of an Isolate.

Tool changes

  • Dart Dev Compiler

    • Support calls to loadLibrary() on deferred libraries. Deferred libraries are still loaded eagerly. (#27343)

--
For more news and information, visit https://plus.google.com/+dartlang
 
To join the conversation, visit https://groups.google.com/a/dartlang.org/
Reply all
Reply to author
Forward
0 new messages