Prepare to publish

Drop `-wip` suffix.
Bump upper SDK bound to silence publish warning.

PiperOrigin-RevId: 539219416
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b33d35..da207c6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 5.4.2-wip
+## 5.4.2
 
 * Require code_builder 4.5.0.
 * Add support for records.
diff --git a/lib/src/version.dart b/lib/src/version.dart
index 3a8fd65..d7b0fe5 100644
--- a/lib/src/version.dart
+++ b/lib/src/version.dart
@@ -1 +1 @@
-const packageVersion = '5.4.2-wip';
+const packageVersion = '5.4.2';
diff --git a/pubspec.yaml b/pubspec.yaml
index 1bd2fbd..578ccf2 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,12 +1,12 @@
 name: mockito
-version: 5.4.2-wip
+version: 5.4.2
 description: >-
   A mock framework inspired by Mockito with APIs for Fakes, Mocks,
   behavior verification, and stubbing.
 repository: https://github.com/dart-lang/mockito
 
 environment:
-  sdk: '>=2.19.0 <3.0.0'
+  sdk: '>=2.19.0 <4.0.0'
 
 dependencies:
   analyzer: '>=5.11.0 <6.0.0'