Commit Graph

2587 Commits

Author SHA1 Message Date
lampovayatyan999 698de7ea1e docs: improve useIsBrowser section, clarify hydration vs DOM availabi… (#12176)
* docs: improve useIsBrowser section, clarify hydration vs DOM availability (#8678)

* Update website/docs/docusaurus-core.mdx

* Update website/docs/docusaurus-core.mdx

* Apply suggestion from @slorber

---------

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2026-06-18 12:31:49 +02:00
Ben McCann e551c9a136 chore: switch to tinyglobby (#11042)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-06-12 19:39:38 +02:00
Sébastien Lorber a85847fbac docs(website): split Deployment page into a category with hosting provider subpages + cleanup providers (#12139) 2026-06-12 16:07:35 +02:00
Ifeanyi Chima b7963e359d docs: document that plugin-ideal-image changes imported image types (#12130) 2026-06-12 13:10:51 +02:00
Ifeanyi Chima 0968de19c9 docs(deployment): update Node.js version from 20 to 24 in deployment … (#12118) 2026-06-12 10:26:56 +02:00
Sébastien Lorber 96b32dd2e5 refactor(monorepo): migrate to pnpm 11 (#12109) 2026-06-04 19:29:20 +02:00
Sébastien Lorber 183fc6f1e3 refactor: various v4 code cleanups and soft breaking changes (#12104) 2026-06-01 17:48:09 +02:00
Sébastien Lorber 34656d725c break(core): Remove legacy postBuild({head}) API and v4 future flag (#12084) 2026-05-29 17:25:09 +02:00
Sébastien Lorber ff28bdf062 chore: upgrade stylelint (#11992) 2026-05-29 17:24:18 +02:00
Sébastien Lorber a846a0fd73 feat(dev-server): add dev-server CLI options for HTTPS support (#12082) 2026-05-29 16:34:13 +02:00
Sébastien Lorber 1dba8e8e1b break(google-analytics): remove deprecated Google Analytics plugin (#12081) 2026-05-28 18:39:51 +02:00
Sébastien Lorber d98843579b fix(gtag.js, faster): Fix StackBlitz, vendor @types/gtag.js, upgrade @swc/html (#12080) 2026-05-28 17:44:18 +02:00
Timothy Jordan 99c26cdb4f docs: add AI / Agents community plugins sub-section (#12035)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-05-28 11:27:09 +02:00
Kiwi 698a15910f docs(cli): document missing --javascript option for docusaurus swizzle (#12038) 2026-05-21 14:41:10 +02:00
Atharv Mohite f63ef9452e docs: clarify where to add custom CSS files (#12032) 2026-05-21 14:01:46 +02:00
Sébastien Lorber 7518645e58 chore(monorepo): upgrade monorepo to ESLint 9 (#12024)
* ESLint 10

* remove backup

* Fix header

* downgrade to ESLint 9 - fix some errors

* fix more errors

* fix more errors

* fix more errors

* fix more errors

* fix more errors

* fix more errors

* fix more errors

* all eslint errors fixed!

* refactor: apply lint autofix

* snapshot

* fix ESLint tests

* snapshot

* lockfile

* fix eslint plugin docs types

* syncpack ignore

* restore eslint-plugin-eslint-plugin, upgrade it + fix new plugin lint errors

---------

Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2026-05-15 20:08:46 +02:00
Sébastien Lorber 1641a13f04 break(eslint-plugin): Add ESLint flag configs, require ESLint >= 8.57 (#12025)
* Add support for ESLint flag config

* eslint plugin docs update

* eslint plugin docs update
2026-05-15 19:09:59 +02:00
Sébastien Lorber 057ab88fe0 refactor(test): use explicit Vitest imports, disable globals (#12019) 2026-05-15 10:01:02 +02:00
Sébastien Lorber be553e029e chore: migration from Jest to Vitest (#12010) 2026-05-14 17:34:35 +02:00
Mark Feng 7e3edcee3d docs: document loading ambient types for optional plugins (#11986) 2026-05-09 18:09:04 +02:00
Bansidhar kadiya d7a8ae3c07 docs: add Tables section to Markdown features (#11970)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-05-09 17:55:05 +02:00
port 5f60ae9c87 docs: add docusaurus-plugin-copy-page-button to community plugins (#11972) 2026-05-09 17:40:59 +02:00
小墨 0363c9b875 docs: change file extensions from .md to .mdx in installation.mdx (#12003) 2026-05-09 17:30:01 +02:00
Danyal Ahmed 84650e563e docs: fix siteConfig.url link in i18n tutorial (#12002) 2026-05-09 17:25:05 +02:00
Yangshun Tay 190ef6fa5d chore: migrate from Prettier to oxfmt for code formatting (#11824)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-05-07 13:50:57 +02:00
Sébastien Lorber 3f10bdc930 chore: bump package.json versions, mostly for canary release versioning (#11980)
* v4.0.0

* bump package.json versions, mostly for canary release versioning

* use triple installs for supply chain workflow

* Revert "v4.0.0"

This reverts commit 8303548033.

* v3.10.1

* revert versioning docs
2026-04-30 17:09:55 +02:00
Sébastien Lorber 238c71e9ca chore: release v3.10.1 (#11983) 2026-04-30 14:58:04 +02:00
Sébastien Lorber 49e10d2cae chore: update various dependencies (#11975) 2026-04-30 10:12:47 +02:00
LiuHuaize 8c05ce7e9b docs: add package-manager tabs for create-docusaurus (#11925) 2026-04-28 16:52:26 +02:00
Kevin Winardi aedb78ef09 docs: Update example file from tags.yml to authors.yml (#11973) 2026-04-28 16:35:30 +02:00
Sébastien Lorber 8a13a84408 chore: add syncpack to monorepo, align dependency semver ranges, add to CI/lints (#11926) 2026-04-10 17:07:08 +02:00
Sébastien Lorber ae53482b19 break: upgrade webpack/bundler related dependencies (#11924) 2026-04-09 16:01:18 +02:00
Sébastien Lorber 6d192730e9 break: upgrade to React 19.2+ (#11916) 2026-04-07 19:44:26 +02:00
Sébastien Lorber 3bfefa2117 break: update all packages to Node 24.14 update node engine in packages (#11914) 2026-04-07 18:39:36 +02:00
Sébastien Lorber 0e9d2e4317 chore: update release instructions + minor post-v3.10 release updates (#11913) 2026-04-07 18:27:57 +02:00
Sébastien Lorber 62c5bf456a chore: release v3.10 (#11825)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2026-04-07 16:20:00 +02:00
Eoin Shaughnessy 4a1bd941ba docs: fix grammar errors in migration and plugin docs (#11904) 2026-04-06 15:32:53 +02:00
Sébastien Lorber 4892e7f257 feat(core): add future.v4.mdx1CompatDisabledByDefault flag (#11896)
* add future.v4.mdx1CompatDisabledByDefault flag

* docs

* update snapshots

* add crowdin comment

* improve tests

* improve tests
2026-04-03 19:13:09 +02:00
Sébastien Lorber c6efc149ae fix(website): fix hydration issue that blocks Argos screenshots in CI (#11895) 2026-04-03 14:57:27 +02:00
Misrilal 9d50300132 docs(plugin-api): remove unimplemented dev server hooks (#11867) 2026-03-31 14:07:28 +02:00
Sébastien Lorber b27ee45234 chore(website): disable mdx1Compat.comments on our site (#11846) 2026-03-26 17:51:22 +01:00
Sébastien Lorber 4a0273fab2 fix(create-docusaurus): fix support for TypeScript 6.0 + fix our CI (#11843) 2026-03-26 15:34:39 +01:00
Sébastien Lorber 1451780784 chore(ci): fixes for the npm trusted publishing workflow (#11823) 2026-03-20 12:27:43 +01:00
Sébastien Lorber 5dff744ac6 chore(ci): add Trusted Publishing release workflow through dispatch action (#11819)
* add base publish workflow

* add publish workflow

* remove useless workflow job

* minor fixes

* add -yes + useful todo

* fix cmd

* chore: upgrade lerna

* v3.9.2-alpha.0

* Revert "chore: upgrade lerna"

This reverts commit d198b49194.

* do not commit the lerna upgrade

* v3.9.2-alpha.1

---------

Co-authored-by: Docusaurus <github@docusaurus.io>
2026-03-20 11:13:49 +01:00
Sébastien Lorber 29c3b5ce11 feat(core): Docusaurus Faster is stable + v4 future flag turns it on by default (#11802)
* feat(core): promote `future.experimental_faster` to `future.faster` + add `future.v4.fasterByDefault` flag

Stabilize the Docusaurus Faster config by removing the `experimental_` prefix.
Add a `fasterByDefault` v4 future flag that enables all faster features by default
when `v4: true` is used, allowing granular overrides. Init templates now include
`@docusaurus/faster` as a dependency since they use `v4: true`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: apply lint autofix

* fix(docs): remove broken #faster anchor link in fasterByDefault docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): add Yarn PnP packageExtension for @docusaurus/bundler → @docusaurus/faster

Yarn PnP strict mode doesn't resolve optional dependencies automatically.
Add a packageExtension so @docusaurus/bundler can resolve @docusaurus/faster
in the e2e Yarn Berry tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(core): declare @docusaurus/faster as optional peer dep instead of CI packageExtension

Revert the packageExtensions workaround in the e2e CI workflow and instead
declare @docusaurus/faster as an optional peer dependency of @docusaurus/core,
matching the existing pattern in @docusaurus/bundler.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: retrigger CI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* empty

* add randomness to e2e test script version, to avoid using cached versions when trying to run this locally

* Rspack + PnP doesn't work, so add a warning in this case + fallback to Webpack
This should fix the e2e pnp workflows

* refactor: apply lint autofix

* typo

* typo

* revert wrong change

* also use slower minimizers

* comment

* restore snapshots

* ensure faster key resolution is always exhaustive, no hardcoding of keys

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2026-03-13 17:17:28 +01:00
Sébastien Lorber 2a7f8b96e6 feat(core): promote siteConfig.storage to stable + add future.v4.siteStorageNamespacing flag [Claude] (#11797)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:36:03 +01:00
Sébastien Lorber caff1c46ea chore(website): migrate MDX heading ids to comment syntax + upgrade Crowdin parser version (#11779) 2026-03-06 21:48:12 +01:00
Sébastien Lorber 9456b23440 docs(website): change recommended syntax for math equations (#11784) 2026-03-06 19:23:20 +01:00
Sébastien Lorber 7151555280 feat(cli): write-heading-ids CLI now supports the --syntax option (#11777) 2026-03-05 18:59:03 +01:00
Kunwardeep Singh b0cacdfdc5 docs: fix minor grammar (#11766)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2026-03-05 13:32:30 +01:00