Release announcement: http://news.dartlang.org/2014/04/dart-13-dramatically-improves-server.html
Newsworthy changes:
Server-side performance improvements for HTTP serving
Blog post: http://blog.chromium.org/2014/04/dart-improves-async-and-server-side.html
Implementation notes: https://plus.google.com/+AndersJohnsen/posts/Ez1Nj6D8EDr
“Run as JavaScript” uses pub serve
Optimized startup of pub build and serve
Source map support in pub build and serve
SDK changes include:
dart:core
DateTime.toIso8601String
String: trimLeft, trimRight, padLeft, padRight, * operator
new Sink<T>
Iterable.generate ctor arg [generator] is now optional
dart:async
Stream.asyncMap
Stream.asyncExpand
Zone values don't have to have symbol keys
dart:io
ContentType: exposes TEXT, HTML, JSON, BINARY
Process.exitCode getter
Socket added List<int> rawAddress
Editor changes include:
Support for Angular code completion.
Improved Angular analysis and refactoring support.
Improved debugger support when connected to DevTools.
Use UTF-8 as the default charset for Dart projects.
Run as JavaScript now uses pub serve.
Multiple new Quick Fixes and Quick Assists.
Multiple code completion fixes and enhancements.
“Run as JavaScript” uses pub serve
Improved performance for:
very large individual Dart files.
projects with very large numbers of Dart files.
Added debugger preferences to:
ignore exceptions from javascript.
toggle calling toString().
Pub changes include:
Pubspec configuration to prevent a transformer from running on certain assets. (See “How to Exclude Assets” here.)
Transformers can control whether or not they consume their primary input.
Optimize startup of pub build and serve, especially in packages with many files.
Source map support in pub build and serve. This means a debug build of your package will include the Dart core library sources.
Documentation changes include:
New article: Zones
New/improved tools docs:
dart2js changes include:
Bug fixes.
Better type inference for maps.
Smaller code size when using Function.apply.
Brian,
Could you delete the .dartium directory located in your home dir, restart DartEditor and see if you can hit any breakpoints?
(Exception: Cannot read file:///C:/Users/global_lib.dart because it is outside of the build environment.)
How can i solve it? I have a global lib for all my projects and I've located in another directory.
Can you check which version of Dartium you're running? Are you using Windows?
We have seen issue where Dartium didn't get updated with the new Editor because it was running during the upgrade.
Cheers,
Kasper
--
Run as JavaScript no longer creates a Building folder. Where can I access the compiled JavaScript stuff? I need the app to run locally.Thanks.
--
Now pub build copies all my .dart files from web/ to build/web/ as well as .js files.Is there any flag to avoid that? I mean, only generate .js files into build/web/
--