Skip to content

Versioning and Support Policy

The Strands SDK is an open-source project that follows semantic versioning to provide predictable, stable releases while enabling rapid innovation. This document explains the versioning approach, experimental features, and deprecation policies that guide SDK development.

The SDK adheres to Semantic Versioning 2.0.0 with the following version format: MAJOR.MINOR.PATCH

  • Major (X.0.0): Breaking changes, feature removals, or API changes that affect existing code
  • Minor (1.Y.0): New features, deprecation warnings, and backward-compatible additions
  • Patch (1.1.Z): Bug fixes, security patches, and documentation updates

When upgrading to a new minor or patch version, existing code should continue to work without modification. Breaking changes are reserved for major version releases and are always accompanied by clear migration guides.

The AI ecosystem is evolving rapidly with new standards and protocols emerging regularly. To provide cutting-edge capabilities, the SDK integrates with evolving standards such as:

  • OpenTelemetry GenAI Semantic Conventions
  • Model Context Protocol (MCP)
  • Agent-to-Agent (A2A) protocols

Best Practice: When using features that depend on rapidly evolving standards, pinning to a specific minor version in production applications ensures stability.

Small breaking changes that follow the “pay for play” principle may be included in minor versions. This principle states: programs can call new APIs to access new features, but programs that choose not to do so are unaffected — old code continues to work as it did before.

When This Applies:

  • The breaking change is gated behind new functionality that must be explicitly adopted
  • Existing code paths remain completely unaffected
  • The change is only encountered when actively using the new feature
  • The change is obvious and directly tied to newly added functionality

Example: Adding optional fields to a configuration object that only affects users who adopt a new tool or feature.

See also: Raymond Chen on “pay for play” in API design

Experimental features are new capabilities released in the strands.experimental module (Python) or under experimental namespaces (TypeScript). These features enable:

  • Testing innovative ideas with real-world feedback
  • Rapid iteration based on community input
  • Feature design validation before committing to long-term support

Experimental features graduate to the main SDK when they meet stability criteria:

  • API is stable with no breaking changes expected
  • Comprehensive test coverage and documentation
  • Validated by real-world use cases
  • Positive community feedback

Timeline:

  • Version X.Y-1: Feature exists only in experimental module
  • Version X.Y: Feature graduates to main SDK; experimental version deprecated with migration guide
  • Version X.Y+1: Experimental version removed

Features are deprecated responsibly to provide adequate time for migration to newer alternatives.

  1. Introduce Alternative: A new, improved way to accomplish the same goal is released
  2. Deprecate Old Way: The old feature emits deprecation warnings with clear migration guidance
  3. Remove in Major Version: The deprecated feature is removed in the next major version
  • Version 1.Y: New feature introduced; old feature marked deprecated with warnings
  • Version 1.Y+1: (Optional) Enhanced warnings with migration examples
  • Version 2.0: Deprecated feature removed
import warnings
@warnings.deprecated(
"deprecated_function() is deprecated and will be removed in v2.0.0. "
"Use new_function() instead. See: https://strandsagents.com/...",
category=DeprecationWarning,
stacklevel=2
)
def deprecated_function():
pass
  • Clear version transitions between deprecation and removal
  • Features are never removed in minor or patch versions
  • Migration tools and clear error messages when feasible
  • Deprecation timelines specified in all warnings
  • Comprehensive migration documentation
  • Regular communication through release notes and changelogs
  • Backward compatibility within major versions
  • Advance notice for breaking changes
  • Multiple minor versions between deprecation and removal
  • Open discussions for significant changes
  • Feedback incorporated into feature design
  • Collaborative approach to SDK evolution
  • Patch releases: As needed for critical bug fixes and security patches
  • Minor releases: Regular cadence for new features and deprecation warnings
  • Major releases: With advance notice and comprehensive migration guides

Stay up-to-date with SDK changes through these channels:

The Strands SDK is an open-source project that welcomes community contributions. Here’s how to participate:

  • Ask Questions: Open a GitHub Discussion in the relevant repository
  • Report Issues: Submit bug reports or feature requests via GitHub Issues
  • Contribute Code: Review the Contributing Guide to get started
  • Share Feedback: Your input on versioning and support policies helps shape the SDK’s future