Skip to content

Commit 3c4499a

Browse files
committed
v0.19.0 release prep
1 parent 21676fe commit 3c4499a

5 files changed

Lines changed: 17 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## [0.19.0] - 2026-03-17
11+
12+
DocumentDB major version update functionality. This version introduces some changes that allow for a manual blue/green migration of docdb versions. See [[README_docdb_upgrade.md]].
13+
1014
### Added
1115

1216
- library update from 17 vulnerabilities (2 low, 7 moderate, 7 high, 1 critical) to 5 vulnerabilities (2 low, 3 high)

README_docdb_upgrade.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Keep the app pointed at the current (blue) DocumentDB endpoint while you deploy
1616

1717
The examples below use `caccl-deploy stack ... changeset` instead of `deploy` to prepare a change set for inspection in the CloudFormation console. This is a safer workflow than relying on `cdk diff` alone.
1818

19+
If you prefer, you can use `./bin/docdb-config-for-upgrade.sh` for the update steps instead of running each `caccl-deploy update ...` command manually.
20+
1921
## Migration Steps
2022

2123
### 1. Preparation
@@ -49,6 +51,7 @@ caccl-deploy stack --app <app> changeset
4951
caccl-deploy update --app <app> dbOptions/engineVersion 5.0.0
5052
caccl-deploy update --app <app> dbOptions/parameterGroupFamily docdb5.0
5153
caccl-deploy update --app <app> dbOptions/docdbUseVersionSuffix true
54+
caccl-deploy update --app <app> lbOptions/targetDeregistrationDelay 5
5255
```
5356

5457
2. Inspect the diff; you should see the blue resources marked as `orphan` and new green resources added.
@@ -120,7 +123,12 @@ This will update the task definition and roll the ECS service to the green clust
120123

121124
1. QA/test the redeployed app.
122125
2. Stop and delete the DMS task and endpoints.
123-
3. Delete the old blue cluster when you are comfortable to do so (after a final snapshot if desired).
126+
3. Reset the load balancer deregistration delay:
127+
128+
```bash
129+
caccl-deploy update --app <app> -D lbOptions/targetDeregistrationDelay
130+
```
131+
4. Delete the old blue cluster when you are comfortable to do so (after a final snapshot if desired).
124132

125133
### Final state
126134

bin/docdb-config-for-upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ case "$UPGRADE_STEP" in
2525
caccl-deploy update --app "$APP_NAME" dbOptions/docdbUseVersionSuffix true
2626
caccl-deploy update --app "$APP_NAME" dbOptions/engineVersion 5.0.0
2727
caccl-deploy update --app "$APP_NAME" dbOptions/parameterGroupFamily docdb5.0
28-
caccl-deploy update --app "$APP_NAME" lbOptions/targetDeregistrationDelay 0
28+
caccl-deploy update --app "$APP_NAME" lbOptions/targetDeregistrationDelay 5
2929
;;
3030
post)
3131
caccl-deploy update --app "$APP_NAME" -D dbOptions/clusterEndpointOverride

npm-shrinkwrap.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "caccl-deploy",
3-
"version": "0.18.2",
3+
"version": "0.19.0",
44
"description": "A cli tool for managing ECS/Fargate app deployments",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)