Skip to content

Fix dependabot/next#15

Open
mi-24v wants to merge 3 commits intodevelopfrom
fix/dependabot/next
Open

Fix dependabot/next#15
mi-24v wants to merge 3 commits intodevelopfrom
fix/dependabot/next

Conversation

@mi-24v
Copy link
Member

@mi-24v mi-24v commented Mar 2, 2026

  • バージョン表記修正
  • ライブラリパッケージのコード再生成
  • next 15.5.12アップデート(dependabot対応)

ライブラリコード再生成の影響

コード内容が1.0.0のままであったため、破壊的変更を伴う。
影響対象であるビューア本体は2.0.0時点ですでにこの変更を吸収済み。

破壊的変更(主なもの)

  • spatial-id-svc-area: getBlockedArea / getReservedAreaPromise<T>AsyncGenerator<StreamResponse<T>> に変更(呼び出し方が変わる)
    • packages/spatial-id-svc-area/dist/index.d.ts
  • spatial-id-svc-common: login の引数が userIduserID へ変更、organizationID が追加
    • packages/spatial-id-svc-common/dist/index.d.ts
  • spatial-id-svc-route: createPrivateBarrier が削除され createBuildingBarrier 追加(名称変更扱い)
    • packages/spatial-id-svc-route/dist/index.d.ts
  • spatial-id-svc-route: createReservedRouteAsyncGenerator 返却 → Promise<successResponse> に変更
  • spatial-id-svc-route: deleteReservedRoute / getReservedRoute の引数キーが reservedRouteIdid に変更
  • spatial-id-svc-route: getReservedRoutePromise<T>AsyncGenerator<...> に変更

追加中心で非破壊な変更

  • 新規API/新規型の追加(例: getPermittedAirSpace, RequestTypes, RestrictionTypes など)
  • ただし同名レスポンス型の置換(*Response*ResponseNew / *ResponseV3)があるため、利用型次第で影響あり
    • packages/spatial-id-svc-route/dist/index.d.ts
    • packages/spatial-id-svc-area/dist/index.d.ts

利用側への影響

  • await apiFn() 前提コードは for await...of への書き換えが必要な箇所あり
  • リクエスト引数名変更(userId/reservedRouteId)でビルドエラーが発生
  • 戻り値型名変更により、型注釈・型ガード・テストコード修正が必要

@mi-24v mi-24v changed the base branch from main to develop March 2, 2026 10:08
@mi-24v mi-24v requested a review from Copilot March 2, 2026 10:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Dependabot 対応として Next.js を 15.5.12 に更新し、ワークスペース内パッケージのバージョン表記を揃える PR です。

Changes:

  • Next.js を 15.0.815.5.12 に更新(関連する lockfile 依存も更新)
  • 各パッケージの version2.0.3 に更新
  • sharp/swc helpers など Next 依存の追随更新(yarn.lock)

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
yarn.lock Next 15.5.12 への更新に伴う依存関係更新(sharp/swc 等)
package.json リポジトリ全体の version を 2.0.3 に更新
packages/spatial-id-viewer/package.json viewer の version 更新 + next を 15.5.12 に更新
packages/spatial-id-svc-route/package.json パッケージ version を 2.0.3 に更新
packages/spatial-id-svc-route/package.dist.json dist 用 package 定義の version を 2.0.3 に更新
packages/spatial-id-svc-common/package.json パッケージ version を 2.0.3 に更新
packages/spatial-id-svc-common/package.dist.json dist 用 package 定義の version を 2.0.3 に更新
packages/spatial-id-svc-base/package.json パッケージ version を 2.0.3 に更新
packages/spatial-id-svc-base/package.dist.json dist 用 package 定義の version を 2.0.3 に更新
packages/spatial-id-svc-area/package.json パッケージ version を 2.0.3 に更新
packages/spatial-id-svc-area/package.dist.json dist 用 package 定義の version を 2.0.3 に更新
packages/spatial-id-converter/package.json パッケージ version を 2.0.3 に更新
packages/spatial-id-converter/package.dist.json dist 用 package 定義の version を 2.0.3 に更新

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 39 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 39 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mi-24v mi-24v requested a review from atbay March 2, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants