Migrating to Weights & Biases v0.19.9
Version v0.19.9 introduces 4 breaking changes. This guide details how to update your code.
Released: 4/1/2025
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
wandb.initwandb.loggerwandb.Api.paginated methodsartifact download URL builderMetaflow integrationBreaking Changes
●Issue #1
The wandb logger is now configured with propagate=False at import time, which can change messages observed by the root logger.
●Issue #2
Metaflow integration now requires the plum-dispatch package; runs will fail if it is not installed.
●Issue #3
Paginated methods that accept a per_page argument now only accept int values; passing None is no longer supported.
●Issue #4
The artifacts API now uses new endpoints that require collection information; custom API calls may break.
Migration Steps
- 1Replace any boolean values for the reinit setting with the strings \"return_previous\" or \"finish_previous\" (or \"default\").
- 2If using Metaflow, install the plum-dispatch package.
- 3Update calls to paginated methods to pass an integer for per_page; remove any None arguments.
- 4Adjust any custom artifact download code to use the new URL scheme and include collection information.
- 5Be aware that the wandb logger now has propagate=False at import; modify root logger configuration if needed.
Release Summary
This release adds a default reinit option and a new artifact URL scheme, deprecates boolean reinit values, introduces several breaking changes (logger propagation, Metaflow dependency, stricter per_page handling, updated artifact API), and includes multiple bug fixes.
Need More Details?
View the full release notes and all changes for Weights & Biases v0.19.9.
View Full Changelog