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

feat(core): new postBuild({routesBuildMetadata}) API, deprecate head attribute + v4 future flag #10850

Merged
merged 14 commits into from
Jan 17, 2025

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jan 17, 2025

TLDR

Before: postBuild({head})

Deprecated, legacy and prevents further optimization
The future flag entirely disable this API: siteConfig.future.v4.removeLegacyPostBuildHeadAttribute: true

After: postBuild({routesBuildMetadata})

The injected routesBuildMetadata data structure looks like this:

const routesBuildMetadata = {
  "/": {noIndex: false},
  "/secret": {noIndex: true},
}

Motivation

This PR introduces a new public plugin API: postBuild({routesBuildMetadata})

For now it's mostly useful internally for our own sitemap plugin to know if a route has a noindex meta tag
But we'll eventually extend it to other use cases in the future if users post feature requests.

This aims to replace the legacy postBuild({head}) API that exposed as-is the React-Helmet data structure as a public API to plugin authors.

We never documented this officially and only used it inside our sitemap plugin, but to avoid a possible breaking change, I'm not removing it immediately and introduced a v4 future flag: siteConfig.future.v4.removeLegacyPostBuildHeadAttribute: true

We'll recommend that users turn all v4 future flags on.

Another future flag to optimize SSG time is coming in another PR (#10826) and requires siteConfig.future.v4.removeLegacyPostBuildHeadAttribute to be turned on to work.

The goal is to unlock the ability to SSG in worker threads in #10826, to improve SSG performance significantly, that can only be done if we do an opt-in breaking change by removing the head attribute entirely.

Test Plan

CI + preview

https://deploy-preview-10850--docusaurus-2.netlify.app/

No significant sitemap.xml change before and after (apart lastmod date on docs)

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jan 17, 2025
Copy link

netlify bot commented Jan 17, 2025

[V2]

Name Link
🔨 Latest commit 629d75c
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/678a814a6629790008a3f9a8
😎 Deploy Preview https://deploy-preview-10850--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Jan 17, 2025

Size Change: +3.21 kB (+0.03%)

Total Size: 11.8 MB

Filename Size Change
website/.docusaurus/docusaurus.config.mjs 28.3 kB +68 B (+0.24%)
website/build/assets/js/main.********.js 790 kB +43 B (+0.01%)
website/build/docs/api/docusaurus-config.html 199 kB +1.67 kB (+0.84%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 166 kB +1.09 kB (+0.66%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/globalData.json 31.4 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 161 kB 0 B
website/.docusaurus/routes.js 77.1 kB 0 B
website/.docusaurus/routesChunkNames.json 85.2 kB 0 B
website/.docusaurus/site-metadata.json 2.3 kB 0 B
website/build/assets/css/styles.********.css 119 kB 0 B
website/build/assets/js/runtime~main.********.js 37.1 kB 0 B
website/build/blog.html 76.2 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 66.9 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46 kB +12 B (+0.03%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.2 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 29.4 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 38.4 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 32.9 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 50.8 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 47.1 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 46.3 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 54.7 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 43.1 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 130 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 52.4 kB -1 B (0%)
website/build/blog/archive.html 23.9 kB 0 B
website/build/blog/authors.html 48.9 kB 0 B
website/build/blog/authors/j-marcey.html 66.9 kB 0 B
website/build/blog/authors/josh-cena.html 45.3 kB 0 B
website/build/blog/authors/lex-111.html 52.5 kB 0 B
website/build/blog/authors/slorber.html 79.6 kB 0 B
website/build/blog/authors/slorber/authors/2.html 83.1 kB 0 B
website/build/blog/authors/slorber/authors/3.html 88.9 kB 0 B
website/build/blog/authors/slorber/authors/4.html 75.6 kB 0 B
website/build/blog/authors/yangshun.html 59.8 kB 0 B
website/build/blog/authors/zpao.html 45.8 kB 0 B
website/build/blog/page/2.html 80.6 kB 0 B
website/build/blog/page/3.html 86.6 kB 0 B
website/build/blog/page/4.html 76 kB 0 B
website/build/blog/page/5.html 45.8 kB 0 B
website/build/blog/page/6.html 30.1 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 137 kB +4 B (0%)
website/build/blog/releases/2.2.html 51.3 kB 0 B
website/build/blog/releases/2.3.html 62.1 kB 0 B
website/build/blog/releases/2.4.html 66.4 kB 0 B
website/build/blog/releases/3.0.html 111 kB +12 B (+0.01%)
website/build/blog/releases/3.1.html 53.8 kB +1 B (0%)
website/build/blog/releases/3.2.html 50.5 kB 0 B
website/build/blog/releases/3.3.html 57.1 kB 0 B
website/build/blog/releases/3.4.html 57.3 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 59.7 kB +1 B (0%)
website/build/blog/releases/3.6.html 79.6 kB +1 B (0%)
website/build/blog/releases/3.7.html 52.1 kB +1 B (0%)
website/build/blog/tags.html 27.4 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 127 kB 0 B
website/build/docs.html 48.6 kB 0 B
website/build/docs/advanced.html 29.8 kB 0 B
website/build/docs/advanced/architecture.html 29.3 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 73.1 kB 0 B
website/build/docs/advanced/plugins.html 56.4 kB 0 B
website/build/docs/advanced/routing.html 71.2 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 78.2 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 46.1 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.4 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.3 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 36.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.2 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 38.3 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 33.4 kB 0 B
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 65 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 60.6 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.5 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/static-methods.html 44.8 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 31 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 60.3 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 190 kB -1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 195 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 74.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.8 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 49.7 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 49.2 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 48 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 49.2 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 117 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 40.4 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 66 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 45.9 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 40.7 kB +12 B (+0.03%)
website/build/docs/api/themes.html 29.1 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 44.4 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.9 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.2 kB 0 B
website/build/docs/api/themes/configuration.html 244 kB 0 B
website/build/docs/blog.html 211 kB +6 B (0%)
website/build/docs/browser-support.html 48.8 kB 0 B
website/build/docs/category/getting-started.html 27 kB 0 B
website/build/docs/category/guides.html 34.9 kB 0 B
website/build/docs/cli.html 60.3 kB 0 B
website/build/docs/configuration.html 99 kB +7 B (+0.01%)
website/build/docs/create-doc.html 62.7 kB +12 B (+0.02%)
website/build/docs/creating-pages.html 56.8 kB +1 B (0%)
website/build/docs/deployment.html 203 kB +8 B (0%)
website/build/docs/docs-introduction.html 51.3 kB 0 B
website/build/docs/docs-multi-instance.html 75.3 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 237 kB 0 B
website/build/docs/guides/whats-next.html 31.3 kB 0 B
website/build/docs/i18n/crowdin.html 145 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 79.2 kB +4 B (+0.01%)
website/build/docs/i18n/introduction.html 48.7 kB 0 B
website/build/docs/i18n/tutorial.html 164 kB +13 B (+0.01%)
website/build/docs/installation.html 71.2 kB +4 B (+0.01%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 80.3 kB 0 B
website/build/docs/markdown-features/admonitions.html 114 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 90.6 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 237 kB 0 B
website/build/docs/markdown-features/diagrams.html 53.5 kB +14 B (+0.03%)
website/build/docs/markdown-features/head-metadata.html 50.5 kB 0 B
website/build/docs/markdown-features/links.html 41.1 kB 0 B
website/build/docs/markdown-features/math-equations.html 91.4 kB +11 B (+0.01%)
website/build/docs/markdown-features/plugins.html 97.1 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 138 kB 0 B
website/build/docs/markdown-features/tabs.html 142 kB 0 B
website/build/docs/markdown-features/toc.html 85.2 kB +4 B (0%)
website/build/docs/migration.html 41.1 kB +4 B (+0.01%)
website/build/docs/migration/v2.html 39.5 kB 0 B
website/build/docs/migration/v2/automated.html 40.7 kB 0 B
website/build/docs/migration/v2/manual.html 199 kB 0 B
website/build/docs/migration/v2/translated-sites.html 50.7 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 64.6 kB +8 B (+0.01%)
website/build/docs/migration/v3.html 209 kB +1 B (0%)
website/build/docs/playground.html 31.1 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 116 kB +1 B (0%)
website/build/docs/seo.html 89.1 kB +13 B (+0.01%)
website/build/docs/sidebar.html 131 kB +7 B (+0.01%)
website/build/docs/sidebar/autogenerated.html 150 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 180 kB 0 B
website/build/docs/sidebar/multiple-sidebars.html 64.1 kB +4 B (+0.01%)
website/build/docs/static-assets.html 53.8 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 135 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 117 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 62.8 kB +4 B (+0.01%)
website/build/docs/using-plugins.html 112 kB 0 B
website/build/docs/versioning.html 83.5 kB +13 B (+0.02%)
website/build/index.html 36.2 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

Copy link

github-actions bot commented Jan 17, 2025

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 64 🟢 98 🟢 96 🟢 100 Report
/docs/installation 🟠 52 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 73 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 61 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🔴 46 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 63 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 73 🟢 100 🟢 100 🟠 86 Report

Copy link

github-actions bot commented Jan 17, 2025

Size Change: +3.26 kB (+0.03%)

Total Size: 12.3 MB

Filename Size Change
website/.docusaurus/docusaurus.config.mjs 28.3 kB +69 B (+0.24%)
website/build/assets/js/main.********.js 791 kB +43 B (+0.01%)
website/build/docs/api/docusaurus-config.html 208 kB +1.71 kB (+0.83%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 172 kB +1.11 kB (+0.65%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/globalData.json 31.4 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 161 kB 0 B
website/.docusaurus/routes.js 77.1 kB 0 B
website/.docusaurus/routesChunkNames.json 85.2 kB 0 B
website/.docusaurus/site-metadata.json 2.3 kB 0 B
website/build/assets/css/styles.********.css 113 kB 0 B
website/build/assets/js/runtime~main.********.js 36.3 kB 0 B
website/build/blog.html 79.1 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 69.2 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 48.1 kB +12 B (+0.02%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 52.4 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 31.1 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 40.3 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 34.7 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 53 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 49.2 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 48.4 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 57.1 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 45.2 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 135 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 55 kB -1 B (0%)
website/build/blog/archive.html 25.4 kB 0 B
website/build/blog/authors.html 51.1 kB 0 B
website/build/blog/authors/j-marcey.html 69.5 kB 0 B
website/build/blog/authors/josh-cena.html 47.4 kB 0 B
website/build/blog/authors/lex-111.html 54.8 kB 0 B
website/build/blog/authors/slorber.html 82.6 kB 0 B
website/build/blog/authors/slorber/authors/2.html 86.2 kB 0 B
website/build/blog/authors/slorber/authors/3.html 92.2 kB 0 B
website/build/blog/authors/slorber/authors/4.html 78.5 kB 0 B
website/build/blog/authors/yangshun.html 62.3 kB 0 B
website/build/blog/authors/zpao.html 47.9 kB 0 B
website/build/blog/page/2.html 83.4 kB 0 B
website/build/blog/page/3.html 89.6 kB 0 B
website/build/blog/page/4.html 78.8 kB 0 B
website/build/blog/page/5.html 47.9 kB 0 B
website/build/blog/page/6.html 31.8 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 142 kB -1 B (0%)
website/build/blog/releases/2.2.html 53.7 kB 0 B
website/build/blog/releases/2.3.html 64.9 kB 0 B
website/build/blog/releases/2.4.html 69.4 kB 0 B
website/build/blog/releases/3.0.html 115 kB +12 B (+0.01%)
website/build/blog/releases/3.1.html 56.1 kB +1 B (0%)
website/build/blog/releases/3.2.html 52.9 kB 0 B
website/build/blog/releases/3.3.html 59.6 kB 0 B
website/build/blog/releases/3.4.html 59.9 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 62.3 kB +1 B (0%)
website/build/blog/releases/3.6.html 83 kB +1 B (0%)
website/build/blog/releases/3.7.html 54.6 kB +1 B (0%)
website/build/blog/tags.html 29.2 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 132 kB 0 B
website/build/docs.html 50.7 kB 0 B
website/build/docs/advanced.html 31.4 kB 0 B
website/build/docs/advanced/architecture.html 31 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 76.3 kB 0 B
website/build/docs/advanced/plugins.html 58.9 kB 0 B
website/build/docs/advanced/routing.html 74.2 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 81.8 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 48.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 38.4 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 37.3 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 38.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 42.3 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 40.1 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 35.2 kB 0 B
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 67.7 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 63.3 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 61 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/static-methods.html 46.9 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 32.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 63.3 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 199 kB -1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 203 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 78.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 51.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 52.2 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 51.7 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 50.5 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 51.8 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 123 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 42.6 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 69.2 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 48.3 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 42.9 kB +12 B (+0.03%)
website/build/docs/api/themes.html 30.7 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 46.7 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 39 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 37.8 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 35 kB 0 B
website/build/docs/api/themes/configuration.html 257 kB 0 B
website/build/docs/blog.html 219 kB +6 B (0%)
website/build/docs/browser-support.html 51.3 kB 0 B
website/build/docs/category/getting-started.html 28.6 kB 0 B
website/build/docs/category/guides.html 36.7 kB 0 B
website/build/docs/cli.html 64.1 kB 0 B
website/build/docs/configuration.html 103 kB +7 B (+0.01%)
website/build/docs/create-doc.html 65.6 kB +12 B (+0.02%)
website/build/docs/creating-pages.html 59.4 kB +1 B (0%)
website/build/docs/deployment.html 212 kB +8 B (0%)
website/build/docs/docs-introduction.html 53.9 kB 0 B
website/build/docs/docs-multi-instance.html 79 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 246 kB 0 B
website/build/docs/guides/whats-next.html 33.1 kB 0 B
website/build/docs/i18n/crowdin.html 151 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 83 kB +4 B (0%)
website/build/docs/i18n/introduction.html 51.1 kB 0 B
website/build/docs/i18n/tutorial.html 171 kB +13 B (+0.01%)
website/build/docs/installation.html 74.6 kB +4 B (+0.01%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 83.5 kB 0 B
website/build/docs/markdown-features/admonitions.html 119 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 95.1 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 247 kB 0 B
website/build/docs/markdown-features/diagrams.html 56.3 kB +14 B (+0.02%)
website/build/docs/markdown-features/head-metadata.html 53.1 kB 0 B
website/build/docs/markdown-features/links.html 43.4 kB 0 B
website/build/docs/markdown-features/math-equations.html 95.7 kB +11 B (+0.01%)
website/build/docs/markdown-features/plugins.html 101 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 144 kB 0 B
website/build/docs/markdown-features/tabs.html 149 kB 0 B
website/build/docs/markdown-features/toc.html 89.1 kB +4 B (0%)
website/build/docs/migration.html 43.4 kB -1 B (0%)
website/build/docs/migration/v2.html 41.6 kB 0 B
website/build/docs/migration/v2/automated.html 42.9 kB 0 B
website/build/docs/migration/v2/manual.html 207 kB 0 B
website/build/docs/migration/v2/translated-sites.html 53.1 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 67.5 kB +8 B (+0.01%)
website/build/docs/migration/v3.html 218 kB +1 B (0%)
website/build/docs/playground.html 32.8 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 121 kB +1 B (0%)
website/build/docs/seo.html 93.3 kB +13 B (+0.01%)
website/build/docs/sidebar.html 137 kB +7 B (+0.01%)
website/build/docs/sidebar/autogenerated.html 157 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 188 kB 0 B
website/build/docs/sidebar/multiple-sidebars.html 67.4 kB +4 B (+0.01%)
website/build/docs/static-assets.html 56.6 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 141 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 122 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 65.7 kB +4 B (+0.01%)
website/build/docs/using-plugins.html 117 kB 0 B
website/build/docs/versioning.html 87.4 kB +13 B (+0.01%)
website/build/index.html 38 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

@slorber slorber changed the title feat(core): new postBuild({routesBuildMetadata}) API feat(core): new postBuild({routesBuildMetadata}) API, deprecate postBuild({head}) Jan 17, 2025
@slorber slorber marked this pull request as ready for review January 17, 2025 15:48
@slorber slorber requested a review from Josh-Cena as a code owner January 17, 2025 15:48
@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Jan 17, 2025
@slorber slorber changed the title feat(core): new postBuild({routesBuildMetadata}) API, deprecate postBuild({head}) feat(core): new postBuild({routesBuildMetadata}) API, deprecate head attribute + v4 future flag Jan 17, 2025
@slorber slorber merged commit 9df5aae into main Jan 17, 2025
38 checks passed
@slorber slorber deleted the slorber/future-v4-head-metadata-api branch January 17, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants