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

Latest commit

 

History

History
1793 lines (811 loc) · 75.6 KB

CHANGELOG.md

File metadata and controls

1793 lines (811 loc) · 75.6 KB

GoFormation Versioning Changelog

7.14.9 (2024-04-27)

Bug Fixes

  • schema: CloudFormation Updates (8411d38)

7.14.8 (2024-04-22)

Bug Fixes

  • schema: CloudFormation Updates (4616928)

7.14.7 (2024-04-15)

Bug Fixes

  • schema: CloudFormation Updates (1966587)

7.14.6 (2024-04-05)

Bug Fixes

  • schema: CloudFormation Updates (42b62d6)

7.14.5 (2024-04-01)

Bug Fixes

  • schema: CloudFormation Updates (abdae93)

7.14.4 (2024-03-23)

Bug Fixes

  • schema: CloudFormation Updates (4cc363a)

7.14.3 (2024-03-22)

Bug Fixes

  • schema: CloudFormation Updates (7518bf6)

7.14.2 (2024-03-15)

Bug Fixes

  • schema: CloudFormation Updates (51910fb)

7.14.1 (2024-03-08)

Bug Fixes

  • schema: CloudFormation Updates (4bd6a73)

7.14.0 (2024-03-06)

Features

7.13.2 (2024-03-06)

Bug Fixes

  • schema: CloudFormation updates (5dfc11a)

7.13.1 (2024-01-17)

Bug Fixes

  • schema: CloudFormation Updates (43c51be)

7.13.0 (2024-01-11)

Features

  • remove Go entities that don't exist anymore (87cd632)

7.12.17 (2024-01-11)

Bug Fixes

  • schema: CloudFormation Updates (f482dc7)

7.12.16 (2024-01-11)

Bug Fixes

  • remove file that doesn't exist anymore (cc386b7)

7.12.15 (2023-12-15)

Bug Fixes

  • schema: CloudFormation Updates (17006b2)

7.12.14 (2023-12-12)

Bug Fixes

  • schema: CloudFormation Updates (ec540cb)

7.12.13 (2023-12-08)

Bug Fixes

  • schema: CloudFormation Updates (be36ee0)

7.12.12 (2023-12-02)

Bug Fixes

  • schema: CloudFormation Updates (728f824)

7.12.11 (2023-11-10)

Bug Fixes

  • schema: CloudFormation Updates (ecdb915)

7.12.10 (2023-11-04)

Bug Fixes

  • schema: CloudFormation Updates (ee27593)

7.12.9 (2023-10-28)

Bug Fixes

  • schema: CloudFormation Updates (d6d5f89)

7.12.8 (2023-10-20)

Bug Fixes

  • schema: CloudFormation Updates (9596ea8)

7.12.7 (2023-10-13)

Bug Fixes

  • schema: CloudFormation Updates (bbf810f)

7.12.6 (2023-10-06)

Bug Fixes

  • schema: CloudFormation Updates (5e536c5)

7.12.5 (2023-10-04)

Bug Fixes

  • schema: CloudFormation Updates (cf3b23a)

7.12.4 (2023-09-23)

Bug Fixes

  • schema: CloudFormation Updates (e538ceb)

7.12.3 (2023-09-15)

Bug Fixes

  • schema: CloudFormation Updates (ba9ea96)

7.12.2 (2023-09-14)

Bug Fixes

  • schema: CloudFormation Updates (ddc5f72)

7.12.1 (2023-09-01)

Bug Fixes

  • schema: CloudFormation Updates (94ac559)

7.12.0 (2023-08-30)

Features

  • lambda_function: add EphemeralStorage property (#619) (73f7eb2)

7.11.1 (2023-08-25)

Bug Fixes

7.11.0 (2023-08-24)

Features

  • lambda_function: add FunctionUrlConfig property (25103fc)

7.10.0 (2023-08-22)

Features

7.9.2 (2023-08-18)

Bug Fixes

  • schema: CloudFormation Updates (5e99a59)

7.9.1 (2023-08-11)

Bug Fixes

  • alexa: use the correct SkillId field (#613) (0841bbe)

7.9.0 (2023-08-11)

Features

7.8.7 (2023-08-11)

Bug Fixes

7.8.6 (2023-08-08)

Bug Fixes

7.8.5 (2023-07-21)

Bug Fixes

  • schema: CloudFormation Updates (976990f)

7.8.4 (2023-06-30)

Bug Fixes

7.8.3 (2023-06-23)

Bug Fixes

7.8.2 (2023-06-16)

Bug Fixes

7.8.1 (2023-06-09)

Bug Fixes

  • intrinsics: continue to process children when transforming (#599) (396f0fe)

7.8.0 (2023-06-09)

Features

  • intrinsics: add support for FindInMap default (#546) (5f27b01)

7.7.11 (2023-06-09)

Bug Fixes

7.7.10 (2023-06-02)

Bug Fixes

7.7.9 (2023-05-26)

Bug Fixes

7.7.8 (2023-05-22)

Bug Fixes

7.7.7 (2023-05-12)

Bug Fixes

7.7.6 (2023-05-09)

Bug Fixes

7.7.5 (2023-05-01)

Bug Fixes

7.7.4 (2023-04-21)

Bug Fixes

7.7.3 (2023-04-14)

Bug Fixes

7.7.2 (2023-04-07)

Bug Fixes

7.7.1 (2023-03-31)

Bug Fixes

7.7.0 (2023-03-30)

Features

  • template: support optional parameters (#548) (3344301)

7.6.0 (2023-03-30)

Features

  • sam: add SAM CognitoEvent EventSource (#570) (701fb3d)

7.5.0 (2023-03-30)

Features

7.4.1 (2023-03-30)

Bug Fixes

  • schema: CloudFormation Updates (ca2da2e)

7.4.0 (2023-03-30)

Features

  • intrinsics: support for nested intrinsics (#571) (5e9e9c4)

7.3.8 (2023-03-17)

Bug Fixes

7.3.7 (2023-03-10)

Bug Fixes

7.3.6 (2023-03-09)

Bug Fixes

7.3.5 (2023-03-03)

Bug Fixes

7.3.4 (2023-02-24)

Bug Fixes

7.3.3 (2023-02-17)

Bug Fixes

7.3.2 (2023-02-11)

Bug Fixes

7.3.1 (2023-02-04)

Bug Fixes

7.3.0 (2023-02-01)

Features

7.2.6 (2023-01-27)

Bug Fixes

7.2.5 (2023-01-20)

Bug Fixes

  • schema: add HttpApi, HttpApiFunctionAuth, RouteSettings (#541) (78913ea)

7.2.4 (2023-01-20)

Bug Fixes

7.2.3 (2023-01-18)

Bug Fixes

  • schema: add FunctionResponseTypes property for kinesis events (#539) (3cff1ff)

7.2.2 (2023-01-18)

Bug Fixes

  • schema: add DisableExecuteApiEndpoint to Serverless API (#538) (1ff11e8)

7.2.1 (2023-01-14)

Bug Fixes

7.2.0 (2023-01-13)

Bug Fixes

  • ci: bump semantic-release-action (510f9c6)

Features

  • switch go-yaml implementation to most recent version (#535) (0ca6ce2)

7.1.3 (2023-01-06)

Bug Fixes

7.1.2 (2022-12-31)

Bug Fixes

7.1.1 (2022-12-23)

Bug Fixes

7.1.0 (2022-12-20)

Features

  • remove go1.16 and add go1.19 support (#529) (583451d)

7.0.7 (2022-12-06)

Bug Fixes

7.0.6 (2022-12-01)

Bug Fixes

  • generation of AppFlow properties without type (bfcd40f)
  • schema: CloudFormation Updates (#524) (4fbffa5)

7.0.5 (2022-10-26)

Bug Fixes

  • schema: CloudFormation Updates (065bf7e)

7.0.4 (2022-10-22)

Bug Fixes

  • schema: CloudFormation Updates (590b489)

7.0.3 (2022-10-15)

Bug Fixes

7.0.2 (2022-10-08)

Bug Fixes

  • schema: CloudFormation Updates (998c192)

7.0.1 (2022-09-30)

Bug Fixes

  • schema: CloudFormation Updates (cdcc602)

7.0.0 (2022-09-30)

  • feat!: bump release to v7 (a30de92)

BREAKING CHANGES

  • Pointers are not used for Lists, Maps and interface{} members.

6.11.0 (2022-09-30)

Features

7.0.0-beta.1 (2022-09-29)

  • feat(generate)!: Exclude Map and List from pointer (aec3913)

BREAKING CHANGES

  • Goformation no longer generates pointer types for Lists, Maps and interface{} types.

6.10.0 (2022-09-02)

Features

  • sam: add missing fields to ScheduledEvents and remove required versions from IAM (33395af)

6.9.0 (2022-09-02)

Features

  • schema: serverless http api cors configuration (a90bb03)

6.8.0 (2022-09-02)

Features

  • generator: remove generation of interface pointers (315dde3)

6.7.2 (2022-09-02)

Bug Fixes

  • schema: CloudFormation Updates (7e80942)

6.7.1 (2022-08-19)

Bug Fixes

  • schema: CloudFormation Updates (7fedc99)

6.7.0 (2022-08-17)

Features

  • if intrinsics: generalized solution to support more types (c66e47b)

6.6.6 (2022-08-15)

Bug Fixes

  • generator: remove unused import (cf87ba6)
  • resource.template: remove print to standard output when JSON unmarshal in a resource fails (d64f719)
  • resource.template: remove print to standard output when JSON unmarshal in a resource fails (output of go generate) (c039ac4)

6.6.5 (2022-08-15)

Bug Fixes

  • schema: CloudFormation Updates (83f2d49)

6.6.4 (2022-08-06)

Bug Fixes

  • schema: CloudFormation Updates (bd8a2ac)

6.6.3 (2022-07-23)

Bug Fixes

  • schema: CloudFormation Updates (af4f471)

6.6.2 (2022-07-16)

Bug Fixes

  • schema: CloudFormation Updates (5d02a2b)

6.6.1 (2022-07-15)

Bug Fixes

  • schema: CloudFormation Updates (35a4b24)

6.6.0 (2022-07-12)

Bug Fixes

  • intrinsics: split function (286dd4c)
  • intrinsics: SplitPtr also as string (86436f5)

Features

  • intrinsics: add intrinsics ptr versions (ffdc5af)

6.5.4 (2022-07-08)

Bug Fixes

  • schema: CloudFormation Updates (bc360ab)

6.5.3 (2022-07-01)

Bug Fixes

  • schema: CloudFormation Updates (0f4ade8)

6.5.2 (2022-06-24)

Bug Fixes

  • schema: CloudFormation Updates (0de7ca4)

6.5.1 (2022-06-17)

Bug Fixes

  • schema: CloudFormation Updates (dcee612)

6.5.0 (2022-06-14)

Bug Fixes

  • schema: re-generated schema (eae0a91)

Features

  • generator: add support for new sagemaker properties (bfd39c4)

6.4.1 (2022-06-02)

Bug Fixes

  • schema: Add AddDefaultAuthorizerToCorsPreflight to Serverless Auth (637150c)

6.4.0 (2022-05-03)

Features

  • schema: Support condition properties in resources (b3b7397)

6.3.0 (2022-05-03)

Features

  • schema: Support custom resource types (1274ccd)

6.2.1 (2022-04-30)

Bug Fixes

  • schema: CloudFormation Updates (7858395)

6.2.0 (2022-04-26)

Bug Fixes

  • schema: Add RequestModel and RequestParameters for AWS::Serverless::Function.EventSource (e0c2673)
  • schema: Fix JSON Schema generation commas for InclusivePrimitiveItemTypes (28db940)

Features

  • schema: Add the ability to create items using pattern properties rather than normal references (7b60160)

6.1.1 (2022-04-25)

Bug Fixes

  • schema: Add Version property into IAMPolicyDocument and fix Statement type (846268a)

6.1.0 (2022-04-25)

Bug Fixes

  • generate: remove duplicated line (a18d04c)

Features

  • schema: Support generation of array items that should be combined in one anyOf (d5e468f)

6.0.15 (2022-04-22)

Bug Fixes

  • schema: string should be a primitivetype (5fa746c)

6.0.14 (2022-04-22)

Bug Fixes

  • schema: Add S3WritePolicy to sam policy template (c9f775e)

6.0.13 (2022-04-22)

Bug Fixes

  • schema: Add SSMParameterReadPolicy and AWSSecretsManagerGetSecretValuePolicy into AWS::Serverless::Function.SAMPolicyTemplate (7a85ab9)

6.0.12 (2022-04-22)

Bug Fixes

  • schema: Add DynamoDBWritePolicy to sam policy template (6f08c13)

6.0.11 (2022-04-22)

Bug Fixes

  • schema: Add Domain in AWS::Serverless::API schema (dff256a)

6.0.10 (2022-04-22)

Bug Fixes

  • schema: CloudFormation Updates (319d00f)

6.0.9 (2022-04-15)

Bug Fixes

  • schema: CloudFormation Updates (8432365)

6.0.8 (2022-04-14)

Performance Improvements

  • reduce JSON CloudFormation template size (f893af7)

6.0.7 (2022-04-08)

Bug Fixes

  • schema: CloudFormation Updates (68156bc)

6.0.6 (2022-04-02)

Bug Fixes

  • schema: CloudFormation Updates (d2d083a)

6.0.5 (2022-04-01)

Bug Fixes

  • schema: CloudFormation Updates (9ce0a19)

6.0.4 (2022-03-26)

Bug Fixes

  • schema: CloudFormation Updates (d59706b)

6.0.3 (2022-03-18)

Bug Fixes

  • schema: CloudFormation Updates (801c7f8)

6.0.2 (2022-03-11)

Bug Fixes

  • schema: CloudFormation Updates (e06f6e2)

6.0.1 (2022-03-04)

Bug Fixes

  • schema: CloudFormation Updates (13095ef)

6.0.0 (2022-02-25)

Bug Fixes

  • generate: DependsOn should also accept a string (09908b6), closes #407
  • policies: re-create deleted files (bdd5860)
  • schema: generated schema acording to new rules (d9dc863)
  • schema: re-generate schema (58dc56b)
  • schema: regenerated with latest code (33f99bf)

feature

  • types: added utils to create pointer types (4a68a60)

Features

  • generate: allow for optional params (d9bfdff)
  • go: drop support for go 1.13 and 1.14 (05bb704)
  • go: drop support for go 1.15 (2e45a2b)

BREAKING CHANGES

  • 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.

6.0.0-beta.1 (2022-02-23)

Bug Fixes

  • build: build the project again (5b8ac7d)

  • change version to v6 (68254e2)

  • policies: add policies back (2e26547)

  • schema: generated schema acording to new rules (4321f42)

  • schema: re-generate schema (b0ccc0a)

  • tags: bring tag back. (a3b2b57)

  • feature(types)!: added utils to create pointer types (bbf53ec)

  • feat(generate)!: allow for optional params (43a094e)

BREAKING CHANGES

  • use cloudformation.{String,Int,...} as helpers for creating pointer types.
  • optional parameters are now marked as a pointer.

5.4.10 (2022-02-25)

Bug Fixes

  • schema: CloudFormation Updates (c5b4ae3)

5.4.9 (2022-02-21)

Bug Fixes

  • schema: CloudFormation Updates (2f3e802)

5.4.8 (2022-02-11)

Bug Fixes

  • generator: updated resources that support update/creation policy (18c08b9)

5.4.7 (2022-02-11)

Bug Fixes

  • schema: CloudFormation Updates (bbbbbed)

5.4.6 (2022-02-08)

Bug Fixes

5.4.5 (2022-01-18)

Bug Fixes

  • schema: AWS::CDK::Metadata resource should be automatically generated (#421) (65569f7), closes #418

5.4.4 (2022-01-03)

Bug Fixes

  • sam: AWS::Serverless::Function Properties Architectures property should have a primitive type specified (#420) (3aa91ed)

5.4.3 (2021-12-30)

Bug Fixes

  • schema: Add architectures support for sam functions (#419) (b505b69)

5.4.2 (2021-12-30)

Bug Fixes

5.4.1 (2021-12-13)

Bug Fixes

5.4.0 (2021-11-22)

Features

  • intrinsics: Add SubVars to Sub with replacement variables (#411) (0940790)

5.3.0 (2021-11-22)

Features

  • intrinsics: add support for base64 encoded string in instrinsic if function (#414) (652501b), closes #412

5.2.12 (2021-11-22)

Bug Fixes

5.2.11 (2021-10-06)

Bug Fixes

  • sam: DestinationConfig shouldn't contain OnSuccess property (#406) (6971966), closes #404

5.2.10 (2021-10-05)

Bug Fixes

5.2.9 (2021-09-03)

Bug Fixes

5.2.8 (2021-08-27)

Bug Fixes

5.2.7 (2021-08-11)

Bug Fixes

5.2.6 (2021-07-16)

Bug Fixes

  • schema: Allow any type for Parameter AllowedValues (#392) (ccc7fb0)
  • schema: CloudFormation Updates (#390) (ac83603)

5.2.5 (2021-07-16)

Bug Fixes

  • schema: Support Version field in custom resource (#391) (eef8f36)

5.2.4 (2021-07-05)

Bug Fixes

5.2.3 (2021-06-29)

Bug Fixes

5.2.2 (2021-06-25)

Bug Fixes

5.2.1 (2021-06-21)

Bug Fixes

5.2.0 (2021-06-20)

Features

  • schema: Add AWS::Serverless::Function.Auth (#373) (fc2877f)

5.1.0 (2021-06-20)

Features

5.0.0 (2021-06-20)

Features

BREAKING CHANGES

  • schema: Improved implementation of Globals (in SAM tempates)

This PR introduces a new implementation for both defining SAM templates with Global values, as well as parsing templates containing them.

Note: Globals only apply to SAM templates - if you are using regular CloudFormation templates this breaking change should not impact you. The only impact you might see is if you are creating cloudFormation.Template structs manually rather than using the cloudformation.NewTemplate() constructor. As part of this change, a new field (Globals) was added to the Template{} struct. If you are not using the constructor, your compiler will probably complain that this field is missing from the struct instantiation in your code.

For more information about what Globals are in SAM templates, see this link: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy-globals.html

In previous versions of Goformation (before v5), goformation was able to parse SAM templates that contained a Globals section, however the implementation just overwrote the resource properties in the template, with the global values at parse time.

This meant that:

  • It was not possible to compose a template in Go that had a Globals section.
  • The JSON Schema generated by this repo, had no concept of Globals.

This new implementation DOES NOT does not overwrite the values in the template, like the previous implementation did. It replaces the old implementation completely, and exposes Globals as a series of structs that are marshalled/unmarshalled to/from JSON/YAML.

This allows you to compose a template:

template := cloudformation.NewTemplate()

template.Globals["Function"] = &global.Function{
    Timeout: 1800,
}

As well as parse a JSON/YAML template, and inspect the global properties:

template, err := goformation.Open("../some-template-with-globals.yml")
if err != nil {
    fmt.Printf("failed to open template: %s\n", err)
    os.Exit(1)
} 

fmt.Printf("%v", template.Globals["Function"])

// You can view the global as above, however it's type is downcast to a basic interface.
// If you want to inspect properties specific to the global type (e.g. the timeout for a Lambda function)
// then use the following helper methods to get the various global types from the template:

globalAPI, _:= template.GetServerlessGlobalApi()
globalFunction, _ := template.GetServerlessGlobalFunction()
globalHttpApi, _ := template.GetServerlessGlobalHttpApi()
globalSimpleTable, _ := template.GetServerlessGlobalSimpleTable()

fmt.Printf("Global Function Timeout: %d\n", globalFunction.Timeout)

4.19.5 (2021-06-10)

Bug Fixes

4.19.4 (2021-05-31)

Bug Fixes

4.19.3 (2021-05-21)

Bug Fixes

4.19.2 (2021-05-18)

Bug Fixes

4.19.1 (2021-04-17)

Bug Fixes

4.19.0 (2021-04-17)

Features

  • schema: Improve cloudformation If to accept structs (#368) (3c1bcd8)

4.18.3 (2021-04-07)

Bug Fixes

4.18.2 (2021-03-23)

Bug Fixes

4.18.1 (2021-03-08)

Bug Fixes

4.18.0 (2021-03-08)

Features

  • intrinsics: Add cloudformation.TransformFn() (#352) (9a1e331)

4.17.0 (2021-02-25)

Bug Fixes

Features

  • resources: Add DependOn, DeletionPolicy and others to CustomResource (#350) (6712019)

4.16.4 (2021-02-20)

Bug Fixes

4.16.3 (2021-02-17)

Bug Fixes

4.16.2 (2021-02-09)

Bug Fixes

4.16.1 (2021-02-09)

Bug Fixes

  • template: field Export on type Output should be pointer (#299) (7d5870e), closes #294

4.16.0 (2021-02-03)

Features

  • intrinsics: Allow for int in Fn::Equals (#346) (dd6cd2d)

4.15.9 (2021-01-29)

Bug Fixes

4.15.8 (2021-01-23)

Bug Fixes

4.15.7 (2021-01-05)

Bug Fixes

  • schema: S3Location or String support for AWS::Serverless::LayerVersion.ContentUri (#339) (6e39ebe), closes #337

4.15.6 (2020-11-22)

Bug Fixes

4.15.5 (2020-11-06)

Bug Fixes

4.15.4 (2020-11-01)

Bug Fixes

4.15.3 (2020-10-23)

Bug Fixes

4.15.2 (2020-10-11)

Bug Fixes

4.15.1 (2020-10-11)

Bug Fixes

  • intrinsics: Join function to allow to use parameters of type List<> (#309) (6cc1cd3)

4.15.0 (2020-08-16)

Features

  • schema: dummy commit - trigger CI for schema update (66bc344)

4.14.0 (2020-07-26)

Features

  • schema: Add support for Template Outputs (#291) (6875c50)

4.13.1 (2020-07-26)

Bug Fixes

  • schema: Add Change and Update policies to the Unmarshal method (#288) (989b05f)

4.13.0 (2020-07-26)

Features

  • schema: adding AWS::Serverless::StateMachine and FileSystemConfigs to Function (#284) (d2d23ca)

4.12.0 (2020-07-21)

Features

  • schema: Add new DynamoDBEvent options (#289) (741228d)

4.11.0 (2020-06-28)

Features

4.10.1 (2020-06-22)

Bug Fixes

  • generator: update the generation making it easier to fix CF schema errors to generate (#285) (6751e5b)

4.10.0 (2020-06-22)

Features

  • schema: Serverless eventbridgeruleevent (#279) (2a9e572)

4.9.0 (2020-06-22)

Features

  • schema: Add OpenApiVersion field to serverless Api (#281) (bccc71b)

4.8.0 (2020-04-04)

Features

  • schema: Add UpdateReplacePolicy to the templates and the policies so that it is generated for every resource (#272) (696c515)

4.7.1 (2020-04-04)

Bug Fixes

4.7.0 (2020-02-28)

Features

  • schema: Added CloudWatch Logs event for SAM (#271) (fedb013)

4.6.0 (2020-02-22)

Features

  • schema: CloudFormation Updates (2020-02-22) (#269) (ffd88a6)

4.5.1 (2020-02-14)

Bug Fixes

  • schema, parser: change Transform json schema to allow multiple macros (#268) (072fc74), closes #267

4.5.0 (2020-02-13)

Features

  • schema: CloudFormation Updates (2020-02-13) (#266) (bc75922)

4.4.0 (2020-01-30)

Features

  • schema: CloudFormation Updates (2020-01-30) (#263) (fda2d31)

4.3.0 (2020-01-30)

Features

  • schema: add CloudFormation parameter type (#259) (27fe204)

4.2.0 (2020-01-29)

Features

4.1.0 (2019-12-09)

Features

  • schema: CloudFormation Updates (2019-12-09) (#251) (a23ba41)

4.0.3 (2019-11-30)

Bug Fixes

  • schema: AWS::Serverless::Function S3 notification filters (#249) (a50ef92), closes #74

4.0.2 (2019-11-30)

Bug Fixes

4.0.1 (2019-11-30)

Bug Fixes

  • schema: AWS::Serverless::Api.MethodSettings should be a list (a1f340a), closes #242

4.0.0 (2019-11-30)

BREAKING CHANGES

  • This change refactors the DependsOn, Metadata, CreationPolicy, UpdatePolicy and DeletionPolicy methods on each resource to a new name. This is required, as some CloudFormation resources use these keywords as properties (AWS::AppMesh::Route.GrpcRouteMatch has a Metadata field for example), which causes a conflict.

resource.DependsOn() method is refactored to resource.AWSCloudFormationDependsOn field. resource.SetDependsOn() method is refactored to resource.AWSCloudFormationDependsOn field. resource.Metadata() method is refactored to resource.AWSCloudFormationMetadata field. resource.SetMetadata() method is refactored to resource.AWSCloudFormationMetadata field. resource.CreationPolicy() method is refactored to resource.AWSCloudFormationCreationPolicy field. resource.SetCreationPolicy() method is refactored to resource.AWSCloudFormationCreationPolicy field. resource.UpdatePolicy() method is refactored to resource.AWSCloudFormationUpdatePolicy field. resource.SetUpdatePolicy() method is refactored to resource.AWSCloudFormationUpdatePolicy field. resource.DeletionPolicy() method is refactored to resource.AWSCloudFormationDeletionPolicy field. resource.SetDeletionPolicy() method is refactored to resource.AWSCloudFormationDeletionPolicy field.

3.1.0 (2019-10-29)

Features

  • schema: AWS CloudFormation Update (2019-10-29) (#239) (7ff8499)

3.0.1 (2019-10-29)

Bug Fixes

  • schema: Ordered cloudformation/all.go file (#238) (91254f3)

3.0.0 (2019-10-27)

  • Group CloudFormation resources by AWS service name (#234) (d0749e6), closes #234

BREAKING CHANGES

  • this change moves all Cloudformation resources to packages based on the AWS service name. The main motivation for this is that building goformation on some platforms (Windows) failed due to too many files in the old cloudformation/resources package. This new package style has a nice benefit of slightly nicer to use API, but is a breaking change and will require refactoring existing codebases to update to v3.

Old usage:

import "github.com/awslabs/goformation/v2/cloudformation/resources"

... snip ...

topic := &resources.AWSSNSTopic{}

New usage:

import "github.com/awslabs/goformation/v4/cloudformation/sns"

...snip...

topic := &sns.Topic{}

Most tests are still failing at this point and need refactoring.

  • fix(schema): Tag handling

Fixed tag handling for new grouped resources style (via new tags.Tag struct).

  • fix(schema): SAM specification

SAM Specification now generates nicely with new grouped resources format. Also all tests are now passing \o/

2.3.0 (2019-03-20)

Bug Fixes

  • parser: Unmarshalling of resources with polymorphic properties (like S3 events) now works (#188) (8eff90a)

Features

  • sam: Add support for AWS::Serverless::Api.TracingEnabled, AWS::Serverless::Function.PermissionsBoundary, AWS::Serverless::Function.DynamoEvent.Enabled, AWS::Serverless::Function.KinesisEvent.Enabled, and AWS::Serverless::Function.SQSEvent.Enabled (#191) (38f0187)
  • schema: AWS CloudFormation Update (2019-03-15) (#189) (8b332a4)

2.2.2 (2019-03-13)

Bug Fixes

  • parser: Select the correct AWS CloudFormation resource type based on similarity (#183) (5749b23)

2.2.1 (2019-03-10)

Bug Fixes

  • parser: fix invalid YAML template error for custom tag marshaler (#177) (035d438)

2.2.0 (2019-03-10)

Features

  • schema: regenerated resources to apply SAM schema fixes from previous PR (b30c019)

2.1.5 (2019-03-10)

Bug Fixes

  • parser: do not break if a non-intrinsic Condition statement is found in a YAML template (#169) (e4671e3)

2.1.4 (2019-03-10)

Bug Fixes

  • schema: fixed incorrect field type for AWS::Serverless::Application.Location (#167) (3f1817b)

2.1.3 (2019-03-10)

Bug Fixes

  • schema: maps within YAML templates should allow unknown fields/properties (3b6e359)

2.1.2 (2019-03-10)

Bug Fixes

  • CI: fix broken GitHub PR integration (#185) (d42d00a)

2.1.1 (2019-03-10)

Bug Fixes

  • CI: only run semantic-release on push-to-master (not on pull requests) (#184) (c83945a)

2.1.0 (2019-03-10)

Features

  • CI: auto-generate AUTHORS.md file (b37af7b)

Semantic Versioning Changelog

2.0.0 (2019-03-10)

Code Refactoring

  • generator: moving resources and policies into their own packages (#161) (03a0123)

BREAKING CHANGES

  • generator: this PR refactors the auto-generated CloudFormation resources out of the cloudformation package and into a dedicated package (resources). This helps keep the auto generated files separate from others.

E.g. cloudformation.AWSSnsTopic{} becomes resources.AWSSnsTopic{}

1.4.1 (2019-03-10)

Bug Fixes

  • spec: corrected AWS::Serverless::Api.Auth.Authorizers to be of type JSON rather than string (#164) (4cf1bee)

1.4.0 (2019-03-09)

Features

  • parser: Default to parsing as YAML unless the filename ends in .json (#176) (42e7146)

1.3.0 (2019-03-09)

Bug Fixes

  • CI: speed up PR builds by only downloading the cfn spec and regenerating resources on cron schedule (not on every build) (7ae2a32)
  • CI: Update TravisCI configuration based on https://github.com/se… (#180) (88e1e85)
  • CI: Update TravisCI configuration for semantic-release to use jobs (f6c2fee)

Features

  • Added semantic-release CI setup (a9b368a)
  • Added semantic-release configuration file (3b25fdb)