Skip to content

4.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@NOtherDev NOtherDev released this 15 Mar 10:15
· 40 commits to master since this release

Changelog

  • Update CloudFormationResourceSpecification.json to version 2.28.0
  • Export Resources using namespaces instead of const to allow both type- and object-level access (related to #20, thanks @fhewitt)
  • Make Properties non-optional when there are inner properties marked in schema as Required (thanks @miensol for the idea)
  • Add generic parameter to ResourceBase to strengthen the typing of .Properties (thanks @miensol for the idea)
  • Remove EC2::VpcEndpointService that is no longer available in schema
  • Dependencies updates

Breaking changes

Possibly none. But be aware that:

  • Resources are now exported as namespaces instead of objects
  • ResourceBase type is now generic, taking Properties type as a generic parameter
  • Resources that have at least one required property no longer have Properties marked as optional
  • Due to above, the type-checking for Properties is now much stricter, disallowing custom properties to be added etc.