Azure has released version 4.0 of the Cosmos DB JavaScript SDK. This update brings new features for working with Cosmos DB using JavaScript.