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

Side by Side Diff: CHANGELOG.md

Issue 2910523002: update changelog to mention pub support for dartdevc (Closed)
Patch Set: Created 3 years, 7 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.24.0 1 ## 1.24.0
2 2
3 ### Language 3 ### Language
4 * During a dynamic type check, `void` is not required to be `null` anymore. 4 * During a dynamic type check, `void` is not required to be `null` anymore.
5 In practice, this makes overriding `void` functions with non-`void` functions 5 In practice, this makes overriding `void` functions with non-`void` functions
6 safer. 6 safer.
7 * During static analysis, a function or setter declared using `=>` with return 7 * During static analysis, a function or setter declared using `=>` with return
8 type `void` now allows the returned expression to have any type. For example, 8 type `void` now allows the returned expression to have any type. For example,
9 assuming the declaration `int x;`, it is now type correct to have 9 assuming the declaration `int x;`, it is now type correct to have
10 `void f() => ++x;`. 10 `void f() => ++x;`.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 * `dart:async`, `dart:io`, `dart:core` 69 * `dart:async`, `dart:io`, `dart:core`
70 * Adding to a closed sink, including `IOSink`, is not allowed anymore. In 70 * Adding to a closed sink, including `IOSink`, is not allowed anymore. In
71 1.24, violations are only reported (on stdout or stderr), but a future 71 1.24, violations are only reported (on stdout or stderr), but a future
72 version of the Dart SDK will change this to throwing a `StateError`. 72 version of the Dart SDK will change this to throwing a `StateError`.
73 73
74 ### Dart VM 74 ### Dart VM
75 75
76 ### Tool Changes 76 ### Tool Changes
77 77
78 * Pub 78 * Pub
79 * Added support for the Dart Development Compiler. There are two ways of
80 opting in:
nweiz 2017/05/25 19:54:13 Mention which pub commands are affected.
nweiz 2017/05/25 19:54:13 Nit: it would read easier in plain text to add som
jakemac 2017/05/25 21:35:36 Done.
jakemac 2017/05/25 21:35:36 Done.
81 * Use the new `--web-compiler` flag, which supports `dartdevc`,
82 `dart2js` or `none` as options. This is the easiest way to try things
83 out without changing the default.
nweiz 2017/05/25 19:54:13 Provide some more detail here about what exact beh
jakemac 2017/05/25 21:35:36 Done.
84 * Add config to your pubspec. There is a new `web` key which supports a
85 single key called `compiler`. This is a map of string to string, where
86 the keys are modes and the values are the compiler to use in that
87 mode. For example, to default to dartdevc in debug mode you can add
88 the following to your pubspec:
89
90 ```yaml
91 web:
92 compiler:
93 debug: dartdevc
94 ```
nweiz 2017/05/25 19:54:13 It's probably best to wait to mention this until i
jakemac 2017/05/25 21:35:36 I was just going to wait to merge this until it is
79 * `pub build` will use a failing exit code if there are errors in any 95 * `pub build` will use a failing exit code if there are errors in any
80 transformer. 96 transformer.
81 * Allow publishing packages that depend on the Flutter SDK. 97 * Allow publishing packages that depend on the Flutter SDK.
82 98
83 * dartfmt 99 * dartfmt
84 * Preserve type parameters in new generic function typedef syntax. 100 * Preserve type parameters in new generic function typedef syntax.
85 * Add self-test validation to ensure formatter bugs do not cause user code 101 * Add self-test validation to ensure formatter bugs do not cause user code
86 to be lost. 102 to be lost.
87 103
88 ### Infrastructure changes 104 ### Infrastructure changes
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 they will keep the Dart process alive until they time out. This fixes the 1958 they will keep the Dart process alive until they time out. This fixes the
1943 handling of persistent connections. Previously, the client would shut down 1959 handling of persistent connections. Previously, the client would shut down
1944 immediately after a request. 1960 immediately after a request.
1945 1961
1946 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1962 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1947 default. The new `autoCompress` property can be set to `true` to re-enable 1963 default. The new `autoCompress` property can be set to `true` to re-enable
1948 compression. 1964 compression.
1949 1965
1950 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1966 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1951 which controls how it resolves `package:` URIs. 1967 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