Redeprecate deprecated APIs in 0.4.1 (#142)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 771b1d0..2e3c6fc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
+## 0.5.0-wip
+
+- Redeprecate APIs that were deprecated in `0.4.1` but undeprecated in `0.4.2`.
+
## 0.4.2
-- Undeprecate some APIs and helpers library that were deprecated in 0.4.1.
+- Undeprecate some APIs and helpers library that were deprecated in `0.4.1`.
Because deprecations are breaking in Flutter, they should be done in a
breaking change.
diff --git a/lib/helpers.dart b/lib/helpers.dart
index 41463f0..fc24d4e 100644
--- a/lib/helpers.dart
+++ b/lib/helpers.dart
@@ -2,9 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// TODO(srujzs): Deprecate in 0.5.0 instead. This results in failures in Flutter
-// CI.
-// @Deprecated('See instead package:web/web.dart.')
-// library;
+@Deprecated('See instead package:web/web.dart.')
+library;
export 'web.dart';
diff --git a/lib/src/helpers/extensions.dart b/lib/src/helpers/extensions.dart
index c93d814..0135644 100644
--- a/lib/src/helpers/extensions.dart
+++ b/lib/src/helpers/extensions.dart
@@ -67,13 +67,9 @@
extension NodeGlue on Node {
set text(String s) => textContent = s;
- // TODO(srujzs): Deprecate in 0.5.0 instead. Deprecations are breaking for
- // Flutter CI.
- // @Deprecated('See Node.appendChild()')
+ @Deprecated('See Node.appendChild()')
Node append(Node other) => appendChild(other);
- // TODO(srujzs): Deprecate in 0.5.0 instead. Deprecations are breaking for
- // Flutter CI.
- // @Deprecated('See Node.cloneNode()')
+ @Deprecated('See Node.cloneNode()')
Node clone(bool? deep) => cloneNode(deep ?? false);
}
diff --git a/pubspec.yaml b/pubspec.yaml
index e45a433..6b31762 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: web
-version: 0.4.2
+version: 0.5.0-wip
description: Lightweight browser API bindings built around JS static interop.
repository: https://github.com/dart-lang/web