v3.1.2

aws-samples/bedrock-chatv3.1.2May 15, 2025by statefb

AI Summary

Fixed cross-region inference issues and replaced vulnerable dependency packages to improve security and compatibility.

Key Highlights

  • Cross-region inference fix via Lambda environment variables
  • Replacement of 'retry' package with 'reretry' to address CVE vulnerabilities
  • Compatibility fix for DynamoDB V2 and V3 exports

New Features

  • Cross-region inference fix
  • Reretry package integration
  • DynamoDB table compatibility

Full Release Notes

## Bug Fixes
- Fixed cross-region inference issue by adding Bedrock's cross-region reference settings to Lambda environment variables for API publishing. #862 by @fsatsuki
- Added fallback support for BedrockClaudeChatBotTableNameV3 in api-publish.ts to ensure compatibility with both V2 and V3 exports. #849 by @hyunbinkor

##  Enhancements
- Replaced unmaintained 'retry' package with 'reretry' to remove dependency on py version 1.11.0 which has a known CVE vulnerability. #860 by @evacroth
- Ensured consistent use of 'reretry' in v2-v3 migration script, fixing remaining CVE issue. #864 by @statefb