For the latest Dart news, visit our new blog at https://medium.com/dartlang .
A new Dart Editor build is available at www.dartlang.org/editor. Ch anges include:
- New preference to disable auto-activation of code completion.
- Theme preview works with new analysis engine.
- Many performance and memory improvements with new analysis engine.
Breaking Change List:
- Existing base64 encoder method CryptoUtils.bytesToBase64(
List<int> bytes, [int lineLength]) is changed to CryptoUtils.bytesToBase64( List<int> bytes, {bool urlSafe : false, bool addLineSeparator : false}) - Remove the (long deprecated) List.addLast method.
- Stream subscriptions are now more lenient about calling methods after canceling and resuming when not paused - it's no longer an error, it just doesn't do anything.
- WebGL types have been moved out of dart:html and into dart:web_gl. All WebGL prefixes have been removed (WebGLRenderingContext is now RenderingContext).
- dart:html’s WheelEvent.deltaX and deltaY values have been inverted on all browsers except Firefox for consistency and spec conformance.
- StrinkSink.writeAll now takes an optional separator argument.
- Iterable.reduce has been renamed to Iterable.fold. Same for Stream.