Skip to content

Conversation

@pixelport
Copy link

In relation to #152, I did a refactoring to upgrade AWS SDK from v2 to v3

- Refactored AWS SDK imports to use v3 clients and commands in DynamoDBConnectionManager, DynamoDBEventProcessor, DynamoDBEventStore, DynamoDBRangeSubscriptionManager, DynamoDBSubscriptionManager, and RedisConnectionManager. - Updated Babel configuration to include new plugins for class properties and static blocks. - Enhanced Jest configuration for better compatibility with TypeScript and AWS SDK v3. - Removed deprecated aws-sdk dependency from package.json and replaced it with specific AWS SDK v3 packages. - Updated tests to reflect changes in the AWS SDK usage and ensure compatibility with the new structure.
- Changed package name from 'aws-lambda-graphql' to '@the_pixelport/aws-lambda-graphql'. - Updated version from '1.0.0-alpha.24' to '1.0.1'. - Adjusted DynamoDB client initialization to include marshalling options for class instances. - Updated references in package-lock.json and yarn.lock to reflect the new package name and version.
- Updated DynamoDB client initialization to ensure proper marshalling options are applied, including `removeUndefinedValues`. - Added console warnings for potential marshalling issues when using `DynamoDBDocumentClient` directly. - Introduced debug logging in various classes to aid in tracing connection and endpoint handling. - Updated package version from 1.0.1 to 1.0.4 in package.json and package-lock.json.
…gging - Added debug logging functionality to DynamoDBConnectionManager, RedisConnectionManager, and Server classes to improve traceability. - Removed unnecessary console logs in extractEndpointFromEvent function. - Introduced a debug option in connection manager and server configurations to enable or disable logging.
- Changed the Docker image in the CircleCI config from circleci/node:10.17.0 to cimg/node:22 for improved compatibility and performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant