@easyops-cn/docusaurus-search-local 0.52.1 → 0.52.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.52.2](https://github.com/easyops-cn/docusaurus-search-local/compare/v0.52.1...v0.52.2) (2025-12-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * wrap SearchBar with DocsPreferredVersionContextProvider for Docusaurus 3.9+ compatibility ([5aedc2e](https://github.com/easyops-cn/docusaurus-search-local/commit/5aedc2e7c4f2672d90d793d1a13e75bb5386e15b))
11
+ * wrap SearchBar with DocsPreferredVersionContextProvider for Docusaurus 3.9+ compatibility ([1b4f011](https://github.com/easyops-cn/docusaurus-search-local/commit/1b4f01139be07ba7cfa502db01aef61dd5e97929))
12
+
5
13
  ## [0.52.1](https://github.com/easyops-cn/docusaurus-search-local/compare/v0.52.0...v0.52.1) (2025-07-22)
6
14
 
7
15
 
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import "../../utils/proxiedGenerated";
3
+ import SearchBar from "./SearchBar";
4
+ import { DocsPreferredVersionContextProvider } from "@docusaurus/plugin-content-docs/client";
5
+ export default function SearchBarWrapper(props) {
6
+ return (<DocsPreferredVersionContextProvider>
7
+ <SearchBar {...props}/>
8
+ </DocsPreferredVersionContextProvider>);
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyops-cn/docusaurus-search-local",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "description": "An offline/local search plugin for Docusaurus v3",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +0,0 @@
1
- import "../../utils/proxiedGenerated";
2
- import SearchBar from "./SearchBar";
3
- export default SearchBar;