From 4f00344df54b352ffc9e335324511aa221e50f02 Mon Sep 17 00:00:00 2001 From: Romain Gautier Date: Fri, 10 Nov 2023 20:46:01 +0000 Subject: [PATCH 1/2] allow php8.3 --- package.json | 2 +- src/function/PhpFpmFunction.ts | 2 +- src/function/PhpFunction.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6cc49bf..7981c03 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "constructs": "^10.0.0" }, "dependencies": { - "@bref.sh/layers": "^2.0.51" + "@bref.sh/layers": "^2.0.61" }, "devDependencies": { "@types/lodash": "^4.14.195", diff --git a/src/function/PhpFpmFunction.ts b/src/function/PhpFpmFunction.ts index 37938b7..700f9c9 100644 --- a/src/function/PhpFpmFunction.ts +++ b/src/function/PhpFpmFunction.ts @@ -6,7 +6,7 @@ import { fpmLayer } from '../layers'; import { packagePhpCode } from '../package'; export type PhpFpmFunctionProps = Partial & { - phpVersion?: '8.0' | '8.1' | '8.2'; + phpVersion?: '8.0' | '8.1' | '8.2' | '8.3'; }; export class PhpFpmFunction extends Function { diff --git a/src/function/PhpFunction.ts b/src/function/PhpFunction.ts index 254cd1f..69a8d50 100644 --- a/src/function/PhpFunction.ts +++ b/src/function/PhpFunction.ts @@ -8,7 +8,7 @@ import { IVpc } from 'aws-cdk-lib/aws-ec2'; import { VpcForServerlessApp } from '../vpc/VpcForServerlessApp'; export type PhpFunctionProps = Partial & { - phpVersion?: '8.0' | '8.1' | '8.2'; + phpVersion?: '8.0' | '8.1' | '8.2' | '8.3'; handler: string; vpc?: IVpc | VpcForServerlessApp; }; From 2460645f9ca32604b5d1d97c7248acef005eb8dd Mon Sep 17 00:00:00 2001 From: Romain Gautier Date: Tue, 14 Nov 2023 19:25:36 +0000 Subject: [PATCH 2/2] bump layers dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7981c03..c789290 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "constructs": "^10.0.0" }, "dependencies": { - "@bref.sh/layers": "^2.0.61" + "@bref.sh/layers": "^2.0.62" }, "devDependencies": { "@types/lodash": "^4.14.195",