> 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 フィードでオープンソース依存関係の問題をクリックすると、問題の詳細がポップアップ表示され、問題を修正するために必要な最小のバージョンアップグレードが示されます。次の 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>

次の Tomcat のバージョン 8.5.11 から 9.0.99 へのアップグレードのように破壊的変更がある場合、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.
