Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 ## 1.23.0 | 1 ## 1.23.0 |
| 2 | 2 |
| 3 ### Language | |
| 4 * Allow using URI strings in `part of` declarations to refer to the importing li brary. | |
|
floitsch
2017/03/01 13:03:42
long line.
| |
| 5 | |
| 3 ### Core library changes | 6 ### Core library changes |
| 4 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. | 7 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. |
| 5 Example: `uri.isScheme("http")`. Ignores case when comparing. | 8 Example: `uri.isScheme("http")`. Ignores case when comparing. |
| 6 * `dart:core`: Make `UriData.parse` validate its input better. | 9 * `dart:core`: Make `UriData.parse` validate its input better. |
| 7 If the data is base-64 encoded, the data is normalized wrt. | 10 If the data is base-64 encoded, the data is normalized wrt. |
| 8 alphabet and padding, and it contains invalid base-64 data, | 11 alphabet and padding, and it contains invalid base-64 data, |
| 9 parsing fails. Also normalizes non-base-64 data. | 12 parsing fails. Also normalizes non-base-64 data. |
| 10 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, | 13 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
| 11 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, | 14 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
| 12 and `File.setLastAccessedSync`. | 15 and `File.setLastAccessedSync`. |
| (...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1700 they will keep the Dart process alive until they time out. This fixes the | 1703 they will keep the Dart process alive until they time out. This fixes the |
| 1701 handling of persistent connections. Previously, the client would shut down | 1704 handling of persistent connections. Previously, the client would shut down |
| 1702 immediately after a request. | 1705 immediately after a request. |
| 1703 | 1706 |
| 1704 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1707 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1705 default. The new `autoCompress` property can be set to `true` to re-enable | 1708 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1706 compression. | 1709 compression. |
| 1707 | 1710 |
| 1708 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1711 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1709 which controls how it resolves `package:` URIs. | 1712 which controls how it resolves `package:` URIs. |
| OLD | NEW |