File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.5.0-wip
2
+
3
+ - Redeprecate APIs that were deprecated in ` 0.4.1 ` but undeprecated in ` 0.4.2 ` .
4
+
1
5
## 0.4.2
2
6
3
- - Undeprecate some APIs and helpers library that were deprecated in 0.4.1.
7
+ - Undeprecate some APIs and helpers library that were deprecated in ` 0.4.1 ` .
4
8
Because deprecations are breaking in Flutter, they should be done in a
5
9
breaking change.
6
10
Original file line number Diff line number Diff line change 2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
- // TODO(srujzs): Deprecate in 0.5.0 instead. This results in failures in Flutter
6
- // CI.
7
- // @Deprecated('See instead package:web/web.dart.')
8
- // library;
5
+ @Deprecated ('See instead package:web/web.dart.' )
6
+ library ;
9
7
10
8
export 'web.dart' ;
Original file line number Diff line number Diff line change @@ -67,13 +67,9 @@ extension CanvasRenderingContext2DGlue on CanvasRenderingContext2D {
67
67
68
68
extension NodeGlue on Node {
69
69
set text (String s) => textContent = s;
70
- // TODO(srujzs): Deprecate in 0.5.0 instead. Deprecations are breaking for
71
- // Flutter CI.
72
- // @Deprecated('See Node.appendChild()')
70
+ @Deprecated ('See Node.appendChild()' )
73
71
Node append (Node other) => appendChild (other);
74
- // TODO(srujzs): Deprecate in 0.5.0 instead. Deprecations are breaking for
75
- // Flutter CI.
76
- // @Deprecated('See Node.cloneNode()')
72
+ @Deprecated ('See Node.cloneNode()' )
77
73
Node clone (bool ? deep) => cloneNode (deep ?? false );
78
74
}
79
75
Original file line number Diff line number Diff line change 1
1
name : web
2
- version : 0.4.2
2
+ version : 0.5.0-wip
3
3
description : Lightweight browser API bindings built around JS static interop.
4
4
repository : https://github.com/dart-lang/web
5
5
You can’t perform that action at this time.
0 commit comments