Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: CHANGELOG.md

Issue 2252803002: Changelog tweaks (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.19.0 1 ## 1.19.0
2 2
3 ### Language changes 3 ### Language changes
4 4
5 * The language now allows a trailing comma after the last argument of a call and 5 * The language now allows a trailing comma after the last argument of a call and
6 the last parameter of a function declaration. This can make long argument or 6 the last parameter of a function declaration. This can make long argument or
7 parameter lists easier to maintain, as commas can be left as-is when 7 parameter lists easier to maintain, as commas can be left as-is when
8 reordering lines. For details, see SDK issue 8 reordering lines. For details, see SDK issue
9 [26644](https://github.com/dart-lang/sdk/issues/26644). 9 [26644](https://github.com/dart-lang/sdk/issues/26644).
10 10
11 ### Core library changes 11 ### Tool Changes
12 12
13 * `dart:io` 13 * `dartfmt` - upgraded to v0.2.9
14 * `Socket.connect` with source-address argument is now non-blocking 14 * Support trailing commas in argument and parameter lists.
mit 2016/08/17 10:42:48 This seems to be a behavioural change and not just
kevmoo 2016/08/17 17:26:22 Leaving as is, per meeting discussion
15 on Mac. Was already non-blocking on all other platforms. 15 * Gracefully handle read-only files.
16 * Report a better error when a bind fails because of a bad source address. 16 * About a dozen other bug fixes.
17 * Handle HTTP header `charset` parameter with empty value. 17
18 * Pub
19 * Added the ability for packages to declare a constraint on the [Flutter][]
20 SDK:
21
22 environment:
23 flutter: ^0.1.2
24 sdk: >=1.19.0 <2.0.0
25
26 A Flutter constraint will only be satisfiable when pub is running in the
27 context of the `flutter` executable, and when the Flutter SDK version
28 matches the constraint.
29
30 * Added `sdk` as a new package source that fetches packages from a hard-coded
31 SDK. Currently only the `flutter` SDK is supported:
32
33 dependencies:
34 flutter_driver:
35 sdk: flutter
36 version: ^0.0.1
37
38 A Flutter `sdk` dependency will only be satisfiable when pub is running in
39 the context of the `flutter` executable, and when the Flutter SDK contains a
40 package with the given name whose version matches the constraint.
41
42 * `tar` files on Linux are now created with `0` as the user and group IDs.
43 This fixes a crash when publishing packages while using Active Directory.
44
45 * Fixed a bug where packages from a hosted HTTP URL were considered the same
46 as packages from an otherwise-identical HTTPS URL.
47
48 * Fixed timer formatting for timers that lasted longer than a minute.
49
50 * Eliminate some false negatives when determining whether global executables
51 are on the user's executable path.
52
53 * dart2dart (aka `dart2js --output-type=dart`) has been removed (this was
54 deprecated in Dart 1.11)
55
56 [Flutter]: https://flutter.io/
18 57
19 ### Strong Mode 58 ### Strong Mode
20 59
21 * New feature - an option to disable implicit casts 60 * New feature - an option to disable implicit casts
22 (SDK issue [26583](https://github.com/dart-lang/sdk/issues/26583)), 61 (SDK issue [26583](https://github.com/dart-lang/sdk/issues/26583)),
23 see the [documentation](https://github.com/dart-lang/dev_compiler/blob/maste r/doc/STATIC_SAFETY.md#disable-implicit-casts) 62 see the [documentation](https://github.com/dart-lang/dev_compiler/blob/maste r/doc/STATIC_SAFETY.md#disable-implicit-casts)
24 for usage instructions and examples. 63 for usage instructions and examples.
25 64
26 * New feature - an option to disable implicit dynamic 65 * New feature - an option to disable implicit dynamic
27 (SDK issue [25573](https://github.com/dart-lang/sdk/issues/25573)), 66 (SDK issue [25573](https://github.com/dart-lang/sdk/issues/25573)),
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 ```dart 121 ```dart
83 void test() async { 122 void test() async {
84 List<int> x = await [4]; // was previously inferred 123 List<int> x = await [4]; // was previously inferred
85 List<int> y = await new Future.value([4]); // now inferred too 124 List<int> y = await new Future.value([4]); // now inferred too
86 } 125 }
87 ``` 126 ```
88 127
89 * Breaking change - sideways casts are no longer allowed 128 * Breaking change - sideways casts are no longer allowed
90 (SDK issue [26120](https://github.com/dart-lang/sdk/issues/26120)). 129 (SDK issue [26120](https://github.com/dart-lang/sdk/issues/26120)).
91 130
92 ### Dart VM
93
94 * The dependency on BoringSSL has been rolled forward. Going forward, builds
mit 2016/08/17 10:42:48 We did not revert the dependency on C++11, we just
Bill Hesse 2016/08/17 11:32:47 Other way around, we got a new OS without getting
kevmoo 2016/08/17 17:26:22 Done.
95 of the Dart VM including secure sockets will require a compiler with C++11
96 support, and to link against glibc 2.16 or newer. For details, see the
97 [Building wiki page](https://github.com/dart-lang/sdk/wiki/Building).
98
99 ### Tool Changes
100
101 * `dartfmt` - upgraded to v0.2.9
102 * Support trailing commas in argument and parameter lists.
103 * Gracefully handle read-only files.
104 * About a dozen other bug fixes.
105
106 * Pub
107 * Added the ability for packages to declare a constraint on the [Flutter][]
108 SDK:
109
110 environment:
111 flutter: ^0.1.2
112 sdk: >=1.19.0 <2.0.0
113
114 A Flutter constraint will only be satisfiable when pub is running in the
115 context of the `flutter` executable, and when the Flutter SDK version
116 matches the constraint.
117
118 * Added `sdk` as a new package source that fetches packages from a hard-coded
119 SDK. Currently only the `flutter` SDK is supported:
120
121 dependencies:
122 flutter_driver:
123 sdk: flutter
124 version: ^0.0.1
125
126 A Flutter `sdk` dependency will only be satisfiable when pub is running in
127 the context of the `flutter` executable, and when the Flutter SDK contains a
128 package with the given name whose version matches the constraint.
129
130 * `tar` files on Linux are now created with `0` as the user and group IDs.
131 This fixes a crash when publishing packages while using Active Directory.
132
133 * Fixed a bug where packages from a hosted HTTP URL were considered the same
134 as packages from an otherwise-identical HTTPS URL.
135
136 * Fixed timer formatting for timers that lasted longer than a minute.
137
138 * Eliminate some false negatives when determining whether global executables
139 are on the user's executable path.
140
141 * dart2dart (aka `dart2js --output-type=dart`) has been removed (this was
142 deprecated in Dart 1.11)
143
144 [Flutter]: https://flutter.io/
145
146 ## 1.18.1 - 2016-08-02 131 ## 1.18.1 - 2016-08-02
147 132
148 Patch release, resolves two issues and improves performance: 133 Patch release, resolves two issues and improves performance:
149 134
150 * Debugger: Fixes a bug that crashes the VM 135 * Debugger: Fixes a bug that crashes the VM
151 (SDK issue [26941](https://github.com/dart-lang/sdk/issues/26941)) 136 (SDK issue [26941](https://github.com/dart-lang/sdk/issues/26941))
152 137
153 * VM: Fixes an optimizer bug involving closures, try, and await 138 * VM: Fixes an optimizer bug involving closures, try, and await
154 (SDK issue [26948](https://github.com/dart-lang/sdk/issues/26948)) 139 (SDK issue [26948](https://github.com/dart-lang/sdk/issues/26948))
155 140
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 they will keep the Dart process alive until they time out. This fixes the 1177 they will keep the Dart process alive until they time out. This fixes the
1193 handling of persistent connections. Previously, the client would shut down 1178 handling of persistent connections. Previously, the client would shut down
1194 immediately after a request. 1179 immediately after a request.
1195 1180
1196 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1181 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1197 default. The new `autoCompress` property can be set to `true` to re-enable 1182 default. The new `autoCompress` property can be set to `true` to re-enable
1198 compression. 1183 compression.
1199 1184
1200 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1185 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1201 which controls how it resolves `package:` URIs. 1186 which controls how it resolves `package:` URIs.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698