Sparta v1.9.1 Release Notes
Release Date: 2019-02-03 // about 5 years ago-
- 💥 :warning: BREAKING
:checkered_flag: CHANGES
- Added
CodeCommitPermission
type to support CodeCommit notifications - There is an archetype constructor that encapsulates this type of Lambda reactor.
- Usage:
func echoCodeCommit(ctx context.Context, event awsLambdaEvents.CodeCommitEvent) (interface{}, error) { // ... return &event, nil } func main() { // ... reactor, reactorErr := spartaArchetype.NewCodeCommitReactor(spartaArchetype.CodeCommitReactorFunc(echoCodeCommit), gocf.String("TestCodeCommitRepo"), nil, nil, nil) ... }
- Updated to staticcheck.io
- Added
🛠 :bug: FIXED