Add the docs.dart.js.map file to published package (#3042)

diff --git a/.pubignore b/.pubignore
index 9368c01..983f7b8 100644
--- a/.pubignore
+++ b/.pubignore
@@ -20,4 +20,3 @@
 *.ipr
 *.iws
 *.js.deps
-*.js.map
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a191e33..6b273f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
+## 5.1.2
+* Include `lib/resources/docs.dart.js.map`
+* Reintroduce query param search. (#3026)
+
 ## 5.1.1
 * Include `lib/resources/docs.dart.js`
+* Optimize compiled Dart web code with `-04`. (#3028)
 
 ## 5.1.0
 * Support new enhanced enums feature.
diff --git a/dartdoc_options.yaml b/dartdoc_options.yaml
index b6629c8..d88cfe8 100644
--- a/dartdoc_options.yaml
+++ b/dartdoc_options.yaml
@@ -1,4 +1,4 @@
 dartdoc:
   linkToSource:
     root: '.'
-    uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v5.1.1/%f%#L%l%'
+    uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v5.1.2/%f%#L%l%'
diff --git a/lib/src/version.dart b/lib/src/version.dart
index ce31d7c..ec4275d 100644
--- a/lib/src/version.dart
+++ b/lib/src/version.dart
@@ -1,2 +1,2 @@
 // Generated code. Do not modify.
-const packageVersion = '5.1.1';
+const packageVersion = '5.1.2';
diff --git a/pubspec.yaml b/pubspec.yaml
index 822ce87..b1f2c8f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
 name: dartdoc
 # Run `dart run grinder build` after updating.
-version: 5.1.1
+version: 5.1.2
 description: A non-interactive HTML documentation generator for Dart source code.
 repository: https://github.com/dart-lang/dartdoc