From b6c9dc9a795b4c9ef271ea2cc2d6f3185d24ae91 Mon Sep 17 00:00:00 2001 From: Tomas Gerulaitis Date: Thu, 25 Jul 2024 10:06:09 +0100 Subject: [PATCH 1/2] Add changelog --- CHANGELOG.md | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9973444 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,103 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased](https://github.com/Space48/cloud-seed/compare/v2.1.0...HEAD) + +### Breaking changes + +- `GCP_PROJECT` environment variable added by Cloud Seed has been renamed to `CLOUD_SEED_PROJECT`. Update any references to it in function code. +- `GCP_REGION` environment variable added by Cloud Seed has been renamed to `CLOUD_SEED_REGION`. Update any references to it in function code. +- `NODE_ENV` environment variable added by Cloud Seed has been renamed to `CLOUD_SEED_ENVIRONMENT`. Update any references to it in function code. Note: GCP always sets the `NODE_ENV` environment variable to `production` for deployed functions, which may affect how any NPM dependencies you have installed function. + +### Added + +- Environment-level function configuration overrides in `runtimeConfig` + +### Fixed + +- `GCP_PROJECT` and `NODE_ENV` environment variables are reserved in GCP and can not be set by the user + +## [v2.1.0](https://github.com/Space48/cloud-seed/compare/v2.0.1...v2.1.0) - 2024-07-08 + +### Added + +- Support for specifying timezones for cloud scheduler jobs in `runtimeConfig` + +## [v2.0.1](https://github.com/Space48/cloud-seed/compare/v2.0.0...v2.0.1) - 2024-06-10 + +### Fixed + +- Public http functions on gen2 are now correctly exposed without authentication + +## [v2.0.0](https://github.com/Space48/cloud-seed/compare/v1.3.0...v2.0.0) - 2024-06-10 + +### Breaking changes + +- Functions will use gen2 by default and will cause any existing functions to be redeployed as gen2. To keep existing functions on gen1, add `version: "gen1"` to the `runtimeConfig`. + +### Added + +- Support GCP Cloud Functions (2nd gen) + +## [v1.3.0](https://github.com/Space48/cloud-seed/compare/v1.2.2...v1.3.0) - 2022-09-05 + +### Breaking changes + +- The `--env` command line option is now required for `cloud-seed build`. Update any pipelines to `--env dev` to retain existing functionality. +- GCP functions now require a runtime to be specified. Any existing functions that previously used the default value for the runtime will require `runtime: "nodejs14"` to be added to their `runtimeConfig`. + +### Added + +- Support for GCP Functions triggered by Cloud Tasks queues + +### Changed + +- `cloud-seed build` command now requires the `--env` command line option to be specified +- GCP functions now require a runtime to be specified and no longer default to using Node v14 +- CDKTF providers are now added as NPM dependencies and their versions are controlled in `package.json` + +## [v1.2.2](https://github.com/Space48/cloud-seed/compare/v1.2.1...v1.2.2) - 2022-08-16 + +### Fixed + +- Fixed race condition where public permissions for functions were created before the function itself + +## [v1.2.1](https://github.com/Space48/cloud-seed/compare/v1.2.0...v1.2.1) - 2022-07-19 + +### Added + +- Added `minInstances` and `maxInstances` options to `runtimeConfig` + +## [v1.2.0](https://github.com/Space48/cloud-seed/compare/1.1.1...v1.2.0) - 2022-05-05 + +### Fixed + +- Fixes for critical bugs introduced in 1.1.x releases + +## [v1.1.1](https://github.com/Space48/cloud-seed/compare/1.1.0...1.1.1) - 2022-05-04 + +### Fixed + +- Changed the length of VPC access connector names to comply with naming regex + +## [v1.1.0](https://github.com/Space48/cloud-seed/compare/1.0.1...1.1.0) - 2022-04-27 + +### Fixed + +- Handle conflicts with source code bucket names + +## [v1.0.1](https://github.com/Space48/cloud-seed/compare/1.0.0...1.0.1) - 2022-04-08 + +### Added + +- Added `retryOnFailure` option to `runtimeConfig` + +## [v1.0.0](https://github.com/Space48/cloud-seed/tree/v1.0.0-rc) - 2022-04-04 + +### Added + +- Initial full release From cea1fd6dcfcd5ec2458c0ae6ab7896ae50fdf97b Mon Sep 17 00:00:00 2001 From: Tomas Gerulaitis Date: Thu, 25 Jul 2024 10:20:56 +0100 Subject: [PATCH 2/2] Release v3.0.0 --- CHANGELOG.md | 4 +++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9973444..ebd422d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/Space48/cloud-seed/compare/v2.1.0...HEAD) +## [Unreleased](https://github.com/Space48/cloud-seed/compare/v3.0.0...HEAD) + +## [v3.0.0](https://github.com/Space48/cloud-seed/compare/v2.1.0...v3.0.0) ### Breaking changes diff --git a/package-lock.json b/package-lock.json index 880c92f..2b9a08c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@space48/cloud-seed", - "version": "2.1.0", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@space48/cloud-seed", - "version": "2.1.0", + "version": "3.0.0", "license": "ISC", "dependencies": { "@cdktf/provider-archive": "^10.0.1", diff --git a/package.json b/package.json index bb85fec..5578aa9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@space48/cloud-seed", - "version": "2.1.0", + "version": "3.0.0", "description": "Cloud infrastructure automation tool that uses Terraform CDK.", "main": "dist/index.js", "bin": {