Skip to content

Commit

Permalink
chore: release v3.0.0 (#1311)
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
instantsearch-bot and shortcuts authored Feb 22, 2022
1 parent 59a3ebf commit 6c14758
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 50 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# [3.0.0](https://github.com/algolia/docsearch/compare/v3.0.0-alpha.50...v3.0.0) (2022-02-22)

### Breaking Change

- **v3:** require appId ([#1299](https://github.com/algolia/docsearch/issues/1299)) ([80630cb](https://github.com/algolia/docsearch/commit/80630cb36dcfe486eff4f7b859deef5431775045))

### Bug Fixes

- **footer:** make SVG accessible ([#1306](https://github.com/algolia/docsearch/issues/1306)) ([59a3ebf](https://github.com/algolia/docsearch/commit/59a3ebf5ecfca951da5139faa08812d450fab1e0))

# [3.0.0-alpha.50](https://github.com/algolia/docsearch/compare/v3.0.0-alpha.42...v3.0.0-alpha.50) (2022-02-03)

### Bug Fixes
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ DocSearch crawls your documentation, pushes the content to an Algolia index and
#### Installation

```sh
yarn add @docsearch/js@alpha
yarn add @docsearch/js@3
# or
npm install @docsearch/js@alpha
npm install @docsearch/js@3
```

If you don’t want to use a package manager, you can use a standalone endpoint:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
```

#### Get started
Expand Down Expand Up @@ -78,15 +78,15 @@ docsearch({
#### Installation

```bash
yarn add @docsearch/react@alpha
yarn add @docsearch/react@3
# or
npm install @docsearch/react@alpha
npm install @docsearch/react@3
```

If you don’t want to use a package manager, you can use a standalone endpoint:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@3"></script>
```

#### Get started
Expand Down
6 changes: 3 additions & 3 deletions examples/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@docsearch/react-example",
"description": "DocSearch v3 React example",
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@docsearch/css": "3.0.0-alpha.50",
"@docsearch/react": "3.0.0-alpha.50",
"@docsearch/css": "3.0.0",
"@docsearch/react": "3.0.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/js-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@docsearch/js-example",
"description": "DocSearch v3 Vanilla JavaScript example",
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@docsearch/css": "3.0.0-alpha.50",
"@docsearch/js": "3.0.0-alpha.50"
"@docsearch/css": "3.0.0",
"@docsearch/js": "3.0.0"
},
"devDependencies": {
"parcel": "2.0.0-beta.2"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": ["packages/*", "examples/*"],
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"npmClient": "yarn",
"useWorkspaces": true
}
6 changes: 3 additions & 3 deletions packages/docsearch-css/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Style package for [DocSearch](http://docsearch.algolia.com/), the best search ex
## Installation

```bash
yarn add @docsearch/css@alpha
yarn add @docsearch/css@3
# or
npm install @docsearch/css@alpha
npm install @docsearch/css@3
```

If you don’t want to use a package manager, you can use a standalone endpoint:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/css@3"></script>
```

## Get started
Expand Down
2 changes: 1 addition & 1 deletion packages/docsearch-css/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/css",
"description": "Styles for DocSearch.",
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": "algolia/docsearch",
Expand Down
6 changes: 3 additions & 3 deletions packages/docsearch-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ JavaScript package for [DocSearch](http://docsearch.algolia.com/), the best sear
## Installation

```sh
yarn add @docsearch/js@alpha
yarn add @docsearch/js@3
# or
npm install @docsearch/js@alpha
npm install @docsearch/js@3
```

## Get started

If you don’t want to use a package manager, you can use a standalone endpoint:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
```

To get started, you need a [`container`](https://docsearch.algolia.com/docs/api#container) for your DocSearch component to go in. If you don’t have one already, you can insert one into your markup:
Expand Down
4 changes: 2 additions & 2 deletions packages/docsearch-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/js",
"description": "JavaScript package for DocSearch, the best search experience for docs.",
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": "algolia/docsearch",
Expand Down Expand Up @@ -31,7 +31,7 @@
"watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
},
"dependencies": {
"@docsearch/react": "3.0.0-alpha.50",
"@docsearch/react": "3.0.0",
"preact": "^10.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/docsearch-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ React package for [DocSearch](http://docsearch.algolia.com/), the best search ex
## Installation

```bash
yarn add @docsearch/react@alpha
yarn add @docsearch/react@3
# or
npm install @docsearch/react@alpha
npm install @docsearch/react@3
```

If you don’t want to use a package manager, you can use a standalone endpoint:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@3"></script>
```

## Get started
Expand Down
4 changes: 2 additions & 2 deletions packages/docsearch-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/react",
"description": "React package for DocSearch, the best search experience for docs.",
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": "algolia/docsearch",
Expand Down Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@algolia/autocomplete-core": "1.5.2",
"@algolia/autocomplete-preset-algolia": "1.5.2",
"@docsearch/css": "3.0.0-alpha.50",
"@docsearch/css": "3.0.0",
"algoliasearch": "^4.0.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docsearch-react/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '3.0.0-alpha.50';
export const version = '3.0.0';
22 changes: 8 additions & 14 deletions packages/website/docs/DocSearch-v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,52 +38,46 @@ DocSearch packages are available on the [npm][10] registry.
<TabItem value="js">

```bash
yarn add @docsearch/js@alpha
yarn add @docsearch/js@3
# or
npm install @docsearch/js@alpha
npm install @docsearch/js@3
```

### Without package manager

If you don't want to use a package manger, you can add the CSS to the `<head>` of your website:

```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha"
/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
```

And the JavaScript at the end of your `<body>`:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
```

</TabItem>
<TabItem value="react">

```bash
yarn add @docsearch/react@alpha
yarn add @docsearch/react@3
# or
npm install @docsearch/react@alpha
npm install @docsearch/react@3
```

### Without package manager

If you don't want to use a package manger, you can add the CSS to the `<head>` of your website:

```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha"
/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
```

And the JavaScript at the end of your `<body>`:

```html
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@alpha"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@3"></script>
```

</TabItem>
Expand Down
9 changes: 3 additions & 6 deletions packages/website/docs/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,15 @@ This package is a dependency of [`@docsearch/js`][1] and [`@docsearch/react`][1]
## Installation

```bash
yarn add @docsearch/css@alpha
yarn add @docsearch/css@3
# or
npm install @docsearch/css@alpha
npm install @docsearch/css@3
```

If you don’t want to use a package manager, you can use a standalone endpoint:

```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha"
/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
```

## Files
Expand Down
4 changes: 2 additions & 2 deletions packages/website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docsearch/website",
"version": "3.0.0-alpha.50",
"version": "3.0.0",
"private": true,
"homepage": "https://docsearch.algolia.com/",
"scripts": {
Expand All @@ -17,7 +17,7 @@
},
"dependencies": {
"@algolia/ui-library": "4.0.0-beta.71",
"@docsearch/react": "3.0.0-alpha.50",
"@docsearch/react": "3.0.0",
"@docusaurus/core": "2.0.0-beta.15",
"@docusaurus/preset-classic": "2.0.0-beta.15",
"@mdx-js/react": "1.6.22",
Expand Down

0 comments on commit 6c14758

Please sign in to comment.