aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
3.12k stars 579 forks source link

Deprecate non-smithy preview versions #1397

Closed trivikr closed 3 years ago

trivikr commented 4 years ago

Is your feature request related to a problem? Please describe. Some users mistakenly use old preview versions (0.1.0-preview.N) of AWS SDK for JavaScript v3. For example: https://github.com/aws/aws-sdk-js-v3/issues/1396

Describe the solution you'd like Deprecate non-smithy preview versions of AWS SDK for JavaScript

Describe alternatives you've considered Responding to users requesting them to switch to latest prerelease versions

trivikr commented 4 years ago

Other issues:

trivikr commented 4 years ago

Recent issues preview versions: https://github.com/aws/aws-sdk-js-v3/issues/1581

alexforsyth commented 4 years ago

Need to run script on NPM to get rid of these old versions or mark them somehow

trivikr commented 3 years ago

npm deprecate documentation: https://docs.npmjs.com/cli/v6/commands/npm-deprecate

trivikr commented 3 years ago

The list was created by comparing the master branch which contains smithy versions with preview-stale branch which contains non-smithy versions.

@aws-sdk/client-*-node packages to deprecate ``` @aws-sdk/client-acm-node @aws-sdk/client-acm-pca-node @aws-sdk/client-alexa-for-business-node @aws-sdk/client-amplify-node @aws-sdk/client-apigatewaymanagementapi-node @aws-sdk/client-api-gateway-node @aws-sdk/client-apigatewayv2-node @aws-sdk/client-application-auto-scaling-node @aws-sdk/client-application-discovery-service-node @aws-sdk/client-application-insights-node @aws-sdk/client-app-mesh-node @aws-sdk/client-appstream-node @aws-sdk/client-appsync-node @aws-sdk/client-athena-node @aws-sdk/client-auto-scaling-node @aws-sdk/client-auto-scaling-plans-node @aws-sdk/client-backup-node @aws-sdk/client-batch-node @aws-sdk/client-budgets-node @aws-sdk/client-chime-node @aws-sdk/client-cloud9-node @aws-sdk/client-clouddirectory-node @aws-sdk/client-cloudformation-node @aws-sdk/client-cloudfront-node @aws-sdk/client-cloudhsm-node @aws-sdk/client-cloudhsm-v2-node @aws-sdk/client-cloudsearch-domain-node @aws-sdk/client-cloudsearch-node @aws-sdk/client-cloudtrail-node @aws-sdk/client-cloudwatch-events-node @aws-sdk/client-cloudwatch-logs-node @aws-sdk/client-cloudwatch-node @aws-sdk/client-codebuild-node @aws-sdk/client-codecommit-node @aws-sdk/client-codedeploy-node @aws-sdk/client-codepipeline-node @aws-sdk/client-codestar-node @aws-sdk/client-cognito-identity-node @aws-sdk/client-cognito-identity-provider-node @aws-sdk/client-cognito-sync-node @aws-sdk/client-comprehendmedical-node @aws-sdk/client-comprehend-node @aws-sdk/client-config-service-node @aws-sdk/client-connect-node @aws-sdk/client-cost-and-usage-report-service-node @aws-sdk/client-cost-explorer-node @aws-sdk/client-database-migration-service-node @aws-sdk/client-data-pipeline-node @aws-sdk/client-datasync-node @aws-sdk/client-dax-node @aws-sdk/client-device-farm-node @aws-sdk/client-direct-connect-node @aws-sdk/client-directory-service-node @aws-sdk/client-dlm-node @aws-sdk/client-docdb-node @aws-sdk/client-dynamodb-node @aws-sdk/client-dynamodb-streams-node @aws-sdk/client-ec2-instance-connect-node @aws-sdk/client-ec2-node @aws-sdk/client-ecr-node @aws-sdk/client-ecs-node @aws-sdk/client-efs-node @aws-sdk/client-eks-node @aws-sdk/client-elasticache-node @aws-sdk/client-elastic-beanstalk-node @aws-sdk/client-elastic-load-balancing-node @aws-sdk/client-elastic-load-balancing-v2-node @aws-sdk/client-elasticsearch-service-node @aws-sdk/client-elastic-transcoder-node @aws-sdk/client-emr-node @aws-sdk/client-eventbridge-node @aws-sdk/client-firehose-node @aws-sdk/client-fms-node @aws-sdk/client-fsx-node @aws-sdk/client-gamelift-node @aws-sdk/client-glacier-node @aws-sdk/client-global-accelerator-node @aws-sdk/client-glue-node @aws-sdk/client-greengrass-node @aws-sdk/client-groundstation-node @aws-sdk/client-guardduty-node @aws-sdk/client-health-node @aws-sdk/client-iam-node @aws-sdk/client-inspector-node @aws-sdk/client-iot-1click-devices-service-node @aws-sdk/client-iot-1click-projects-node @aws-sdk/client-iotanalytics-node @aws-sdk/client-iot-data-plane-node @aws-sdk/client-iot-events-data-node @aws-sdk/client-iot-events-node @aws-sdk/client-iot-jobs-data-plane-node @aws-sdk/client-iot-node @aws-sdk/client-iotthingsgraph-node @aws-sdk/client-kafka-node @aws-sdk/client-kinesis-analytics-node @aws-sdk/client-kinesis-analytics-v2-node @aws-sdk/client-kinesis-node @aws-sdk/client-kinesis-video-archived-media-node @aws-sdk/client-kinesis-video-media-node @aws-sdk/client-kinesis-video-node @aws-sdk/client-kms-node @aws-sdk/client-lambda-node @aws-sdk/client-lex-model-building-service-node @aws-sdk/client-lex-runtime-service-node @aws-sdk/client-license-manager-node @aws-sdk/client-lightsail-node @aws-sdk/client-machine-learning-node @aws-sdk/client-macie-node @aws-sdk/client-managedblockchain-node @aws-sdk/client-marketplace-commerce-analytics-node @aws-sdk/client-marketplace-entitlement-service-node @aws-sdk/client-marketplace-metering-node @aws-sdk/client-mediaconnect-node @aws-sdk/client-mediaconvert-node @aws-sdk/client-medialive-node @aws-sdk/client-mediapackage-node @aws-sdk/client-mediapackage-vod-node @aws-sdk/client-mediastore-data-node @aws-sdk/client-mediastore-node @aws-sdk/client-mediatailor-node @aws-sdk/client-migration-hub-node @aws-sdk/client-mobile-node @aws-sdk/client-mq-node @aws-sdk/client-mturk-node @aws-sdk/client-neptune-node @aws-sdk/client-opsworkscm-node @aws-sdk/client-opsworks-node @aws-sdk/client-organizations-node @aws-sdk/client-personalize-events-node @aws-sdk/client-personalize-node @aws-sdk/client-personalize-runtime-node @aws-sdk/client-pi-node @aws-sdk/client-pinpoint-email-node @aws-sdk/client-pinpoint-node @aws-sdk/client-pinpoint-sms-voice-node @aws-sdk/client-polly-node @aws-sdk/client-pricing-node @aws-sdk/client-quicksight-node @aws-sdk/client-ram-node @aws-sdk/client-rds-data-node @aws-sdk/client-rds-node @aws-sdk/client-redshift-node @aws-sdk/client-rekognition-node @aws-sdk/client-resource-groups-node @aws-sdk/client-resource-groups-tagging-api-node @aws-sdk/client-robomaker-node @aws-sdk/client-route-53-domains-node @aws-sdk/client-route-53-node @aws-sdk/client-route53resolver-node @aws-sdk/client-s3-control-node @aws-sdk/client-s3-node @aws-sdk/client-sagemaker-node @aws-sdk/client-sagemaker-runtime-node @aws-sdk/client-secrets-manager-node @aws-sdk/client-securityhub-node @aws-sdk/client-serverlessapplicationrepository-node @aws-sdk/client-service-catalog-node @aws-sdk/client-servicediscovery-node @aws-sdk/client-service-quotas-node @aws-sdk/client-ses-node @aws-sdk/client-sfn-node @aws-sdk/client-shield-node @aws-sdk/client-signer-node @aws-sdk/client-sms-node @aws-sdk/client-snowball-node @aws-sdk/client-sns-node @aws-sdk/client-sqs-node @aws-sdk/client-ssm-node @aws-sdk/client-storage-gateway-node @aws-sdk/client-sts-node @aws-sdk/client-support-node @aws-sdk/client-swf-node @aws-sdk/client-textract-node @aws-sdk/client-transcribe-node @aws-sdk/client-transfer-node @aws-sdk/client-translate-node @aws-sdk/client-waf-node @aws-sdk/client-waf-regional-node @aws-sdk/client-workdocs-node @aws-sdk/client-worklink-node @aws-sdk/client-workmail-node @aws-sdk/client-workspaces-node @aws-sdk/client-xray-node ```
@aws-sdk/client-*-browser packages to deprecate ``` @aws-sdk/client-acm-browser @aws-sdk/client-acm-pca-browser @aws-sdk/client-alexa-for-business-browser @aws-sdk/client-amplify-browser @aws-sdk/client-api-gateway-browser @aws-sdk/client-apigatewaymanagementapi-browser @aws-sdk/client-apigatewayv2-browser @aws-sdk/client-application-auto-scaling-browser @aws-sdk/client-application-discovery-service-browser @aws-sdk/client-application-insights-browser @aws-sdk/client-app-mesh-browser @aws-sdk/client-appstream-browser @aws-sdk/client-appsync-browser @aws-sdk/client-athena-browser @aws-sdk/client-auto-scaling-browser @aws-sdk/client-auto-scaling-plans-browser @aws-sdk/client-backup-browser @aws-sdk/client-batch-browser @aws-sdk/client-budgets-browser @aws-sdk/client-chime-browser @aws-sdk/client-cloud9-browser @aws-sdk/client-clouddirectory-browser @aws-sdk/client-cloudformation-browser @aws-sdk/client-cloudfront-browser @aws-sdk/client-cloudhsm-browser @aws-sdk/client-cloudhsm-v2-browser @aws-sdk/client-cloudsearch-browser @aws-sdk/client-cloudsearch-domain-browser @aws-sdk/client-cloudtrail-browser @aws-sdk/client-cloudwatch-browser @aws-sdk/client-cloudwatch-events-browser @aws-sdk/client-cloudwatch-logs-browser @aws-sdk/client-codebuild-browser @aws-sdk/client-codecommit-browser @aws-sdk/client-codedeploy-browser @aws-sdk/client-codepipeline-browser @aws-sdk/client-codestar-browser @aws-sdk/client-cognito-identity-browser @aws-sdk/client-cognito-identity-provider-browser @aws-sdk/client-cognito-sync-browser @aws-sdk/client-comprehend-browser @aws-sdk/client-comprehendmedical-browser @aws-sdk/client-config-service-browser @aws-sdk/client-connect-browser @aws-sdk/client-cost-and-usage-report-service-browser @aws-sdk/client-cost-explorer-browser @aws-sdk/client-database-migration-service-browser @aws-sdk/client-data-pipeline-browser @aws-sdk/client-datasync-browser @aws-sdk/client-dax-browser @aws-sdk/client-device-farm-browser @aws-sdk/client-direct-connect-browser @aws-sdk/client-directory-service-browser @aws-sdk/client-dlm-browser @aws-sdk/client-docdb-browser @aws-sdk/client-dynamodb-browser @aws-sdk/client-dynamodb-streams-browser @aws-sdk/client-ec2-browser @aws-sdk/client-ec2-instance-connect-browser @aws-sdk/client-ecr-browser @aws-sdk/client-ecs-browser @aws-sdk/client-efs-browser @aws-sdk/client-eks-browser @aws-sdk/client-elasticache-browser @aws-sdk/client-elastic-beanstalk-browser @aws-sdk/client-elastic-load-balancing-browser @aws-sdk/client-elastic-load-balancing-v2-browser @aws-sdk/client-elasticsearch-service-browser @aws-sdk/client-elastic-transcoder-browser @aws-sdk/client-emr-browser @aws-sdk/client-eventbridge-browser @aws-sdk/client-firehose-browser @aws-sdk/client-fms-browser @aws-sdk/client-fsx-browser @aws-sdk/client-gamelift-browser @aws-sdk/client-glacier-browser @aws-sdk/client-global-accelerator-browser @aws-sdk/client-glue-browser @aws-sdk/client-greengrass-browser @aws-sdk/client-groundstation-browser @aws-sdk/client-guardduty-browser @aws-sdk/client-health-browser @aws-sdk/client-iam-browser @aws-sdk/client-inspector-browser @aws-sdk/client-iot-1click-devices-service-browser @aws-sdk/client-iot-1click-projects-browser @aws-sdk/client-iotanalytics-browser @aws-sdk/client-iot-browser @aws-sdk/client-iot-data-plane-browser @aws-sdk/client-iot-events-browser @aws-sdk/client-iot-events-data-browser @aws-sdk/client-iot-jobs-data-plane-browser @aws-sdk/client-iotthingsgraph-browser @aws-sdk/client-kafka-browser @aws-sdk/client-kinesis-analytics-browser @aws-sdk/client-kinesis-analytics-v2-browser @aws-sdk/client-kinesis-browser @aws-sdk/client-kinesis-video-archived-media-browser @aws-sdk/client-kinesis-video-browser @aws-sdk/client-kinesis-video-media-browser @aws-sdk/client-kms-browser @aws-sdk/client-lambda-browser @aws-sdk/client-lex-model-building-service-browser @aws-sdk/client-lex-runtime-service-browser @aws-sdk/client-license-manager-browser @aws-sdk/client-lightsail-browser @aws-sdk/client-machine-learning-browser @aws-sdk/client-macie-browser @aws-sdk/client-managedblockchain-browser @aws-sdk/client-marketplace-commerce-analytics-browser @aws-sdk/client-marketplace-entitlement-service-browser @aws-sdk/client-marketplace-metering-browser @aws-sdk/client-mediaconnect-browser @aws-sdk/client-mediaconvert-browser @aws-sdk/client-medialive-browser @aws-sdk/client-mediapackage-browser @aws-sdk/client-mediapackage-vod-browser @aws-sdk/client-mediastore-browser @aws-sdk/client-mediastore-data-browser @aws-sdk/client-mediatailor-browser @aws-sdk/client-migration-hub-browser @aws-sdk/client-mobile-browser @aws-sdk/client-mq-browser @aws-sdk/client-mturk-browser @aws-sdk/client-neptune-browser @aws-sdk/client-opsworks-browser @aws-sdk/client-opsworkscm-browser @aws-sdk/client-organizations-browser @aws-sdk/client-personalize-browser @aws-sdk/client-personalize-events-browser @aws-sdk/client-personalize-runtime-browser @aws-sdk/client-pi-browser @aws-sdk/client-pinpoint-browser @aws-sdk/client-pinpoint-email-browser @aws-sdk/client-pinpoint-sms-voice-browser @aws-sdk/client-polly-browser @aws-sdk/client-pricing-browser @aws-sdk/client-quicksight-browser @aws-sdk/client-ram-browser @aws-sdk/client-rds-browser @aws-sdk/client-rds-data-browser @aws-sdk/client-redshift-browser @aws-sdk/client-rekognition-browser @aws-sdk/client-resource-groups-browser @aws-sdk/client-resource-groups-tagging-api-browser @aws-sdk/client-robomaker-browser @aws-sdk/client-route-53-browser @aws-sdk/client-route-53-domains-browser @aws-sdk/client-route53resolver-browser @aws-sdk/client-s3-browser @aws-sdk/client-s3-control-browser @aws-sdk/client-sagemaker-browser @aws-sdk/client-sagemaker-runtime-browser @aws-sdk/client-secrets-manager-browser @aws-sdk/client-securityhub-browser @aws-sdk/client-serverlessapplicationrepository-browser @aws-sdk/client-service-catalog-browser @aws-sdk/client-servicediscovery-browser @aws-sdk/client-service-quotas-browser @aws-sdk/client-ses-browser @aws-sdk/client-sfn-browser @aws-sdk/client-shield-browser @aws-sdk/client-signer-browser @aws-sdk/client-sms-browser @aws-sdk/client-snowball-browser @aws-sdk/client-sns-browser @aws-sdk/client-sqs-browser @aws-sdk/client-ssm-browser @aws-sdk/client-storage-gateway-browser @aws-sdk/client-sts-browser @aws-sdk/client-support-browser @aws-sdk/client-swf-browser @aws-sdk/client-textract-browser @aws-sdk/client-transcribe-browser @aws-sdk/client-transfer-browser @aws-sdk/client-translate-browser @aws-sdk/client-waf-browser @aws-sdk/client-waf-regional-browser @aws-sdk/client-workdocs-browser @aws-sdk/client-worklink-browser @aws-sdk/client-workmail-browser @aws-sdk/client-workspaces-browser @aws-sdk/client-xray-browser ```
Other packages to deprecate ``` @aws-sdk/add-glacier-checksum-headers-browser @aws-sdk/add-glacier-checksum-headers-node @aws-sdk/add-glacier-checksum-headers-universal @aws-sdk/apply-body-checksum-middleware @aws-sdk/bucket-endpoint-middleware @aws-sdk/build-types @aws-sdk/core-handler @aws-sdk/ec2-error-unmarshaller @aws-sdk/http-headers @aws-sdk/http-serialization @aws-sdk/is-iterable @aws-sdk/is-node @aws-sdk/json-builder @aws-sdk/json-error-unmarshaller @aws-sdk/json-parser @aws-sdk/location-constraint-middleware @aws-sdk/logger @aws-sdk/md5-universal @aws-sdk/middleware-ec2-copysnapshot @aws-sdk/middleware-input-default @aws-sdk/middleware-operation-logging @aws-sdk/middleware-rds-presignedurl @aws-sdk/middleware-serializer @aws-sdk/modeled-endpoint-middleware @aws-sdk/package-generator @aws-sdk/protocol-json-rpc @aws-sdk/protocol-query @aws-sdk/protocol-rest @aws-sdk/protocol-timestamp @aws-sdk/query-builder @aws-sdk/query-error-unmarshaller @aws-sdk/query-request-presigner @aws-sdk/region-provider @aws-sdk/remove-sensitive-logs @aws-sdk/response-metadata-extractor @aws-sdk/retry-middleware @aws-sdk/route53-id-normalizer-middleware @aws-sdk/s3-error-unmarshaller @aws-sdk/service-model @aws-sdk/service-types-generator @aws-sdk/signature-v4-browser @aws-sdk/signature-v4-node @aws-sdk/signature-v4-universal @aws-sdk/signing-middleware @aws-sdk/ssec-middleware @aws-sdk/stream-collector-browser @aws-sdk/stream-collector-node @aws-sdk/test-protocol-rest-json @aws-sdk/test-protocol-rest-xml @aws-sdk/url-parser-universal @aws-sdk/util-base64-universal @aws-sdk/util-error-constructor @aws-sdk/util-utf8-universal @aws-sdk/xml-body-builder @aws-sdk/xml-body-parser ```
trivikr commented 3 years ago

All the client packages preview versions were deprecated.

Testing with @aws-sdk/client-dynamodb-browser for example:

npm install ```console $ npm install @aws-sdk/client-dynamodb-browser npm WARN deprecated @aws-sdk/client-dynamodb-browser@0.1.0-preview.2: The package @aws-sdk/client-dynamodb-browser has been renamed to @aws-sdk/client-dynamodb. Please install the renamed package. ```
npm view ```console $ npm view @aws-sdk/client-dynamodb-browser @aws-sdk/client-dynamodb-browser@0.1.0-preview.2 | Apache-2.0 | deps: 23 | versions: 8 Browser SDK for Amazon DynamoDB DEPRECATED ⚠️ - The package @aws-sdk/client-dynamodb-browser has been renamed to @aws-sdk/client-dynamodb. Please install the renamed package. ```
npmjs website [![client-dynamodb-browser-deprecation-message](https://user-images.githubusercontent.com/16024985/104376515-f893bc00-54d9-11eb-8f54-d9de8711e4e2.png)](https://www.npmjs.com/package/@aws-sdk/client-dynamodb-browser)
trivikr commented 3 years ago

All the non-client packages preview versions were deprecated.

Testing with @aws-sdk/package-generator for example:

npm install ```console npm install @aws-sdk/package-generator npm WARN deprecated @aws-sdk/package-generator@0.1.0-preview.2: The package @aws-sdk/package-generator was released in Developer Preview. It is no longer supported. npm WARN deprecated @aws-sdk/build-types@0.1.0-preview.1: The package @aws-sdk/build-types was released in Developer Preview. It is no longer supported. npm WARN deprecated @aws-sdk/service-model@0.1.0-preview.2: The package @aws-sdk/service-model was released in Developer Preview. It is no longer supported. npm WARN deprecated @aws-sdk/service-types-generator@0.1.0-preview.2: The package @aws-sdk/service-types-generator was released in Developer Preview. It is no longer supported. ```
npm view ```console $ npm view @aws-sdk/package-generator @aws-sdk/package-generator@0.1.0-preview.2 | Apache-2.0 | deps: 9 | versions: 6 Provides a command-line tool for generating the various types of packages that constitute the AWS SDK for JavaScript DEPRECATED ⚠️ - The package @aws-sdk/package-generator was released in Developer Preview. It is no longer supported. ```
npmjs website [![package-generator-deprecation-message](https://user-images.githubusercontent.com/16024985/104378982-a5bc0380-54dd-11eb-833b-1d22cb19aa5a.png)](https://www.npmjs.com/package/@aws-sdk/package-generator)
github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.