diff --git a/src/content/docs/docs/getting-started.mdx b/src/content/docs/docs/getting-started.mdx index 98f3ba70..d814cefe 100644 --- a/src/content/docs/docs/getting-started.mdx +++ b/src/content/docs/docs/getting-started.mdx @@ -9,12 +9,6 @@ import { FileTree } from "@astrojs/starlight/components"; import RunRemote from "@hh/RunRemote.astro"; import Run from "@hh/Run.astro"; -:::tip - -Hardhat 3 is production-ready and you can migrate today. We'll keep it in beta status as we work on missing features and stabilize it. - -::: - Hardhat is a flexible and extensible development environment for Ethereum software. It helps you write, test, debug, and deploy your smart contracts with ease, whether you're building a simple prototype or a complex production system. This guide will walk you through installing our recommended setup, but since most of Hardhat's functionality comes from plugins, you're free to customize it or choose a completely different path. @@ -113,4 +107,4 @@ Once you've finished the tutorial, or if you prefer smaller focused guides, chec - [Getting gas statistics of your test runs](/docs/guides/testing/gas-statistics) - [Computing the code coverage of your tests](/docs/guides/testing/code-coverage) -Join our [Hardhat 3](https://hardhat.org/hardhat3-beta-telegram-group) Telegram group to share feedback and stay updated on new releases. +Join our [Hardhat 3](https://hardhat.org/hardhat3-telegram-group) Telegram group to share feedback and stay updated on new releases. diff --git a/src/content/docs/docs/hardhat3/beta-status.mdx b/src/content/docs/docs/hardhat3/beta-status.mdx deleted file mode 100644 index cfa41573..00000000 --- a/src/content/docs/docs/hardhat3/beta-status.mdx +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Beta status -description: Hardhat 3 beta status -sidebar: - order: 2 ---- - -Hardhat 3 is production-ready and you can migrate today! - -We'll keep it in beta status as we work on missing features and stabilize it in the near future. - -## Migration readiness - -We don't expect any major user-facing breaking change in the API, so we encourage projects to migrate to Hardhat 3. - -Take a look at the [migration guide](/docs/migrate-from-hardhat2) to see how to do it. - -## Work in progress features - -There are some features that are still in development, and should be released soon: - -- Gas snapshots: The ability to take gas snapshots and compare them is still under development. - -## Migration blockers - -If your migration is blocked by a missing feature or plugin, please let us know [in this issue](https://github.com/NomicFoundation/hardhat/issues/7207). - -## Plugin APIs - -The plugin APIs are still in beta status, and we may release small breaking changes in the future. If you are developing a plugin, please keep this in mind, and get in touch with us if you have any questions. diff --git a/src/content/docs/docs/migrate-from-hardhat2/index.mdx b/src/content/docs/docs/migrate-from-hardhat2/index.mdx index dd097a29..3a6c5678 100644 --- a/src/content/docs/docs/migrate-from-hardhat2/index.mdx +++ b/src/content/docs/docs/migrate-from-hardhat2/index.mdx @@ -10,12 +10,6 @@ import { Code } from "@astrojs/starlight/components"; import Install from "@hh/Install.astro"; import Run from "@hh/Run.astro"; -:::tip - -Hardhat 3 is production-ready and you can migrate today! We'll keep it in beta status as we work on missing features and stabilize it in the near future. - -::: - Hardhat 3 is a complete rewrite of Hardhat 2. While many features are familiar, several fundamental changes mean the new version isn't directly compatible with Hardhat 2 projects: - **ESM-first**: Your Hardhat config must be an ES module. Scripts and JavaScript/TypeScript tests can still be CommonJS, but ESM is the default. diff --git a/src/content/docs/docs/reference/configuration.mdx b/src/content/docs/docs/reference/configuration.mdx index 2ff155f4..ac003032 100644 --- a/src/content/docs/docs/reference/configuration.mdx +++ b/src/content/docs/docs/reference/configuration.mdx @@ -3,12 +3,6 @@ title: Configuration description: Hardhat 3 configuration reference --- -:::tip - -Hardhat 3 is production-ready and you can migrate today! We'll keep it in beta status as we work on missing features and stabilize it in the near future. - -::: - When Hardhat is run, it searches for the closest `hardhat.config.ts` file starting from the Current Working Directory. This file normally lives in the root of your project. An empty `hardhat.config.ts` is enough for Hardhat to work. The entirety of your Hardhat setup (i.e. your config, plugins and custom tasks) is contained in this file. diff --git a/src/content/docs/docs/tutorial/setup.mdx b/src/content/docs/docs/tutorial/setup.mdx index 719e99e1..99376d6d 100644 --- a/src/content/docs/docs/tutorial/setup.mdx +++ b/src/content/docs/docs/tutorial/setup.mdx @@ -28,7 +28,7 @@ You'll create an empty directory and initialize a Hardhat project inside it: You'll be prompted to select a few options. Accept the defaults for everything **except the project type** (we'll use a minimal project): -1. Version: "Hardhat 3 Beta" +1. Version: "Hardhat 3" 2. Directory: current directory (`"."`) 3. **Project type: "A minimal Hardhat project"** 4. Install dependencies: yes diff --git a/src/redirects/moved-pages.ts b/src/redirects/moved-pages.ts index 3de7d3a4..d20b9bdb 100644 --- a/src/redirects/moved-pages.ts +++ b/src/redirects/moved-pages.ts @@ -15,4 +15,5 @@ export default [ ["/docs/guides/gas-statistics", "/docs/guides/testing/gas-statistics"], ["/docs/guides/cookbook", "/docs/cookbook"], ["/docs/plugins", "/docs/plugins/official-plugins"], + ["/docs/hardhat3/beta-status", "/docs/getting-started"], ] satisfies Redirects; diff --git a/src/redirects/next-to-starlight.ts b/src/redirects/next-to-starlight.ts index fd25229d..18485273 100644 --- a/src/redirects/next-to-starlight.ts +++ b/src/redirects/next-to-starlight.ts @@ -15,7 +15,7 @@ export default [ "/hardhat-network-helpers/docs/reference", "/docs/plugins/hardhat-network-helpers#reference", ], - ["/docs/learn-more/beta-status", "/docs/hardhat3/beta-status"], + ["/docs/learn-more/beta-status", "/docs/getting-started"], [ "/docs/learn-more/configuration-variables", "/docs/guides/configuration-variables", diff --git a/src/redirects/shortlinks.ts b/src/redirects/shortlinks.ts index f9e5d97b..44eee644 100644 --- a/src/redirects/shortlinks.ts +++ b/src/redirects/shortlinks.ts @@ -10,6 +10,7 @@ import type { Redirects } from "./types"; export default [ ["/configuration", "/docs/reference/configuration"], ["/errors", "/docs/reference/errors"], + ["/hardhat3-telegram-group", "https://t.me/+nx5My-pzR0piMjU5"], ["/hardhat3-beta-telegram-group", "https://t.me/+nx5My-pzR0piMjU5"], ["/plugin-authors-group", "https://t.me/+cFxwO53KTrY5MjYx"], ["/discord", "https://discord.gg/TETZs2KK4k"],