> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/autofix-to/automation-and-merging/breaking-changes-and-upgrade-impact-analysis.md).

# 破壊的変更とアップグレードの影響分析

## 破壊的変更

Aikido は、ライブラリの変更履歴を確認して、バージョンアップに破壊的変更が含まれているかどうかを評価します。

Aikido のフィードでオープンソース依存関係の issue をクリックすると、issue の詳細が表示され、問題を修正するために必要な最小のバージョンアップグレードが示されます。次の Spring Security の例では、CVE-2023-34034 はバージョン 6.1.0 から 6.1.2 にアップグレードすることで修正できます。Aikido は、この更新に破壊的変更がないと判断しており、これは次の :white\_check\_mark:.

<figure><img src="/files/a59234e04813b21e8afad90297ff58aa066099db" alt=""><figcaption></figcaption></figure>

次をクリックすると :white\_check\_mark: 詳細と変更履歴へのリンクが表示されます。この場合、破壊的変更はありません。

<figure><img src="/files/57935b0d5a80bfe86c613cc468c828b79785bdb0" alt=""><figcaption></figcaption></figure>

たとえば、バージョン 8.5.11 から 9.0.99 への次の Tomcat のアップグレードのように破壊的変更がある場合、Aikido は :warning: アイコンを表示します。

<figure><img src="/files/8cdeec35b07fa9f7f6a04c4eb274b1d845d49c25" alt=""><figcaption></figcaption></figure>

次をクリックすると :warning: をクリックすると、破壊的変更の説明と変更履歴へのリンクが表示されます。

<figure><img src="/files/fe552b0691734f3cf79abb1ae5cd7c6934f7d7ac" alt=""><figcaption></figcaption></figure>

## アップグレード影響分析

依存関係の更新に破壊的変更が含まれていても、必ずしもそれがあなたのコードに影響するとは限りません。破壊的変更は、コードベースで使用されていない関数にある可能性があります。アップグレード影響分析では、コードベース内でそのライブラリがどのように使われているかをスキャンし、破壊的変更がコードベースに影響するかどうかを判断することで、さらに一歩踏み込みます。

Aikido AutoFix は、プルリクエストが作成されるとアップグレード影響分析を実行します。プルリクエストの説明には分析結果が含まれ、次の 3 つのカテゴリのいずれかに分類されます:

* ライブラリのアップグレードに破壊的変更はない :white\_check\_mark:
* 破壊的変更はあるが、コードベースには影響しない :white\_check\_mark:
* コードベースに影響する破壊的変更。手動での対応が必要 :warning:

次の例では、mongoose がバージョン 5.13.21 から 6.13.6 に更新されています。プルリクエストには、コードベースに影響する破壊的変更が 2 件あることが示され、どのファイルが影響を受け、どのような影響があるかが概説されています:

<figure><img src="/files/6583f14bd672ad8e63726cc7923728cce3e8d64b" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/autofix-to/automation-and-merging/breaking-changes-and-upgrade-impact-analysis.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
