cfn-changelogger.py needs to read the previous missing types, from the last changelog json, in order to know what version of the specification file a property has been missing since.
Current Behavior
cfn-changelogger.py generates changelog JSON files that do not properly track what version of the specification file that a type has been missing from us-east-1. Instead, if it was missing in the last version, it uses that version for the Since value. This gives an incorrect snapshot of how long a property / resource type has been missing from the us-east-1 file.
Example
Here is one of the types that first appeared in v8.0.0 of the CFN spec file provided by AWS: AWS::ApiGatewayV2::Api.BodyS3Location
The Since value should read as 8.0.0 here, but does not. This is because the current code only checks if a type was missing in the previous version, then uses the ResourceSpecificationVersion value of the previous version instead of the previous Since value of that particular type.
Expected Behavior
cfn-changelogger.py
needs to read the previous missing types, from the last changelog json, in order to know what version of the specification file a property has been missing since.Current Behavior
cfn-changelogger.py
generates changelog JSON files that do not properly track what version of the specification file that a type has been missing fromus-east-1
. Instead, if it was missing in the last version, it uses that version for theSince
value. This gives an incorrect snapshot of how long a property / resource type has been missing from theus-east-1
file.Example
Here is one of the types that first appeared in
v8.0.0
of the CFN spec file provided by AWS:AWS::ApiGatewayV2::Api.BodyS3Location
This type is still not present, missing in
v8.1.0
andv9.0.0
(the current latest version, as of this issue). It appears as follows:The
Since
value should read as8.0.0
here, but does not. This is because the current code only checks if a type was missing in the previous version, then uses theResourceSpecificationVersion
value of the previous version instead of the previousSince
value of that particular type.