He-Pin opened a new pull request, #333: URL: https://github.com/apache/pekko-persistence-dynamodb/pull/333
### Motivation Several deprecated AWS SDK v1 APIs and Scala APIs were used, causing deprecation warnings on Scala 2.13, 3.3 and 3.8 cross-builds. ### Modification - Replace deprecated `AmazonDynamoDBAsyncClient` constructors with `AmazonDynamoDBAsyncClientBuilder` pattern - Replace deprecated `setEndpoint`/`withRegion` with `EndpointConfiguration` - Replace deprecated `ClientConfiguration.setUserAgent` with `setUserAgentPrefix` - Replace deprecated `ActorMaterializer` with `Materializer(system)` and move input buffer config to stream `Attributes` - Replace deprecated `Manifest` context bound with `ClassTag` in test - Widen `DynamoDBHelper.dynamoDB` type from `AmazonDynamoDBAsyncClient` to `AmazonDynamoDBAsync` interface ### Result Clean compilation with zero deprecation warnings across all Scala versions (2.13.18, 3.3.8, 3.8.4). ### Tests - `sbt +test:compile` - all versions pass with no warnings ### References None - code quality improvement -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
