Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(v2): prepare v2.0.0.alpha-60 release #3154

Merged
merged 3 commits into from
Jul 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# Docusaurus 2 Changelog

## 2.0.0-alpha.60 (2020-07-29)

#### :rocket: New Feature

- `docusaurus`
- [#3134](https://github.com/facebook/docusaurus/pull/3134) feat(v2): add validation escape hatch ([@slorber](https://github.com/slorber))
- `docusaurus-1.x`
- [#3124](https://github.com/facebook/docusaurus/pull/3124) feat(v1): add 'slugPreprocessor' config option to allow users customize the hash links ([@Simek](https://github.com/Simek))
- `docusaurus-theme-search-algolia`
- [#3133](https://github.com/facebook/docusaurus/pull/3133) feat(v2): add themeConfig validation to algolia theme ([@slorber](https://github.com/slorber))

#### :bug: Bug Fix

- `docusaurus-plugin-content-blog`, `docusaurus-plugin-content-docs`, `docusaurus`
- [#3142](https://github.com/facebook/docusaurus/pull/3142) fix(v2): config validation fixes + add tests for config validation ([@teikjun](https://github.com/teikjun))
- `docusaurus`
- [#3149](https://github.com/facebook/docusaurus/pull/3149) fix(v2): BrowserOnly should not return undefined ([@slorber](https://github.com/slorber))
- [#3143](https://github.com/facebook/docusaurus/pull/3143) fix(v2): absolute Links should be automatically prefixed by baseurl ([@slorber](https://github.com/slorber))
- `docusaurus-plugin-content-docs`, `docusaurus-types`, `docusaurus`
- [#3141](https://github.com/facebook/docusaurus/pull/3141) fix(v2): remove buggy routesLoaded + deprecate routesLoaded lifecycle ([@slorber](https://github.com/slorber))
- `docusaurus-theme-classic`
- [#3140](https://github.com/facebook/docusaurus/pull/3140) fix(v2): navbar item links should allow unknown attributes ([@slorber](https://github.com/slorber))
- `docusaurus-theme-search-algolia`
- [#3138](https://github.com/facebook/docusaurus/pull/3138) fix(v2): add accessible label for Algolia search button ([@hobadams](https://github.com/hobadams))
- `docusaurus-plugin-content-blog`, `docusaurus-plugin-content-docs`, `docusaurus-theme-classic`, `docusaurus`
- [#3120](https://github.com/facebook/docusaurus/pull/3120) fix(v2): make config validation less strict ([@teikjun](https://github.com/teikjun))

#### :memo: Documentation

- [#3145](https://github.com/facebook/docusaurus/pull/3145) docs(v2): add myself to /team page + add TeamProfileCard component ([@slorber](https://github.com/slorber))
- [#3146](https://github.com/facebook/docusaurus/pull/3146) docs(v2): prettier docs ([@slorber](https://github.com/slorber))
- [#3116](https://github.com/facebook/docusaurus/pull/3116) chore(v2): docs updates after release ([@slorber](https://github.com/slorber))

#### :house: Internal

- Other
- [#3130](https://github.com/facebook/docusaurus/pull/3130) chore(v2): remove old versions ([@slorber](https://github.com/slorber))
- `docusaurus-1.x`, `docusaurus-init-1.x`, `docusaurus-init`, `docusaurus-mdx-loader`, `docusaurus-migrate`, `docusaurus-module-type-aliases`, `docusaurus-plugin-client-redirects`, `docusaurus-plugin-content-blog`, `docusaurus-plugin-content-docs`, `docusaurus-plugin-content-pages`, `docusaurus-plugin-debug`, `docusaurus-plugin-google-analytics`, `docusaurus-plugin-google-gtag`, `docusaurus-plugin-ideal-image`, `docusaurus-plugin-pwa`, `docusaurus-plugin-sitemap`, `docusaurus-preset-bootstrap`, `docusaurus-preset-classic`, `docusaurus-theme-bootstrap`, `docusaurus-theme-classic`, `docusaurus-theme-live-codeblock`, `docusaurus-theme-search-algolia`, `docusaurus-types`, `docusaurus-utils`, `docusaurus`, `lqip-loader`, `stylelint-copyright`
- [#3114](https://github.com/facebook/docusaurus/pull/3114) chore(v2): prepare v2.0.0.alpha-59 release ([@slorber](https://github.com/slorber))

#### Committers: 4

- Bartosz Kaszubowski ([@Simek](https://github.com/Simek))
- Hob Adams ([@hobadams](https://github.com/hobadams))
- Sébastien Lorber ([@slorber](https://github.com/slorber))
- Teik Jun ([@teikjun](https://github.com/teikjun))

## 2.0.0-alpha.59 (2020-07-24)

#### :rocket: New Feature
Expand Down
6 changes: 3 additions & 3 deletions admin/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ GITHUB_AUTH=<Your GitHub auth token> yarn changelog

Copy the generated contents and paste them in `CHANGELOG-2.x.md`.

**Note**: sometimes `lerna-changelog` gives an empty changelog ([bug report](https://github.com/lerna/lerna-changelog/issues/354)). Adding the `--from` options seems to help (`yarn changelog --from v2.0.0-alpha.60`).

### 4. Cut a new version of the docs

```sh
Expand All @@ -103,9 +105,7 @@ You should still be on your local branch `<your_username>/<version_to_release>`

Make a commit/push, create a pull request with the changes.

Don't merge it, just check that the CI is ok with your changes.

If nobody is around for a review, just wait for the CI checks to complete, check the deploy preview, and merge it.
**Don't merge it yet**, but wait for the CI checks to complete.

An example PR would be [#3114](https://github.com/facebook/docusaurus/pull/3114).

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"npmClient": "yarn",
"useWorkspaces": true,
"changelog": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-1.x/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docusaurus",
"description": "Easy to Maintain Open Source Documentation Websites",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"license": "MIT",
"keywords": [
"documentation",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init-1.x/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docusaurus-init",
"description": "Initialization script for Docusaurus",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"license": "MIT",
"preferGlobal": true,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/init",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Create Docusaurus app easily",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-init/templates/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docusaurus-2-bootstrap-template",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -11,8 +11,8 @@
"serve": "docusaurus serve"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.59",
"@docusaurus/preset-bootstrap": "^2.0.0-alpha.59",
"@docusaurus/core": "^2.0.0-alpha.60",
"@docusaurus/preset-bootstrap": "^2.0.0-alpha.60",
"@mdx-js/react": "^1.5.8",
"classnames": "^2.2.6",
"react": "^16.8.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-init/templates/classic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docusaurus-2-classic-template",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -11,8 +11,8 @@
"serve": "docusaurus serve"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.59",
"@docusaurus/preset-classic": "^2.0.0-alpha.59",
"@docusaurus/core": "^2.0.0-alpha.60",
"@docusaurus/preset-classic": "^2.0.0-alpha.60",
"@mdx-js/react": "^1.5.8",
"clsx": "^1.1.1",
"react": "^16.8.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-init/templates/facebook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docusaurus-2-facebook-template",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -15,8 +15,8 @@
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,md}\""
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.59",
"@docusaurus/preset-classic": "^2.0.0-alpha.59",
"@docusaurus/core": "^2.0.0-alpha.60",
"@docusaurus/preset-classic": "^2.0.0-alpha.60",
"@mdx-js/react": "^1.5.8",
"clsx": "^1.1.1",
"react": "^16.8.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/mdx-loader",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Docusaurus Loader for MDX",
"main": "src/index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-migrate/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/docusaurus-migrate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/migrate",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "A cli tool to migrate between different version of docusuarus",
"main": "lib/index.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-module-type-aliases/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/module-type-aliases",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Docusaurus module type aliases",
"types": "./src/index.d.ts",
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-plugin-client-redirects/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-client-redirects",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Client redirects plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
Expand All @@ -12,8 +12,8 @@
},
"license": "MIT",
"dependencies": {
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/utils": "^2.0.0-alpha.59",
"@docusaurus/types": "^2.0.0-alpha.60",
"@docusaurus/utils": "^2.0.0-alpha.60",
"@hapi/joi": "^17.1.1",
"@types/hapi__joi": "^17.1.2",
"chalk": "^3.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-content-blog",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Blog plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
Expand All @@ -15,10 +15,10 @@
"@types/hapi__joi": "^17.1.2"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.59",
"@docusaurus/mdx-loader": "^2.0.0-alpha.59",
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/utils": "^2.0.0-alpha.59",
"@docusaurus/core": "^2.0.0-alpha.60",
"@docusaurus/mdx-loader": "^2.0.0-alpha.60",
"@docusaurus/types": "^2.0.0-alpha.60",
"@docusaurus/utils": "^2.0.0-alpha.60",
"@hapi/joi": "^17.1.1",
"feed": "^4.1.0",
"fs-extra": "^8.1.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-content-docs",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Docs content plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
Expand All @@ -12,16 +12,16 @@
},
"license": "MIT",
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.0.0-alpha.59",
"@docusaurus/module-type-aliases": "^2.0.0-alpha.60",
"@types/hapi__joi": "^17.1.2",
"commander": "^5.0.0",
"picomatch": "^2.1.1"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.59",
"@docusaurus/mdx-loader": "^2.0.0-alpha.59",
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/utils": "^2.0.0-alpha.59",
"@docusaurus/core": "^2.0.0-alpha.60",
"@docusaurus/mdx-loader": "^2.0.0-alpha.60",
"@docusaurus/types": "^2.0.0-alpha.60",
"@docusaurus/utils": "^2.0.0-alpha.60",
"@hapi/joi": "17.1.1",
"execa": "^3.4.0",
"fs-extra": "^8.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-content-pages",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Pages content plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
Expand All @@ -15,8 +15,8 @@
"@types/hapi__joi": "^17.1.2"
},
"dependencies": {
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/utils": "^2.0.0-alpha.59",
"@docusaurus/types": "^2.0.0-alpha.60",
"@docusaurus/utils": "^2.0.0-alpha.60",
"@hapi/joi": "17.1.1",
"globby": "^10.0.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-plugin-debug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-debug",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Debug plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
Expand All @@ -12,8 +12,8 @@
},
"license": "MIT",
"dependencies": {
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/utils": "^2.0.0-alpha.59"
"@docusaurus/types": "^2.0.0-alpha.60",
"@docusaurus/utils": "^2.0.0-alpha.60"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-google-analytics",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Global analytics (analytics.js) plugin for Docusaurus",
"main": "src/index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-google-gtag",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Global Site Tag (gtag.js) plugin for Docusaurus",
"main": "src/index.js",
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-plugin-ideal-image/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-ideal-image",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder)",
"main": "lib/index.js",
"scripts": {
Expand All @@ -12,11 +12,11 @@
},
"license": "MIT",
"devDependencies": {
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/types": "^2.0.0-alpha.60",
"fs-extra": "^9.0.0"
},
"dependencies": {
"@docusaurus/lqip-loader": "^2.0.0-alpha.59",
"@docusaurus/lqip-loader": "^2.0.0-alpha.60",
"@endiliey/react-ideal-image": "^0.0.11",
"@endiliey/responsive-loader": "^1.3.2",
"react-waypoint": "^9.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-pwa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-pwa",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Docusaurus Plugin to add PWA support",
"main": "src/index.js",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-sitemap",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Simple sitemap generation plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
Expand All @@ -15,7 +15,7 @@
"@types/hapi__joi": "^17.1.2"
},
"dependencies": {
"@docusaurus/types": "^2.0.0-alpha.59",
"@docusaurus/types": "^2.0.0-alpha.60",
"@hapi/joi": "17.1.1",
"fs-extra": "^8.1.0",
"sitemap": "^3.2.2"
Expand Down
10 changes: 5 additions & 5 deletions packages/docusaurus-preset-bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@docusaurus/preset-bootstrap",
"version": "2.0.0-alpha.59",
"version": "2.0.0-alpha.60",
"description": "Preset for bootstrap Docusaurus",
"main": "src/index.js",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@docusaurus/plugin-content-blog": "^2.0.0-alpha.59",
"@docusaurus/plugin-content-docs": "^2.0.0-alpha.59",
"@docusaurus/plugin-content-pages": "^2.0.0-alpha.59",
"@docusaurus/theme-bootstrap": "^2.0.0-alpha.59"
"@docusaurus/plugin-content-blog": "^2.0.0-alpha.60",
"@docusaurus/plugin-content-docs": "^2.0.0-alpha.60",
"@docusaurus/plugin-content-pages": "^2.0.0-alpha.60",
"@docusaurus/theme-bootstrap": "^2.0.0-alpha.60"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",
Expand Down
Loading