[PR #942] [MERGED] fix: update deprecated PlanningMiddleware to TodoListMiddleware #1163

Closed
opened 2026-02-17 17:21:50 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/942
Author: @bart0401
Created: 10/16/2025
Status: Merged
Merged: 10/17/2025
Merged by: @mdrxy

Base: mainHead: fix/issue-936-update-middleware-naming


📝 Commits (3)

  • 1b61e00 fix: update deprecated PlanningMiddleware to TodoListMiddleware
  • efd7a54 Merge branch 'main' into fix/issue-936-update-middleware-naming
  • 182fd7b Merge branch 'main' into fix/issue-936-update-middleware-naming

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/oss/langchain/middleware.mdx (+2 -2)

📄 Description

Summary

This PR updates the documentation to use the correct middleware class name.

  • Replaces deprecated PlanningMiddleware with TodoListMiddleware
  • Updates import statements and usage examples in the middleware documentation

The class was renamed in commit fff87e95d1 (PR #33476) on October 14, 2025, but the documentation was not updated.

Changes

  • Updated src/oss/langchain/middleware.mdx
    • Changed import from PlanningMiddleware to TodoListMiddleware
    • Updated middleware instantiation example

Fixes #936


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/942 **Author:** [@bart0401](https://github.com/bart0401) **Created:** 10/16/2025 **Status:** ✅ Merged **Merged:** 10/17/2025 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `fix/issue-936-update-middleware-naming` --- ### 📝 Commits (3) - [`1b61e00`](https://github.com/langchain-ai/docs/commit/1b61e003607ab7343d64ed3bea7971aa25c8e43d) fix: update deprecated PlanningMiddleware to TodoListMiddleware - [`efd7a54`](https://github.com/langchain-ai/docs/commit/efd7a545845653ef158f93c03044e4f433fc99d8) Merge branch 'main' into fix/issue-936-update-middleware-naming - [`182fd7b`](https://github.com/langchain-ai/docs/commit/182fd7ba22e6f7475c76b2e00035d490397314b9) Merge branch 'main' into fix/issue-936-update-middleware-naming ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/middleware.mdx` (+2 -2) </details> ### 📄 Description ## Summary This PR updates the documentation to use the correct middleware class name. - Replaces deprecated `PlanningMiddleware` with `TodoListMiddleware` - Updates import statements and usage examples in the middleware documentation The class was renamed in commit fff87e95d1 (PR #33476) on October 14, 2025, but the documentation was not updated. ## Changes - Updated `src/oss/langchain/middleware.mdx` - Changed import from `PlanningMiddleware` to `TodoListMiddleware` - Updated middleware instantiation example Fixes #936 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:21:50 -05:00
yindo closed this issue 2026-02-17 17:21:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1163