Skip to content

feat!: v4.0.0-beta.0 - Modernize for Node 24 with AWS SDK v3#80

Open
breath103 wants to merge 1 commit intomasterfrom
v4.0.0-beta
Open

feat!: v4.0.0-beta.0 - Modernize for Node 24 with AWS SDK v3#80
breath103 wants to merge 1 commit intomasterfrom
v4.0.0-beta

Conversation

@breath103
Copy link
Contributor

Summary

  • Migrate from AWS SDK v2 to v3 (command pattern)
  • Remove DAX support (amazon-dax-client doesn't support SDK v3)
  • Update to Node.js 24 / require Node.js 20+
  • Use declare keyword for @Attribute() properties (ES2022 target fix)
  • Update all dependencies (TypeScript 5.7, Mocha 11, Chai 5, ESLint 9)

Breaking Changes

  1. AWS SDK v3: Connection interface now uses DynamoDBClient and DynamoDBDocumentClient
  2. DAX Removed: No SDK v3 support available
  3. Node.js 20+: Minimum version requirement
  4. Property Declaration: Use declare prop: Type instead of public prop!: Type for decorated properties

Test plan

  • All 49 tests passing on Node v24.12.0
  • Build succeeds with ES2022 target
  • Manual testing in consuming projects

🤖 Generated with Claude Code

BREAKING CHANGES:
- Migrate from AWS SDK v2 to v3
- Remove DAX support (amazon-dax-client doesn't support SDK v3)
- Require Node.js 20+
- Use `declare` keyword for @Attribute() properties (ES2022 target)

Changes:
- Update TypeScript target to ES2022
- Migrate all DynamoDB operations to SDK v3 command pattern
- Update Connection interface to use DynamoDBClient/DynamoDBDocumentClient
- Update dependencies (TypeScript 5.7, Mocha 11, Chai 5, ESLint 9, etc.)
- Fix Set-to-Array conversion in unmarshal for SDK v3 compatibility
- Update all test files to use `declare` and SDK v3 APIs
- Update documentation with migration guide

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant