API Stability and SemVer
Public API contract, compatibility levels, and versioning policy.
This page defines Flutterwind's public API stability contract.
Public API surface
Stable public APIs include:
package:flutterwind_core/flutterwind.dartexportsFlutterWindExtension.className(...)TailwindConfigread APIs and config loading behaviorFlutterWindThemeAPIs
Anything under lib/src/** is internal unless explicitly re-exported through flutterwind.dart.
Stability levels
stable: production-safe; breaking changes require deprecation cycleexperimental: may change in minor versionsinternal: no compatibility guarantees
Deprecation workflow
Breaking changes to stable APIs must follow:
- Add deprecation annotation and migration note
- Keep old API functional for at least one minor release
- Remove in the next major release only
SemVer rules
PATCH: bug fixes and internal improvements onlyMINOR: additive, non-breaking featuresMAJOR: breaking changes with migration guidance
Migration docs expectations
For each deprecation/removal:
- mention old and new APIs
- include before/after code examples
- include target removal version