Releases: aws/aws-sdk-js-codemod
Releases · aws/aws-sdk-js-codemod
v1.1.1
Patch Changes
- Add utility to remove unused modules (c1669bea4877fcf1a4e4e335be8300ba71861f2a)
v1.1.0
Minor Changes
- Simplify getClientNamedRecord using import specifiers utilities (59a8b7a88c291f3a03bb149892c51b369570d2f6)
Patch Changes
- Add utility requireModule getImportSpecifiers (bee398b0a3f818a1691b3151350b95e73922f21a)
- Add utility importEqualsModule getImportSpecifiers (05b471413454b61529b4dd4e6b2db15557585785)
- Clean up adding import as object pattern (10ba4654d5996a29c26bd15511fd62ca3d505af2)
- Make importedName optional in ImportSpecifierType (9f8d6dc6a95cd1072068a89961864658ff4d7e98)
- Add utility importModule getImportSpecifiers (d8249e8a4fd7bf09aab0ddc1c3382ad6865da3a2)
v1.0.5
Patch Changes
- Use closest API to find package import variable declaration (3b3401a5adf3f861ba05bb5204257d23ef7a7eb4)
- Skip transformation if "aws-sdk" import is not present (858acade9ac8c9ff77f77939b772a9c0cb65e289)
v1.0.4
Patch Changes
- Bump jscodeshift to v0.15.2 (8f6959683ccfce2917dbd67ff499b458573a1c23)
v1.0.3
Patch Changes
- Enable all supported extensions by default in config (c8343a780126c5ebc22854f1694ef4890a925ee8)
- Transform clients published between 2023-11-14 and 2024-02-21 (110295c603b7a2dc555a8fa53cf0ff94f55fe974)
v1.0.2
Patch Changes
- Explicitly pass all extensions by default when calling jscodeshift (9b6cca76e876d7e6e4aa76c5c65d2e80a0b0199e)
v1.0.1
Patch Changes
- Bump jscodeshift to v0.15.1 (c04ed748e9702077e2dcd5f39c26b9708d2d78ae)
v1.0.0
Major Changes
- Transform JS SDK APIs to v3 from static imports of aws-sdk v2
- Default Import
- Namespace Import
- Variable Require
- Import Equals
- Named Import
- Named Import with a local name
- ObjectPattern Require
- ObjectPattern Require with a local name
- Variable Require Property
- Variable Require Property with a local name
- Default Import with deep path
- Namespace Import with deep path
- Variable Require with deep path
- Import Equals with deep path
- Transform JS SDK client creations in v2 to v3
- When client name is same
- When client name is different
- When client is imported with a local name
- Transform simple JS SDK config from v2 to v3 which is deprecated, not supported, replaced or renamed
- Remove
.promise()
from JS SDK API calls - Transform JS SDK v2 TypeScript types to v3
- Remove redundant JS SDK v2 TypeScript types
- Transform waiter
waitFor
calls withwaitUntil*
functions - Transform JS SDK v2 credential providers and chains to v3
- Transform JS SDK v2 token providers and chains to v3
- Transform DynamoDB DocumentClient from v2 to v3
- Transform S3 getSignedUrl APIs from v2 to v3
- Transform S3 multi-part upload APIs from v2 to v3