From 1661d6561d74a96dc5f35ebdbc1cbf384cb8a4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20=C5=BDia=C4=8Dik?= Date: Mon, 24 Jun 2024 20:15:40 +0200 Subject: [PATCH] feat(azure-func): upgrade @azure/functions to 4.5.0 --- packages/azure-func/CHANGELOG.md | 1 + packages/azure-func/migrations.json | 9 +++++++++ .../src/generators/application/generator.spec.ts | 2 +- .../azure-func/src/generators/application/generator.ts | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/azure-func/CHANGELOG.md b/packages/azure-func/CHANGELOG.md index 655edf0..60433a4 100644 --- a/packages/azure-func/CHANGELOG.md +++ b/packages/azure-func/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.1.0] - 2024-06-24 - Upgraded nx to 19.3.1. +- Upgraded @azure/functions to 4.5.0. ## [3.0.0] - 2024-05-12 diff --git a/packages/azure-func/migrations.json b/packages/azure-func/migrations.json index 97cd2fd..3682ee9 100644 --- a/packages/azure-func/migrations.json +++ b/packages/azure-func/migrations.json @@ -44,6 +44,15 @@ "alwaysAddToPackageJson": false } } + }, + "3.1.0": { + "version": "3.1.0", + "packages": { + "@azure/functions": { + "version": "^4.5.0", + "alwaysAddToPackageJson": false + } + } } } } diff --git a/packages/azure-func/src/generators/application/generator.spec.ts b/packages/azure-func/src/generators/application/generator.spec.ts index ac91510..d599161 100644 --- a/packages/azure-func/src/generators/application/generator.spec.ts +++ b/packages/azure-func/src/generators/application/generator.spec.ts @@ -20,7 +20,7 @@ describe('application generator', () => { const packageJson = readJson(tree, 'package.json'); expect(packageJson).toMatchObject({ dependencies: { - '@azure/functions': '^4.4.0', + '@azure/functions': '^4.5.0', }, }); }); diff --git a/packages/azure-func/src/generators/application/generator.ts b/packages/azure-func/src/generators/application/generator.ts index bb787c2..dbeb66e 100644 --- a/packages/azure-func/src/generators/application/generator.ts +++ b/packages/azure-func/src/generators/application/generator.ts @@ -140,7 +140,7 @@ function addProjectDependencies(tree: Tree): GeneratorCallback { return addDependenciesToPackageJson( tree, { - '@azure/functions': '^4.4.0', + '@azure/functions': '^4.5.0', }, {} );