Sparta v0.8.0 Release Notes

    • 💥 :warning: BREAKING
      • TemplateDecorator signature changed to include context map[string]interface{} to support sharing state across WorkflowHooks (below).
    • :checkered_flag: CHANGES
      • Add SpartaBuildID stack output with build ID
      • WorkflowHooks
      • WorkflowHooks enable an application to customize the ZIP archive used as the AWS Lambda target rather than needing to embed resources inside their Go binary
      • They may also be used for Docker-based mixed topologies. See
      • Add optional -i/--buildID parameter for provision.
      • The parameter will be added to the stack outputs
      • A random value will be used if non is provided on the command line
      • Artifacts posted to S3 are now scoped by serviceName
      • Add sparta.MainEx for non-breaking signature extension
    • 🛠 :bug: FIXED

      • (@sdbeard) Fixed latent bug in Kinesis event source subscriptions that caused ValidationErrors during provisioning:
      ERRO[0028] ValidationError: [/Resources/IAMRole3dbc1b4199ad659e6267d25cfd8cc63b4124530d/Type/Policies/0/PolicyDocument/Statement/5/Resource] 'null' values are not allowed in templates
          status code: 400, request id: ed5fae8e-7103-11e6-8d13-b943b498f5a2
      
      • Fixed latent bug in ConvertToTemplateExpression when parsing input with multiple AWS JSON fragments.
      • Fixed latent bug in sparta.Discover which prevented dependent resources from being discovered at Lambda execution time.
      • Fixed latent bug in explore.NewAPIGatewayRequest where whitelisted param keynames were unmarshalled to method.request.TYPE.VALUE rather than TYPE.