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

Docusaurusのバージョンを2.0.0-beta.14から2.3.1以上にアップデートしませんか? #600

Closed
suin opened this issue Feb 25, 2023 · 4 comments · Fixed by #730
Labels
for:執筆者 執筆者の関心がありそうなこと。執筆に関すること。 type:新verへの追従 時間経過でバージョンが古くなってしまった内容を改善する

Comments

@suin
Copy link
Contributor

suin commented Feb 25, 2023

さすがに古くなってきたのでアップデートしたほうがいいかも知れません。

なお、最新版にするとyarn startでエラーも発生するとの報告(#564)があります。

話し合いトピック

  • テスト戦略: テストをやるか?どの程度やるべきか?
  • テスト項目: 何をチェックするか?
  • アップデートを誰がやるか?
@suin suin added stage1:話し合い中 結論を出すために話し合いをしている最中です。まだ着手・プルリクエストの作成はしないでください。 type:新verへの追従 時間経過でバージョンが古くなってしまった内容を改善する for:執筆者 執筆者の関心がありそうなこと。執筆に関すること。 labels Feb 25, 2023
@suin suin changed the title Docusaurusのバージョンを2.0.0-beta.14から2.3.1以上にアップデートする Docusaurusのバージョンを2.0.0-beta.14から2.3.1以上にアップデートしませんか? Feb 25, 2023
@yabuki
Copy link

yabuki commented Feb 26, 2023

#564 の報告者です。元issueは @suin さんによってcloseされ、こちらに移動しました。

#564 は解決しておらず、本issueに関する通知を受けたいのでコメントをしておきます。

問題点っぽいものとして、
#564 (comment)
が提示されていました。

@tats-u
Copy link
Contributor

tats-u commented Feb 26, 2023

import type { Props } from "@theme/Seo"の置き換え(@theme/Seo自体全滅です)

facebook/docusaurus#7351

参考になりそうなので共有します

import type { PageMetadata } from '@docusaurus/theme-common';
type Props = Parameters<typeof PageMetadata>["0"]

import { useTitleFormatter } from "@docusaurus/theme-common";useTitleFormatterがない

typesense/docusaurus-theme-search-typesense#18

さらなる変更があった模様

import { useTitleFormatter } from "@docusaurus/theme-common/lib/internal";

"@theme/DocItemFooter""@theme/hooks/useWindowSize""@theme/hooks/useThemeContext":全滅

facebook/docusaurus#7644

import DocItemFooter from "@theme/DocItem/Footer";

facebook/docusaurus#6516

ダークモードはuseColorMode()

import { MainHeading } from "@theme/Heading";MainHeadingのexport削除

facebook/docusaurus#6283 (comment)

@suin
Copy link
Contributor Author

suin commented Feb 26, 2023

@tats-u 調査ありがとうございます!アップデートする際に役立ちそうです✨

@suin
Copy link
Contributor Author

suin commented Feb 26, 2023

今分かっている情報だけでも、互換性の崩れが確認できているので、テストについても話し合う必要がありそう。

  • テスト戦略: テストをやるか?どの程度やるべきか?
  • テスト項目: 何をチェックするか?

現状の事実: 自動テストは存在しない。

@suin suin closed this as completed in #730 Jul 9, 2023
@suin suin removed the stage1:話し合い中 結論を出すために話し合いをしている最中です。まだ着手・プルリクエストの作成はしないでください。 label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for:執筆者 執筆者の関心がありそうなこと。執筆に関すること。 type:新verへの追従 時間経過でバージョンが古くなってしまった内容を改善する
Projects
None yet
3 participants