Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

feat: bump Golang versions #654

Merged
merged 2 commits into from
Mar 6, 2024
Merged

feat: bump Golang versions #654

merged 2 commits into from
Mar 6, 2024

Conversation

rubenfonseca
Copy link
Contributor

Description of changes: This PR bumps the supported Golang versions to the three latest stable versions: 1.20 - 1.22.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 1.55%. Comparing base (5dfc11a) to head (6f9240c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #654      +/-   ##
==========================================
- Coverage    5.25%    1.55%   -3.71%     
==========================================
  Files          30     7209    +7179     
  Lines       19433   112388   +92955     
==========================================
+ Hits         1022     1751     +729     
- Misses      18382   110509   +92127     
- Partials       29      128      +99     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rubenfonseca rubenfonseca changed the title chore: bump Golang versions feat: bump Golang versions Mar 6, 2024
@rubenfonseca rubenfonseca merged commit 9765e0a into master Mar 6, 2024
3 checks passed
@rubenfonseca rubenfonseca deleted the rf/go122 branch March 6, 2024 12:09
github-actions bot pushed a commit that referenced this pull request Mar 6, 2024
# [7.14.0](v7.13.2...v7.14.0) (2024-03-06)

### Features

* bump Golang versions ([#654](#654)) ([9765e0a](9765e0a))
Copy link
Contributor

github-actions bot commented Mar 6, 2024

🎉 This PR is included in version 7.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to trinnylondon/goformation that referenced this pull request Mar 13, 2024
# [6.0.0](v5.2.6...v6.0.0) (2024-03-13)

### Bug Fixes

* **alexa:** use the correct SkillId field ([awslabs#613](https://github.com/trinnylondon/goformation/issues/613)) ([0841bbe](0841bbe))
* **ci:** bump semantic-release-action ([510f9c6](510f9c6))
* **generate:** DependsOn should also accept a string ([09908b6](09908b6)), closes [awslabs#407](https://github.com/trinnylondon/goformation/issues/407)
* **generate:** remove duplicated line ([a18d04c](a18d04c))
* generation of AppFlow properties without type ([bfcd40f](bfcd40f))
* **generator:** remove unused import ([cf87ba6](cf87ba6))
* **generator:** updated resources that support update/creation policy ([18c08b9](18c08b9))
* **intrinsics:** continue to process children when transforming ([awslabs#599](https://github.com/trinnylondon/goformation/issues/599)) ([396f0fe](396f0fe))
* **intrinsics:** split function ([286dd4c](286dd4c))
* **intrinsics:** SplitPtr also as string ([86436f5](86436f5))
* **policies:** re-create deleted files ([bdd5860](bdd5860))
* remove file that doesn't exist anymore ([cc386b7](cc386b7))
* **resource.template:** remove print to standard output when JSON unmarshal in a resource fails ([d64f719](d64f719))
* **resource.template:** remove print to standard output when JSON unmarshal in a resource fails (output of go generate) ([c039ac4](c039ac4))
* **sam:** AWS::Serverless::Function Properties Architectures property should have a primitive type specified ([awslabs#420](https://github.com/trinnylondon/goformation/issues/420)) ([3aa91ed](3aa91ed))
* **sam:** DestinationConfig shouldn't contain OnSuccess property ([awslabs#406](https://github.com/trinnylondon/goformation/issues/406)) ([6971966](6971966)), closes [awslabs#404](https://github.com/trinnylondon/goformation/issues/404)
* **schema:** Add AddDefaultAuthorizerToCorsPreflight to Serverless Auth ([637150c](637150c))
* **schema:** Add architectures support for sam functions ([awslabs#419](https://github.com/trinnylondon/goformation/issues/419)) ([b505b69](b505b69))
* **schema:** Add cdkmetada resource ([awslabs#418](https://github.com/trinnylondon/goformation/issues/418)) ([3d1b1f9](3d1b1f9))
* **schema:** add DisableExecuteApiEndpoint to Serverless API ([awslabs#538](https://github.com/trinnylondon/goformation/issues/538)) ([1ff11e8](1ff11e8))
* **schema:** Add Domain in AWS::Serverless::API schema ([dff256a](dff256a))
* **schema:** Add DynamoDBWritePolicy to sam policy template ([6f08c13](6f08c13))
* **schema:** add FunctionResponseTypes property for kinesis events ([awslabs#539](https://github.com/trinnylondon/goformation/issues/539)) ([3cff1ff](3cff1ff))
* **schema:** add HttpApi, HttpApiFunctionAuth, RouteSettings ([awslabs#541](https://github.com/trinnylondon/goformation/issues/541)) ([78913ea](78913ea))
* **schema:** Add RequestModel and RequestParameters for AWS::Serverless::Function.EventSource ([e0c2673](e0c2673))
* **schema:** Add S3WritePolicy to sam policy template ([c9f775e](c9f775e))
* **schema:** Add SSMParameterReadPolicy and AWSSecretsManagerGetSecretValuePolicy into AWS::Serverless::Function.SAMPolicyTemplate ([7a85ab9](7a85ab9))
* **schema:** Add Version property into IAMPolicyDocument and fix Statement type ([846268a](846268a))
* **schema:** AWS::CDK::Metadata resource should be automatically generated ([awslabs#421](https://github.com/trinnylondon/goformation/issues/421)) ([65569f7](65569f7)), closes [awslabs#418](https://github.com/trinnylondon/goformation/issues/418)
* **schema:** CloudFormation updates ([5dfc11a](5dfc11a))
* **schema:** CloudFormation Updates ([4bd6a73](4bd6a73))
* **schema:** CloudFormation Updates ([43c51be](43c51be))
* **schema:** CloudFormation Updates ([f482dc7](f482dc7))
* **schema:** CloudFormation Updates ([17006b2](17006b2))
* **schema:** CloudFormation Updates ([ec540cb](ec540cb))
* **schema:** CloudFormation Updates ([be36ee0](be36ee0))
* **schema:** CloudFormation Updates ([728f824](728f824))
* **schema:** CloudFormation Updates ([ecdb915](ecdb915))
* **schema:** CloudFormation Updates ([ee27593](ee27593))
* **schema:** CloudFormation Updates ([d6d5f89](d6d5f89))
* **schema:** CloudFormation Updates ([9596ea8](9596ea8))
* **schema:** CloudFormation Updates ([bbf810f](bbf810f))
* **schema:** CloudFormation Updates ([5e536c5](5e536c5))
* **schema:** CloudFormation Updates ([cf3b23a](cf3b23a))
* **schema:** CloudFormation Updates ([e538ceb](e538ceb))
* **schema:** CloudFormation Updates ([ba9ea96](ba9ea96))
* **schema:** CloudFormation Updates ([ddc5f72](ddc5f72))
* **schema:** CloudFormation Updates ([94ac559](94ac559))
* **schema:** CloudFormation Updates ([5e99a59](5e99a59))
* **schema:** CloudFormation Updates ([976990f](976990f))
* **schema:** CloudFormation Updates ([ca2da2e](ca2da2e))
* **schema:** CloudFormation Updates ([065bf7e](065bf7e))
* **schema:** CloudFormation Updates ([590b489](590b489))
* **schema:** CloudFormation Updates ([998c192](998c192))
* **schema:** CloudFormation Updates ([cdcc602](cdcc602))
* **schema:** CloudFormation Updates ([7e80942](7e80942))
* **schema:** CloudFormation Updates ([7fedc99](7fedc99))
* **schema:** CloudFormation Updates ([83f2d49](83f2d49))
* **schema:** CloudFormation Updates ([bd8a2ac](bd8a2ac))
* **schema:** CloudFormation Updates ([af4f471](af4f471))
* **schema:** CloudFormation Updates ([5d02a2b](5d02a2b))
* **schema:** CloudFormation Updates ([35a4b24](35a4b24))
* **schema:** CloudFormation Updates ([bc360ab](bc360ab))
* **schema:** CloudFormation Updates ([0f4ade8](0f4ade8))
* **schema:** CloudFormation Updates ([0de7ca4](0de7ca4))
* **schema:** CloudFormation Updates ([dcee612](dcee612))
* **schema:** CloudFormation Updates ([7858395](7858395))
* **schema:** CloudFormation Updates ([319d00f](319d00f))
* **schema:** CloudFormation Updates ([8432365](8432365))
* **schema:** CloudFormation Updates ([68156bc](68156bc))
* **schema:** CloudFormation Updates ([d2d083a](d2d083a))
* **schema:** CloudFormation Updates ([9ce0a19](9ce0a19))
* **schema:** CloudFormation Updates ([d59706b](d59706b))
* **schema:** CloudFormation Updates ([801c7f8](801c7f8))
* **schema:** CloudFormation Updates ([e06f6e2](e06f6e2))
* **schema:** CloudFormation Updates ([13095ef](13095ef))
* **schema:** CloudFormation Updates ([c5b4ae3](c5b4ae3))
* **schema:** CloudFormation Updates ([2f3e802](2f3e802))
* **schema:** CloudFormation Updates ([bbbbbed](bbbbbed))
* **schema:** CloudFormation Updates ([awslabs#393](https://github.com/trinnylondon/goformation/issues/393)) ([b005b8c](b005b8c))
* **schema:** CloudFormation Updates ([awslabs#398](https://github.com/trinnylondon/goformation/issues/398)) ([c7ebbd3](c7ebbd3))
* **schema:** CloudFormation Updates ([awslabs#400](https://github.com/trinnylondon/goformation/issues/400)) ([1606bbe](1606bbe))
* **schema:** CloudFormation Updates ([awslabs#401](https://github.com/trinnylondon/goformation/issues/401)) ([fa89e23](fa89e23))
* **schema:** CloudFormation Updates ([awslabs#408](https://github.com/trinnylondon/goformation/issues/408)) ([2ffeeac](2ffeeac))
* **schema:** CloudFormation Updates ([awslabs#415](https://github.com/trinnylondon/goformation/issues/415)) ([e560a0f](e560a0f))
* **schema:** CloudFormation Updates ([awslabs#422](https://github.com/trinnylondon/goformation/issues/422)) ([61378b5](61378b5))
* **schema:** CloudFormation Updates ([awslabs#510](https://github.com/trinnylondon/goformation/issues/510)) ([25e2ea4](25e2ea4))
* **schema:** CloudFormation Updates ([awslabs#524](https://github.com/trinnylondon/goformation/issues/524)) ([4fbffa5](4fbffa5))
* **schema:** CloudFormation Updates ([awslabs#525](https://github.com/trinnylondon/goformation/issues/525)) ([fa6c239](fa6c239))
* **schema:** CloudFormation Updates ([awslabs#530](https://github.com/trinnylondon/goformation/issues/530)) ([a65a99f](a65a99f))
* **schema:** CloudFormation Updates ([awslabs#531](https://github.com/trinnylondon/goformation/issues/531)) ([83b04c9](83b04c9))
* **schema:** CloudFormation Updates ([awslabs#531](https://github.com/trinnylondon/goformation/issues/531)) ([d72e4af](d72e4af))
* **schema:** CloudFormation Updates ([awslabs#532](https://github.com/trinnylondon/goformation/issues/532)) ([d94f3f2](d94f3f2))
* **schema:** CloudFormation Updates ([awslabs#536](https://github.com/trinnylondon/goformation/issues/536)) ([35fa19d](35fa19d))
* **schema:** CloudFormation Updates ([awslabs#540](https://github.com/trinnylondon/goformation/issues/540)) ([9eeb893](9eeb893))
* **schema:** CloudFormation Updates ([awslabs#544](https://github.com/trinnylondon/goformation/issues/544)) ([5ab72b1](5ab72b1))
* **schema:** CloudFormation Updates ([awslabs#549](https://github.com/trinnylondon/goformation/issues/549)) ([1583466](1583466))
* **schema:** CloudFormation Updates ([awslabs#552](https://github.com/trinnylondon/goformation/issues/552)) ([44a6061](44a6061))
* **schema:** CloudFormation Updates ([awslabs#555](https://github.com/trinnylondon/goformation/issues/555)) ([d7d9cce](d7d9cce))
* **schema:** CloudFormation Updates ([awslabs#562](https://github.com/trinnylondon/goformation/issues/562)) ([307cd37](307cd37))
* **schema:** CloudFormation Updates ([awslabs#566](https://github.com/trinnylondon/goformation/issues/566)) ([1612640](1612640))
* **schema:** CloudFormation Updates ([awslabs#568](https://github.com/trinnylondon/goformation/issues/568)) ([2db6261](2db6261))
* **schema:** CloudFormation Updates ([awslabs#569](https://github.com/trinnylondon/goformation/issues/569)) ([961063c](961063c))
* **schema:** CloudFormation Updates ([awslabs#575](https://github.com/trinnylondon/goformation/issues/575)) ([76aab2e](76aab2e))
* **schema:** CloudFormation Updates ([awslabs#581](https://github.com/trinnylondon/goformation/issues/581)) ([da7efea](da7efea))
* **schema:** CloudFormation Updates ([awslabs#582](https://github.com/trinnylondon/goformation/issues/582)) ([78e986d](78e986d))
* **schema:** CloudFormation Updates ([awslabs#583](https://github.com/trinnylondon/goformation/issues/583)) ([e7cc49b](e7cc49b))
* **schema:** CloudFormation Updates ([awslabs#584](https://github.com/trinnylondon/goformation/issues/584)) ([f2508fc](f2508fc))
* **schema:** CloudFormation Updates ([awslabs#585](https://github.com/trinnylondon/goformation/issues/585)) ([e749f56](e749f56))
* **schema:** CloudFormation Updates ([awslabs#588](https://github.com/trinnylondon/goformation/issues/588)) ([d2464f1](d2464f1))
* **schema:** CloudFormation Updates ([awslabs#589](https://github.com/trinnylondon/goformation/issues/589)) ([42b235b](42b235b))
* **schema:** CloudFormation Updates ([awslabs#592](https://github.com/trinnylondon/goformation/issues/592)) ([7a7167e](7a7167e))
* **schema:** CloudFormation Updates ([awslabs#593](https://github.com/trinnylondon/goformation/issues/593)) ([2915807](2915807))
* **schema:** CloudFormation Updates ([awslabs#595](https://github.com/trinnylondon/goformation/issues/595)) ([90e89e7](90e89e7))
* **schema:** CloudFormation Updates ([awslabs#598](https://github.com/trinnylondon/goformation/issues/598)) ([fa586c8](fa586c8))
* **schema:** CloudFormation Updates ([awslabs#601](https://github.com/trinnylondon/goformation/issues/601)) ([cad0a1f](cad0a1f))
* **schema:** CloudFormation Updates ([awslabs#603](https://github.com/trinnylondon/goformation/issues/603)) ([5ceb69c](5ceb69c))
* **schema:** CloudFormation Updates ([awslabs#604](https://github.com/trinnylondon/goformation/issues/604)) ([8520deb](8520deb))
* **schema:** CloudFormation Updates ([awslabs#609](https://github.com/trinnylondon/goformation/issues/609)) ([f9d092c](f9d092c))
* **schema:** CloudFormation Updates ([awslabs#612](https://github.com/trinnylondon/goformation/issues/612)) ([35938c1](35938c1))
* **schema:** CloudFormation Updates ([awslabs#618](https://github.com/trinnylondon/goformation/issues/618)) ([a5d2ce2](a5d2ce2))
* **schema:** Fix JSON Schema generation commas for InclusivePrimitiveItemTypes ([28db940](28db940))
* **schema:** generated schema acording to new rules ([d9dc863](d9dc863))
* **schema:** re-generate schema ([58dc56b](58dc56b))
* **schema:** re-generated schema ([eae0a91](eae0a91))
* **schema:** regenerated with latest code ([33f99bf](33f99bf))
* **schema:** string should be a primitivetype ([5fa746c](5fa746c))

* feat!: bump release to v7 ([a30de92](a30de92))

### feature

* **types:** added utils to create pointer types ([4a68a60](4a68a60))

### Features

* bump Golang versions ([awslabs#654](https://github.com/trinnylondon/goformation/issues/654)) ([9765e0a](9765e0a))
* force release ([354d4cb](354d4cb))
* **generate:** allow for optional params ([d9bfdff](d9bfdff))
* **generator:** add support for new sagemaker properties ([bfd39c4](bfd39c4))
* **generator:** remove generation of interface pointers ([315dde3](315dde3))
* **go:** bump to go1.18 minimum ([awslabs#579](https://github.com/trinnylondon/goformation/issues/579)) ([9c453fa](9c453fa))
* **go:** drop support for go 1.13 and 1.14 ([05bb704](05bb704))
* **go:** drop support for go 1.15 ([2e45a2b](2e45a2b))
* **if intrinsics:** generalized solution to support more types ([c66e47b](c66e47b))
* **intrinsics:** add intrinsics ptr versions ([ffdc5af](ffdc5af))
* **intrinsics:** Add SubVars to Sub with replacement variables ([awslabs#411](https://github.com/trinnylondon/goformation/issues/411)) ([0940790](0940790))
* **intrinsics:** add support for base64 encoded string in instrinsic if function ([awslabs#414](https://github.com/trinnylondon/goformation/issues/414)) ([652501b](652501b)), closes [awslabs#412](https://github.com/trinnylondon/goformation/issues/412)
* **intrinsics:** add support for FindInMap default ([awslabs#546](https://github.com/trinnylondon/goformation/issues/546)) ([5f27b01](5f27b01))
* **intrinsics:** support for nested intrinsics ([awslabs#571](https://github.com/trinnylondon/goformation/issues/571)) ([5e9e9c4](5e9e9c4))
* **lambda_function:** add EphemeralStorage property ([awslabs#619](https://github.com/trinnylondon/goformation/issues/619)) ([73f7eb2](73f7eb2))
* **lambda_function:** add FunctionUrlConfig property ([25103fc](25103fc))
* Release v7 ([awslabs#499](https://github.com/trinnylondon/goformation/issues/499)) ([28c3768](28c3768))
* remove Go entities that don't exist anymore ([87cd632](87cd632))
* remove go1.16 and add go1.19 support ([awslabs#529](https://github.com/trinnylondon/goformation/issues/529)) ([583451d](583451d))
* **sam:** add missing fields to ScheduledEvents and remove required versions from IAM ([33395af](33395af))
* **sam:** add SAM CognitoEvent EventSource ([awslabs#570](https://github.com/trinnylondon/goformation/issues/570)) ([701fb3d](701fb3d))
* **sam:** serverless api model type fix ([awslabs#515](https://github.com/trinnylondon/goformation/issues/515)) ([43e87d9](43e87d9))
* **schema:** Add the ability to create items using pattern properties rather than normal references ([7b60160](7b60160))
* **schema:** serverless http api cors configuration ([a90bb03](a90bb03))
* **schema:** Support condition properties in resources ([b3b7397](b3b7397))
* **schema:** Support custom resource types ([1274ccd](1274ccd))
* **schema:** Support generation of array items that should be combined in one anyOf ([d5e468f](d5e468f))
* **serverless:** add AlwaysDeploy option ([awslabs#615](https://github.com/trinnylondon/goformation/issues/615)) ([e38c3b8](e38c3b8))
* switch go-yaml implementation to most recent version ([awslabs#535](https://github.com/trinnylondon/goformation/issues/535)) ([0ca6ce2](0ca6ce2))
* **template:** support optional parameters ([awslabs#548](https://github.com/trinnylondon/goformation/issues/548)) ([3344301](3344301))

### Performance Improvements

* reduce JSON CloudFormation template size ([f893af7](f893af7))

### BREAKING CHANGES

* Pointers are not used for Lists, Maps and interface{} members.
* **generate:** DependsOn can now parse a single string instead of just a list of strings.
* **types:** use cloudformation.{String,Int,...} as helpers for
creating pointer types.
* **generate:** optional parameters are now marked as a pointer.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants