Skip to content

Commit 04ac9f1

Browse files
Merge branch 'main' into wasm-page
2 parents 2c1f392 + 3137c33 commit 04ac9f1

File tree

26 files changed

+102
-48
lines changed

26 files changed

+102
-48
lines changed

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14
36+
uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
3737
with:
3838
languages: ${{ matrix.language }}
3939
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -44,7 +44,7 @@ jobs:
4444
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4545
# If this step fails, then you should remove it and run the build manually (see below)
4646
- name: Autobuild
47-
uses: github/codeql-action/autobuild@d39d31e687223d841ef683f52467bd88e9b21c14
47+
uses: github/codeql-action/autobuild@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
4848

4949
# ℹ️ Command-line programs to run using the OS shell.
5050
# 📚 https://git.io/JvXDl
@@ -58,4 +58,4 @@ jobs:
5858
# make release
5959

6060
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14
61+
uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61

.github/workflows/scorecards-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
persist-credentials: false
2727

2828
- name: "Run analysis"
29-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736
29+
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534
3030
with:
3131
results_file: results.sarif
3232
results_format: sarif
@@ -49,6 +49,6 @@ jobs:
4949

5050
# Upload the results to GitHub's code scanning dashboard.
5151
- name: "Upload to code-scanning"
52-
uses: github/codeql-action/upload-sarif@d39d31e687223d841ef683f52467bd88e9b21c14
52+
uses: github/codeql-action/upload-sarif@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
5353
with:
5454
sarif_file: results.sarif

examples/analysis/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dependencies:
88
examples_util: {path: ../util}
99

1010
dev_dependencies:
11-
lints: ^3.0.0
11+
lints: ^4.0.0

examples/analysis_alt/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ environment:
55
sdk: ^3.3.0
66

77
dev_dependencies:
8-
lints: ^3.0.0
8+
lints: ^4.0.0

examples/async_await/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ dependencies:
88
examples_util: {path: ../util}
99

1010
dev_dependencies:
11-
lints: ^3.0.0
11+
lints: ^4.0.0
1212
test: ^1.25.2

examples/build_runner_usage/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dev_dependencies:
88
args: ^2.4.0
99
build_runner: ^2.4.8
1010
build_test: ^2.2.2
11-
lints: ^3.0.0
11+
lints: ^4.0.0

examples/cli/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ dependencies:
88
args: ^2.4.2
99

1010
dev_dependencies:
11-
lints: ^3.0.0
11+
lints: ^4.0.0
1212
test: ^1.25.2

examples/concurrency/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ dependencies:
1010
http: any
1111

1212
dev_dependencies:
13-
lints: ^3.0.0
13+
lints: ^4.0.0
1414
test: ^1.25.2

examples/create_libraries/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ environment:
66
sdk: ^3.3.0
77

88
dev_dependencies:
9-
lints: ^3.0.0
9+
lints: ^4.0.0
1010
test: ^1.25.2

examples/extension_methods/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ environment:
66
sdk: ^3.3.0
77

88
dev_dependencies:
9-
lints: ^3.0.0
9+
lints: ^4.0.0
1010
test: ^1.25.2

examples/fetch_data/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ dependencies:
99
http: ^1.2.0
1010

1111
dev_dependencies:
12-
lints: ^3.0.0
12+
lints: ^4.0.0

examples/futures/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ dependencies:
1010
examples_util: {path: ../util}
1111

1212
dev_dependencies:
13-
lints: ^3.0.0
13+
lints: ^4.0.0
1414
test: ^1.25.2

examples/html/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ environment:
66
sdk: ^3.3.0
77

88
dev_dependencies:
9-
lints: ^3.0.0
9+
lints: ^4.0.0
1010
test: ^1.25.2
1111
examples_util: {path: ../util}

examples/iterables/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ environment:
66

77
dev_dependencies:
88
examples_util: {path: ../util}
9-
lints: ^3.0.0
9+
lints: ^4.0.0
1010
test: ^1.25.2

examples/language/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ dependencies:
88
examples_util: { path: ../util }
99

1010
dev_dependencies:
11-
lints: ^3.0.0
11+
lints: ^4.0.0
1212
test: ^1.25.2

examples/misc/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ dependencies:
1111
http: ^1.2.0
1212

1313
dev_dependencies:
14-
lints: ^3.0.0
14+
lints: ^4.0.0
1515
test: ^1.25.2

examples/non_promotion/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ environment:
66
sdk: ^3.3.0
77

88
dev_dependencies:
9-
lints: ^3.0.0
9+
lints: ^4.0.0

examples/null_safety_codelab/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ environment:
66

77
dev_dependencies:
88
examples_util: {path: ../util}
9-
lints: ^3.0.0
9+
lints: ^4.0.0
1010
test: ^1.25.2

examples/type_system/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ dependencies:
88
examples_util: {path: ../util}
99

1010
dev_dependencies:
11-
lints: ^3.0.0
11+
lints: ^4.0.0
1212
test: ^1.25.2

examples/util/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ dependencies:
99
test: ^1.25.2
1010

1111
dev_dependencies:
12-
lints: ^3.0.0
12+
lints: ^4.0.0

examples/vector_victor/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
# path: ^1.8.0
1111

1212
dev_dependencies:
13-
lints: ^3.0.0
13+
lints: ^4.0.0
1414
test: ^1.25.2
1515

1616
dependencies:

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"devDependencies": {
2525
"@11ty/eleventy": "3.0.0-alpha.10",
26-
"firebase-tools": "^13.8.0",
26+
"firebase-tools": "^13.8.2",
2727
"hast-util-from-html": "^2.0.1",
2828
"hast-util-select": "^6.0.2",
2929
"hast-util-to-text": "^4.0.2",
@@ -36,6 +36,6 @@
3636
"markdown-it-deflist": "^3.0.0",
3737
"markdown-it-table": "^4.1.1",
3838
"sass": "^1.77.0",
39-
"shiki": "^1.4.0"
39+
"shiki": "^1.5.1"
4040
}
4141
}

pnpm-lock.yaml

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ environment:
88
dev_dependencies:
99
dart_site:
1010
path: tool/dart_site
11-
lints: ^3.0.0
11+
lints: ^4.0.0

src/content/resources/breaking-changes.md

+62-8
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,60 @@ don't include the section header.
6363
#### (Dart VM, Pub, Linter, `dart2js`, etc)
6464
{% endcomment %}
6565

66-
## 3.4.0
66+
## 3.5.0
6767

6868
**Tentative**<br>
69-
The following changes are expected to be included in the 3.4.0 stable release,
69+
The following changes are expected to be included in the 3.5.0 stable release,
7070
but the final list will likely change before then.
7171
To reduce the potential impact of these changes, consider
72-
accounting for them before the 3.4.0 release.
72+
accounting for them before the 3.5.0 release.
73+
74+
### Language {:.no_toc}
75+
76+
- [The context used by the compiler to perform type inference on
77+
the operand of an `await` expression has been changed to
78+
match the behavior of the analyzer.][55418]
79+
- [The context used by the compiler to perform type inference on
80+
the right hand side of an "if-null" expression (`e1 ?? e2`) has been
81+
changed to match the behavior of the analyzer.][55436]
82+
The old behavior can be restored by supplying explicit types.
83+
84+
[55418]: {{site.repo.dart.sdk}}/issues/55418
85+
[55436]: {{site.repo.dart.sdk}}/issues/55436
86+
87+
#### `dart:typed_data`
88+
89+
- **Removed**:
90+
[The unmodifiable view classes for typed data have been removed][53128].
91+
Instead of using the constructors of these classes, use
92+
the new `asUnmodifiableView` methods on typed data lists.
93+
94+
### Runtime {:.no_toc}
95+
96+
- **Removed** The Dart VM no longer supports unsound null safety.
97+
- The `--no-sound-null-safety` CLI option has been removed.
98+
- The `Dart_NewListOf` and `Dart_IsLegacyType` functions have been removed
99+
from the C API.
100+
101+
## 3.4.0
73102

74103
### Language {:.no_toc}
75104

76-
* [The pattern context type schema for cast patterns
105+
- [The pattern context type schema for cast patterns
77106
is now `_` (the unknown type) instead of `Object?`][54640].
107+
- [The type schema used by the Dart compilers to
108+
perform type inference on the operand of a null-aware spread operator (`...?`)
109+
in map and set literals has been made nullable, to
110+
match what currently happens in list literals.][54828]
78111

79112
[54640]: {{site.repo.dart.sdk}}/issues/54640
113+
[54828]: {{site.repo.dart.sdk}}/issues/54828
80114

81115
### Libraries {:.no_toc}
82116

83117
#### `dart:cli`
84118

85-
* **Experimental** **Removed**: [The `waitFor` function][52121]
119+
- **Experimental** **Removed**: [The `waitFor` function][52121]
86120
has been removed.
87121

88122
[52121]: {{site.repo.dart.sdk}}/issues/52121
@@ -92,8 +126,10 @@ accounting for them before the 3.4.0 release.
92126
- These libraries are now marked as legacy and
93127
will see less support in the future.
94128
New projects should prefer to use [`package:web`][] and `dart:js_interop`.
129+
To learn more, check out [Migrate to package:web][].
95130

96131
[`package:web`]: {{site.pub-pkg}}/web
132+
[Migrate to package:web]: /interop/js-interop/package-web
97133

98134
#### `dart:js`
99135

@@ -111,9 +147,21 @@ accounting for them before the 3.4.0 release.
111147

112148
[`/go/next-gen-js-interop`]: {{site.redirect.go}}/next-gen-js-interop
113149

150+
#### `dart:io`
151+
152+
- [`Stdout` has a new field `lineTerminator`, which allows
153+
developers to control the line ending used by `stdout` and `stderr`.][53863]
154+
Classes that implement `Stdout` must define the `lineTerminator` field.
155+
The default semantics of `stdout` and `stderr` are not changed.
156+
- **Deprecated**: The `FileSystemDeleteEvent.isDirectory` property.
157+
It always returns `false`.
158+
159+
[53863]: {{site.repo.dart.sdk}}/issues/53863
160+
114161
#### `dart:typed_data`
115162

116-
* **Deprecated**: [The unmodifiable view classes for typed data are deprecated][53128].
163+
- **Deprecated**:
164+
[The unmodifiable view classes for typed data are deprecated][53128].
117165
Instead of using the constructors of these classes, use
118166
the new `asUnmodifiableView` methods on typed data lists.
119167

@@ -123,16 +171,22 @@ accounting for them before the 3.4.0 release.
123171

124172
#### Production JavaScript compiler (dart2js)
125173

126-
* **Experimental** **Deprecated**: You should now specify a format to
174+
- **Experimental** **Deprecated**: You should now specify a format to
127175
the `--dump-info` CLI option of either `binary` or `json`.
128176
The `json` format is deprecated and might be removed in a future Dart release.
129177

130178
#### Wasm compiler (dart2wasm)
131179

132-
* **Experimental**: Various `dart compile wasm` CLI arguments have
180+
- **Experimental**: Various `dart compile wasm` CLI arguments have
133181
been updated, removed, or replaced.
134182
To learn more, run `dart compile wasm --verbose --help`.
135183

184+
### Runtime {:.no_toc}
185+
186+
- **Removed** The Dart VM longer supports external strings.
187+
As a result, the `Dart_IsExternalString`, `Dart_NewExternalLatin1String`, and
188+
`Dart_NewExternalUTF16String` functions have been removed from the Dart C API.
189+
136190
## 3.3.0
137191

138192
### SDK {:.no_toc}

src/content/tutorials/server/cmdline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ $ dart run bin/dcat.dart -n pubspec.yaml
199199
12 # path: ^1.8.0
200200
13
201201
14 dev_dependencies:
202-
15 lints: ^3.0.0
202+
15 lints: ^4.0.0
203203
16 test: ^1.24.0
204204
```
205205

0 commit comments

Comments
 (0)