feat!: Update MongoDB version to 8.0 #1392
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The default version of MongoDB installed by RFDK is 3.6, which became end of life quite a long time ago https://www.mongodb.com/legal/support-policy/lifecycles
Solution
Remove support for MongoDB 3.6 and add support for 8.0 by default (this is the latest version of MongoDB at this time). This required a few tweaks since the API changed. Also, I noticed the Node JS mongodb driver was quite old as well, so that's been bumped to the latest version.
Finally, I added
ap-southeast-5
to our denylist of regions for the lambda-layers package, as it's not enabled by default and is a new region since the last time we updated it.Testing
staged
directory when runningyarn clean
. I've updated the cleanup script to remove all generated directories for integration tests (just runyarn clean
from the root of the package)All-In-AWS-Infrastructure-Basic
example with the current mainline changesyarn clean && git clean -fxd
to ensure I had a clean environment./deadlinecommand.exe -SubmitCommandLineJob -executable "/bin/sleep" -arguments "5" -frames 1-10 -priority 50 -name "Test Job2"
./deadlinecommand.exe -GetJobs
yarn clean && git clean -fxd
to ensure I had a clean environmentBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license