Sourced from meta's changelog.
1.14.0 - 2016-01-28
Core library changes
dart:async
- Added
Future.any
static method.- Added
Stream.fromFutures
constructor.
dart:convert
Base64Decoder.convert
now takes optionalstart
andend
parameters.
dart:core
- Added
current
getter toStackTrace
class.Uri
class added support for data URIs
- Added two new constructors:
dataFromBytes
anddataFromString
.- Added a
data
getter fordata:
URIs with a newUriData
class for the return type.- Added
growable
parameter toList.filled
constructor.- Added microsecond support to
DateTime
:DateTime.microsecond
,DateTime.microsecondsSinceEpoch
, andnew DateTime.fromMicrosecondsSinceEpoch
.
dart:math
Random
added asecure
constructor returning a cryptographically secure random generator which reads from the entropy source provided by the embedder for every generated random value.
dart:io
Platform
added a staticisIOS
getter andPlatform.operatingSystem
may now returnios
.Platform
added a staticpackageConfig
getter.- Added support for WebSocket compression as standardized in RFC 7692.
- Compression is enabled by default for all WebSocket connections.
- The optionally named parameter
compression
on the methodsWebSocket.connect
,WebSocket.fromUpgradedSocket
, andWebSocketTransformer.upgrade
and theWebSocketTransformer
constructor can be used to modify or disable compression using the newCompressionOptions
class.
dart:isolate
- Added experimental support for [Package Resolution Configuration].
- Added
packageConfig
andpackageRoot
instance getters toIsolate
.- Added a
resolvePackageUri
method toIsolate
.- Added named arguments
packageConfig
andautomaticPackageResolution
to theIsolate.spawnUri
constructor.
... (truncated)
ea5195f
Fix newline normalization in _PhysicalFile.readAsStringSync().a3cf74f
dart2js cps: Copy allocation site type when cloning.351ccc5
fix generic function expressions, part of #25175666964b
dart2js cps: specialize isEmpty and isNotEmpty0549def
checking and inference of null coalescing operator, fixes #24564 and fixes #2...c85916d
dart2js cps: Hoist unsafe expressions from loop entry.e6cc028
dart2js cps: Preserve parameter hints during eta and beta reductions.5815e34
Test for LibraryElement.hasExtUri resynth.b24cb84
Cache DirectoryBasedDartSdk sources.85a7aff
Record information about parts of dependent libraries in summaries.