Migration Guide
Upgrading between bbx_audio versions.
0.1.x to 0.2.x
(Placeholder for future breaking changes)
API Changes
When breaking changes occur, they will be documented here with:
- What changed
- Why it changed
- How to update your code
Example Migration
#![allow(unused)] fn main() { // Old API (0.1.x) let graph = GraphBuilder::new(44100.0, 512, 2).build(); // New API (0.2.x) - hypothetical let graph = GraphBuilder::new() .sample_rate(44100.0) .buffer_size(512) .channels(2) .build(); }
General Upgrade Process
- Read the changelog - Understand what changed
- Update dependencies - Bump version in
Cargo.toml - Run tests - Identify breaking changes
- Fix compilation errors - Update API calls
- Test thoroughly - Verify audio output
Deprecation Policy
- Deprecated APIs are marked with
#[deprecated] - Deprecated APIs remain for at least one minor version
- Removal happens in the next major version
Getting Help
If you encounter migration issues:
- Check the changelog
- Search GitHub issues
- Open a new issue if needed