Notionの更新7
Breaking changes in Notion API version 2026-12-01
★ 今日の注目記事
Notionの新APIバージョン、7つの破壊的変更とトークンのローテーション
NotionはAPI Application programming interface: a door that lets one piece of software ask another for data or actions.バージョン2026-12-01を公開しました。開発者向けの7つの破壊的変更に加え、内部コネクションがAPIトークンを定期的に入れ替える仕組みも加わりました(Notion Developers変更履歴)。
わかったこと
- 応答が小さく:検索とデータソースのクエリは、filter_Page properties The labelled fields at the top of a Notion database page, such as Status, Owner or Due date. They hold the page's details so you can sort, filter and report on them.で指定しない限り、各ページのタイトルだけを返します(Notion Developers変更履歴)。
- ほかの破壊的変更:ステータスのフィルターは選択肢の名前だけに一致し、Markdown A simple way of formatting text with symbols, such as # for headings and - for bullet points, that apps turn into styled text. v2が標準になってv1は拒否され、replace_content_rangeはupdate_contentに置き換わり、名前のない人はnullを返します(Notion Developers変更履歴)。
- 段階的に移行:各変更はまずバージョン2026-03-11で取り入れ、その後API version A dated edition of a service's programming interface. Apps say which edition they use, so a new one can change how things work without breaking older apps that stay on the old edition.ヘッダーを切り替えられます。JavaScript SDK A ready-made toolbox of code that a company gives developers so they can build things on top of its product, like custom blocks in Notion.の標準は2025-09-03のままなので、新しいバージョンは自分で指定する必要があります(Notion Developers変更履歴)。
- トークンのローテーション:内部コネクションは署名鍵を使ってAPIトークンを定期的に入れ替えるか、自動ローテーションを有効にできます。自動の場合、Notionは期限の7日前に新しいトークンを作ります(Notion Developers変更履歴)。
なぜ重要か: Notion APIでスクリプトや自動化を動かしているなら、バージョンヘッダーを変えるまでは何も壊れませんが、先にテストしましょう。検索が突然タイトルしか返さなくなると、ワークフローが静かに壊れることがあります。トークンのローテーションで、漏れたトークンが早く使えなくなります。
情報源(1)
- Changelog: December 1, 2026 · Notion DevelopersRead ↗
この記事は役に立ちましたか?
タップで投票。長押し・右クリック・Shift+Enterで、理由やひとことを添えて投票できます。