You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **AWS SDK for JavaScript v3 RC** is a rewrite of V2 with some great new features. As with version 2, it enables you to easily work with [Amazon Web Services](https://aws.amazon.com/), but has been written in TypeScript and adds several frequently requested features, like modularized packages.
8
+
The **AWS SDK for JavaScript v3** is a rewrite of v2 with some great new features.
9
+
As with version 2, it enables you to easily work with [Amazon Web Services](https://aws.amazon.com/),
10
+
but has a [modular architecture](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) with a separate package for each service.
11
+
It also includes many frequently requested features, such as a [first-class TypeScript support](https://aws.amazon.com/blogs/developer/first-class-typescript-support-in-modular-aws-sdk-for-javascript/)
12
+
and a [new middleware stack](https://aws.amazon.com/blogs/developer/middleware-stack-modular-aws-sdk-js/).
9
13
10
-
Many aspects of the SDK have been refactored and cleaned up, in addition to generating service client packages instead of hydrating services at SDK runtime. The v3 RC is your chance to influence the direction of the new AWS SDK for JavaScript. Tell us what you like, tell us what you don’t like by [opening an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). Your feedback matters to us.
11
-
12
-
## Production Readiness
13
-
14
-
This project is a Release Candidate (RC). We want feedback from you. We will avoid breaking changes unless absolutely necessary.
15
-
16
-
The new AWS SDK for JavaScript will also be able to run alongside the version 2.x SDK in the same package to allow partial migration to the new product. As we get close to general availability for version 3, we’ll share a more detailed plan on how we’ll support the 2.x line.
14
+
For more details, visit blog post on [general availability of Modular AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-aws-sdk-for-javascript-is-now-generally-available/).
17
15
18
16
## Getting started
19
17
@@ -80,7 +78,7 @@ It is also possible to import both versions of the Lambda client by changing the
80
78
81
79
### API changes
82
80
83
-
We’ve made several public API changes to improve consistency, make the SDK easier to use, and remove deprecated or confusing APIs. The following are some of the big changes included in the new AWS SDK for JavaScript v3 rc.
81
+
We’ve made several public API changes to improve consistency, make the SDK easier to use, and remove deprecated or confusing APIs. The following are some of the big changes included in the new AWS SDK for JavaScript v3.
84
82
85
83
#### Configuration
86
84
@@ -90,7 +88,7 @@ However, these configurations would first be merged automatically into a copy of
90
88
Also, calling `AWS.config.update({/* params */})` only updated configuration for service clients instantiated after the update call was made, not any existing clients.
91
89
92
90
This behavior was a frequent source of confusion, and made it difficult to add configuration to the global object that only affects a subset of service clients in a forward-compatible way.
93
-
In v3 rc, there is no longer a global configuration managed by the SDK.
91
+
In v3, there is no longer a global configuration managed by the SDK.
94
92
Configuration must be passed to each service client that is instantiated.
95
93
It is still possible to share the same configuration across multiple clients but that configuration will not be automatically merged with a global state.
96
94
@@ -152,26 +150,25 @@ All clients have been published to NPM and can be installed as described above.
152
150
yarn pack .
153
151
```
154
152
155
-
`yarn pack` will create an archive file in the client package folder, e.g. `aws-sdk-client-dynamodb-v1.0.0-rc.1.tgz`.
153
+
`yarn pack` will create an archive file in the client package folder, e.g. `aws-sdk-client-dynamodb-v3.0.0.tgz`.
156
154
157
155
1. Change directory to the project you are working on and move the archive to the location to store the vendor packages:
0 commit comments