v0.27.0
Breaking Changes📦 weights-biasesView on GitHub →
⚠ 2 breaking✨ 5 features🔧 7 symbols
Summary
This release drops support for Python 3.9 and Pydantic v1, requiring Pydantic v2.6 or newer. New features include enhanced logging control and sandbox CLI access.
⚠️ Breaking Changes
- Support for Python 3.9 has been dropped. Code running on Python 3.9 will fail.
- Pydantic v1 is no longer supported. Users must upgrade to Pydantic v2.6 or newer. This removes the vendored `wandb_orjson` extension and the `WANDB_DISABLE_ORJSON` / `WANDB_BUILD_SKIP_ORJSON` environment variables.
Migration Steps
- Ensure your environment uses Python 3.10 or newer.
- Ensure your environment uses Pydantic version 2.6 or newer.
✨ New Features
- Added the `stop_on_fatal_error` setting to stop a run (using `stop_fn`) after a fatal error that prevents metric upload.
- Introduced the new `wandb.sandbox` package and the `wandb beta sandbox` CLI command.
- Added `finish_timeout` and `finish_timeout_raises` settings for controlling behavior during run finishing.
- Implemented the `run.write_logs()` method to allow writing text directly to the Logs tab.
- Added the `capture_loggers` setting to automatically capture logs from `logging.Logger` instances using `write_logs()`.