Skip to content

Releases: aws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrock

v1.1.2 - Packaging Fixes

31 Oct 01:57
1300af0

Choose a tag to compare

v1.1.2 - Packaging Fixes

This release fixes critical bugs in the packaging workflow and improves the Windows build experience.

🐛 Bug Fixes

  • Fix variable shadowing error: Resolved 'str' object has no attribute 'system' error that blocked package command
  • Preserve federation type: Fixed init command inadvertently changing federation type from Cognito to Direct STS
  • Fix Docker checks: Corrected subprocess argument conflicts in Docker daemon checks

✨ Improvements

  • Direct Windows artifact download: Added --download flag to builds command for easier Windows binary retrieval
    poetry run ccwb builds --status latest --download
  • Better error messages: Improved Docker error handling with clear, actionable messages
  • Clearer workflow instructions: Updated Windows build messaging based on whether distribution is enabled

🔄 Upgrade Notes

No breaking changes. Simply pull the latest version:

git pull origin main
poetry install

📝 Full Changelog

What's Changed

  • Fix critical packaging bugs and improve Windows build workflow by @schuettc in #51

Full Changelog: v1.1.1...v1.1.2

v1.1.1 - Session Mode Performance Improvement

09 Oct 20:36
b24a861

Choose a tag to compare

Performance Improvement

Session mode credential retrieval is now significantly faster (300ms → 1ms) by using AWS standard ~/.aws/credentials files instead of invoking the Python credential_process.


What's Changed

Session Mode Upgrade

  • Session storage now writes to ~/.aws/credentials
  • Eliminates credential_process overhead
  • Credentials persist across terminal sessions
  • Automatic upgrade for existing users (no migration needed)

New CLI Flags

  • --check-expiration - Check if cached credentials are expired
  • --refresh-if-needed - Refresh credentials if expired

Package Command Improvements

  • Interactive platform selection
  • Co-authorship preference prompt (opt-in, defaults to False)
  • --build-verbose flag for build debugging

Code Quality

  • Added Ruff pre-commit hooks for automated linting
  • Auto-fix import ordering and formatting

Security

  • Atomic writes using temp file + os.replace()
  • File permissions set to 0600 (owner read/write only)
  • 30-second expiration safety buffer

Migration

No action required. Existing session mode users will be prompted to re-authenticate on first use after update.


Full Changelog: v1.1.0...v1.1.1

v1.1.0 - Direct IAM Federation & Claude Sonnet 4.5

30 Sep 16:35
558c2ea

Choose a tag to compare

Release v1.1.0: Direct IAM federation, inference profiles, and Claude…