Migrating to Weights & Biases v0.27.1
Version v0.27.1 introduces 4 breaking changes. This guide details how to update your code.
Released: 6/4/2026
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
wandb.Apiwandb.apis.importerswandb.integration.yolov8Keras WandbCallbackRun.scan_historyBreaking Changes
●Issue #1
GraphQL operations in `wandb.Api` now route through the wandb-core service. Failures now raise `WandbApiFailedError` instead of `requests` HTTP exceptions. Customizations made by patching `requests` will no longer affect these GraphQL calls.
●Issue #2
The unsupported `wandb.apis.importers` API has been removed.
●Issue #3
Stale OpenAI, Cohere, and LangChain LLM integrations, including legacy autologging and tracing APIs, have been removed.
●Issue #4
The deprecated Keras `WandbCallback` and the legacy `wandb.integration.yolov8` callback package have been removed.
Migration Steps
- 1If you were relying on catching `requests` HTTP exceptions for `wandb.Api` GraphQL calls, update code to catch `WandbApiFailedError` instead.
- 2If using removed LLM integrations (OpenAI, Cohere, LangChain legacy autologging/tracing), migrate to current supported integration methods.
- 3If using the deprecated Keras `WandbCallback` or `wandb.integration.yolov8`, migrate to the current recommended callback/integration methods.
Release Summary
This release introduces new event support in the automations API and performance improvements for `Run.scan_history()`. It also removes several legacy and unsupported APIs, including older LLM integrations and callbacks.
Need More Details?
View the full release notes and all changes for Weights & Biases v0.27.1.
View Full Changelog