Skip to content

Commit e52c956

Browse files
authored
Merge pull request #2720 from guardian/changeset-release/main
🦋 Release package updates
2 parents 6bcba4d + 8a4264c commit e52c956

6 files changed

Lines changed: 19 additions & 35 deletions

File tree

.changeset/aws-cdk-update-v2.1018.0.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/mighty-parts-flow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/ninety-pants-leave.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/yummy-points-clap.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @guardian/cdk
22

3+
## 61.11.0
4+
5+
### Minor Changes
6+
7+
- 44adc37: feat(experimental-ec2-pattern): Echo RiffRaffDeploymentId in user-data
8+
9+
This change adds a new CloudFormation parameter, `RiffRaffDeploymentId`, to be set by Riff-Raff during deployment (see guardian/riff-raff#1469).
10+
This parameter is echoed out in the user-data. This means a redeployment of the same build creates a CloudFormation changeset with a new launch template.
11+
Consequently, the running EC2 instances are cycled. This means scheduled deployments are possible.
12+
13+
### Patch Changes
14+
15+
- 838492c: Update aws-cdk to ^2.1018.0, aws-cdk-lib to ^2.200.1, constructs to ^10.4.2
16+
- 1e87504: Remove lodash dependencies
17+
- 848d54f: Remove unused `RegexPattern.S3ARN`.
18+
19+
The regex isn't used (other than within tests of this repository), so we can safely remove it.
20+
321
## 61.10.1
422

523
### Patch Changes
@@ -62,7 +80,6 @@
6280
We'd recommend using detailed monitoring for production environments.
6381

6482
See also:
65-
6683
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-detailed-monitoring.html
6784
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
6885

@@ -197,7 +214,6 @@ If we do not, Riff-Raff will fail with an error similar to:
197214
- 3851bd2: Upgrade to ESLint 9.x and @guardian/eslint-config
198215

199216
## Upgrade Guide
200-
201217
1. Update required dependencies
202218

203219
```bash
@@ -380,7 +396,6 @@ If we do not, Riff-Raff will fail with an error similar to:
380396
- 8e1c15f: ECS task now uses GuVpc.subnetsFromParameter rather than defaulting to CDK context
381397
382398
Note that this is a breaking change, because the previous behaviour was [this](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.EcsRunTask.html#subnets)
383-
384399
- which relied on a CDK context file with details of the different subnets.
385400
386401
### Patch Changes
@@ -749,7 +764,6 @@ If we do not, Riff-Raff will fail with an error similar to:
749764
### Minor Changes
750765
751766
- edf5c7a: - Add `readonlyRootFilesystem` prop to specify whether the container is given read-only access to its root file system
752-
753767
- Add `containerInsights` prop to enable CloudWatch insights
754768
- Replace deprecated state machine definition
755769
@@ -758,7 +772,6 @@ If we do not, Riff-Raff will fail with an error similar to:
758772
### Major Changes
759773
760774
- 4548884: This change includes some potentially breaking changes for consumers of:
761-
762775
- [`GuEc2App`](https://guardian.github.io/cdk/classes/patterns.GuEc2App.html)
763776
- [`GuPlayApp`](https://guardian.github.io/cdk/classes/patterns.GuPlayApp.html) (a subclass of `GuEc2App`)
764777
- [`GuPlayWorkerApp`](https://guardian.github.io/cdk/classes/patterns.GuPlayWorkerApp.html) (a subclass of `GuEc2App`)
@@ -854,7 +867,6 @@ If we do not, Riff-Raff will fail with an error similar to:
854867
### Patch Changes
855868
856869
- 8ead267: Remove direct dependencies that should be peer ones:
857-
858870
- `aws-cdk-lib`
859871
- `constructs`
860872
@@ -924,7 +936,6 @@ If we do not, Riff-Raff will fail with an error similar to:
924936
Currently the `riff-raff.yaml` generator is not able to create dependencies between `cloud-formation` deployments. This means each `cloud-formation` deployment could happen at the same time.
925937
926938
This does not work in the scenario where we have:
927-
928939
- Stack A containing a bucket
929940
- Stack B CODE containing an app that uses A's bucket
930941
- Stack B PROD containing an app that uses A's bucket

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@guardian/cdk",
33
"description": "Generic Guardian flavoured AWS CDK components",
4-
"version": "61.10.1",
4+
"version": "61.11.0",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
77
"files": [

0 commit comments

Comments
 (0)