Fixes from three contributors, Windows support for the backend, and a fresh set of AWS icons.
SQS
- Clear a queue's dead-letter queue from Edit settings. Once a queue had a redrive policy you could change it but not remove it. Now you can. Thanks @anhnt256 (#241, fixes #209).
- New queues default to a 1 MiB maximum message size (1,048,576 bytes), AWS's current default. Thanks @sugarzzzcccsss (#244, fixes #210).
DynamoDB
- Items with sets, binary values or long numbers open in DynamoDB JSON, so saving them keeps their types. Plain JSON would turn a string set into a list and binary into a string, and round numbers a JavaScript number can't hold. Thanks @isyedhassanalii (#179, fixes #172).
- Numbers a JavaScript number holds exactly, like
9.99, still open in Plain JSON.
Windows
The backend now passes its whole test suite on Windows, and CI runs it there on every push (fixes #240):
- Learn's CLI setup writes its paths with forward slashes (
~/.aws/emulator/9297/ca.pem), so the lines work in Git Bash and every other POSIX shell. - Try it stops waiting for a server that never answers at its deadline, as it already did elsewhere.
- The dashboard stops probing as soon as one service finds a local endpoint down. On Windows it used to try every service, about two seconds each.
- The hint for rejected AWS Emulator keys names the folder with Windows separators.
Also in this release
- Official AWS icons for the 14 services that used generic ones: AppConfig, Batch, Bedrock, CloudTrail, CodeBuild, CodeCommit, CodeDeploy, CodePipeline, EKS, OpenSearch Service, MSK, Cloud Map, Verified Permissions and X-Ray. The other 34 now come from the same release of the AWS Architecture Icons, so the dashboard no longer mixes two styles.
- API Explorer no longer offers an AWS CLI command for operations the CLI removed, like EMR
RunJobFlowor SESVerifyEmailAddress. The AWS CLI tab says so, and the boto3 code makes the same call. - Endpoints are marked AWS or local by their host, so a local URL whose path mentions
amazonaws.comis no longer shown as AWS.
Known issue: Athena with botocore 1.44.17 or later
botocore 1.44.17 (December 1) calls Athena over a new protocol (REST-JSON) that AWS Emulator 1.0.813, MiniStack 1.5.46, Floci and Moto 5.2.6 don't answer yet, so Athena work groups may show as unavailable with a current botocore. StackPort needs no change for it; it will work again as each emulator adds the new protocol. I've let MiniStack know (ministackorg/ministack#2868).
Full changelog: v0.4.15...v0.4.16