LangChain: Spring Cleaning and Python 3.14 Prep
Today we're covering 8 merged PRs and 10 commits focused on housekeeping, infrastructure improvements, and future-proofing. The biggest highlight is Python 3.14 support landing in the Chroma integration, plus important token counting fixes for Anthropic models and some solid middleware improvements.
Duration: PT4M1S
Transcript
Hey there, fellow builders! Welcome back to another episode of the LangChain podcast. I'm your host, and wow, do we have a fascinating mix of changes to dig into today. March 28th has brought us some really thoughtful improvements that show just how much care goes into maintaining a project of this scale.
You know what I love about today's activity? It's all about the fundamentals - the kind of work that makes everything else possible. We had 8 pull requests merged and 10 additional commits, and while that might not sound earth-shattering, the story here is really about setting LangChain up for success both now and in the future.
Let's start with the big news - Python 3.14 support is here! Christophe Bornet landed a fantastic update to the Chroma integration that brings compatibility with Python 3.14 and Pydantic 3.12. This is exactly the kind of forward-thinking work that keeps LangChain ahead of the curve. If you're running bleeding-edge Python versions or planning your upgrade path, this one's for you.
Now, here's a fix that's going to make a real difference in production - Jordan Hury tackled a sneaky token counting issue with Anthropic models. Turns out, ChatAnthropicVertex wasn't being recognized properly in the token counter, which meant it was underestimating token counts by about 16 percent. That's huge when you're working with summarization middleware and trying to hit those precise token thresholds. It was literally a one-character fix - changing the detection logic to catch both regular Anthropic and Vertex AI variants. Sometimes the smallest changes have the biggest impact!
Speaking of middleware, Eugene Yurtsev has been busy polishing up the todo list functionality. We got async support added, some performance improvements to speed up initialization, and even cleaned up some unnecessary descriptions that snuck in during a recent refactor. It's this kind of attention to detail that makes the developer experience so smooth.
And can we talk about Jacob Lee's revert for a second? He pulled back a tracing feature that was adding invocation parameters to metadata, but here's what I love about this - the reasoning was solid. The logic belonged in the LangSmith SDK instead. This is exactly how good architectural decisions get made. Sometimes the right move is knowing where code doesn't belong.
On the infrastructure side, we had some really solid cleanup work. Yashodip More fixed relative paths in package Makefiles - the kind of behind-the-scenes work that makes builds more reliable. Mason Daugherty hardened some CI language to make the development process smoother. And Ashir Ali Shah even caught a grammatical error in the development guidelines, changing "setup" to "set up" in the right context. Every detail matters!
What strikes me most about today's changes is how they represent different aspects of maintaining a healthy codebase. We've got future compatibility with Python 3.14, immediate bug fixes for token counting, performance improvements, architectural decisions, and even documentation polish. This is what sustainable open source development looks like.
For today's focus, if you're using Anthropic models through Vertex AI, definitely pull the latest version - that token counting fix is going to make your summarization workflows much more predictable. And if you've been waiting to experiment with Python 3.14, the Chroma integration is ready for you.
The broader lesson here is about the value of maintenance work. These aren't flashy new features, but they're the foundation that makes everything else possible. Whether you're contributing to LangChain or working on your own projects, remember that small fixes, documentation improvements, and infrastructure updates are just as valuable as big feature additions.
That's a wrap for today! Keep building, keep learning, and we'll catch up again tomorrow with whatever new adventures the LangChain community brings us. Until then, happy coding!