dart:async
StreamController
added getters for onListen
, onPause
, and onResume
with the corresponding new typedef void ControllerCallback()
.StreamController
added a getter for onCancel
with the corresponding new typedef ControllerCancelCallback()
;StreamTransformer
instances created with fromHandlers
with no handleError
callback now forward stack traces along with errors to the resulting streams.dart:convert
Base64Codec
, Base64Encoder
, and Base64Decoder
.const Base64Codec BASE64
.dart:core
Uri
added removeFragment
method.String.allMatches
(implementing Pattern.allMatches
) is now lazy, as all allMatches
implementations are intended to be.Resource
is deprecated, and will be removed in a future release.dart:developer
Timeline
class for interacting with Observatory's timeline feature.ServiceExtensionHandler
, ServiceExtensionResponse
, and registerExtension
which enable developers to provide their own VM service protocol extensions.dart:html
, dart:indexed_db
, dart:svg
, dart:web_audio
, dart:web_gl
, dart:web_sql
double
to num
. Dartium is now using JS interop for most operations. JS does not distinguish between numeric types, and will return a number as an int if it fits in an int. This will mostly cause an error if you assign to something typed double
in checked mode. You may need to insert a toDouble()
call or accept num
. Examples of APIs that are affected include Element.getBoundingClientRect
and TextMetrics.width
.dart:io
Breaking: Secure networking has changed, replacing the NSS library with the BoringSSL library. SecureSocket
,SecureServerSocket
, RawSecureSocket
,RawSecureServerSocket
, HttpClient
, and HttpServer
now all use aSecurityContext
object which contains the certificates and keys used for secure TLS (SSL) networking.
This is a breaking change for server applications and for some client applications. Certificates and keys are loaded into the SecurityContext
from PEM files, instead of from an NSS certificate database. Information about how to change applications that use secure networking is at https://www.dartlang.org/server/tls-ssl.html
HttpClient
no longer sends URI fragments in the request. This is not allowed by the HTTP protocol. The HttpServer
still gracefully receives fragments, but discards them before delivering the request.
shared
argument to true
when creating server socket and HttpServer
instances.ServerSocketReference
and RawServerSocketReference
classes have been removed.reference
properties on ServerSocket
and RawServerSocket
have been removed.dart:isolate
spawnUri
added an environment
named argument.dart2js
and Dartium now support improved Javascript Interoperability via the js package.
docgen
and dartdocgen
no longer ship in the SDK. The docgen
sources have been removed from the repository.
This is the last release to ship the VM's "legacy debug protocol". We intend to remove the legacy debug protocol in Dart VM 1.14.
The VM's Service Protocol has been updated to version 3.0 to take care of a number of issues uncovered by the first few non-observatory clients. This is a potentially breaking change for clients.
Dartium has been substantially changed. Rather than using C++ calls into Chromium internals for DOM operations it now uses JS interop. The DOM objects in dart:html
and related libraries now wrap a JavaScript object and delegate operations to it. This should be mostly transparent to users. However, performance and memory characteristics may be different from previous versions. There may be some changes in which DOM objects are wrapped as Dart objects. For example, if you get a reference to a Window object, even through JS interop, you will always see it as a Dart Window, even when used cross-frame. We expect the change to using JS interop will make it much simpler to update to new Chrome versions.
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
That's great to see cross frame references are now fixed.
--
Uncaught Unhandled exception:
: created constructor initializer must call super.created()
#0 HtmlDocument._hasCreatedConstructor (dart:html:20388)
#1 HtmlDocument.registerElement (dart:html:20484)
#2 PolymerDeclaration.registerType (package:polymer/src/declaration.dart:180:14)
#3 PolymerDeclaration.register (package:polymer/src/declaration.dart:123:5)
#4 _hookJsPolymer.registerDart.<anonymous closure> (package:polymer/src/loader.dart:122:67)
#5 _RootZone.run (dart:async/zone.dart:1144)
#6 _hookJsPolymer.registerDart (package:polymer/src/loader.dart:121:19) (:1)
superCreatedCalled = createdSource.contains("super.created(");
This seems to search for the exact string "super.created(" which then fails if there is any whitespace before the bracket character. If I remove the whitespace in the super.created call in the custom element in question, I no longer get the exception.
Mark