github aws/aws-sam-cli v0.2.3

latest releases: v1.116.0.dev202405020901, v1.116.0.dev202405010901, v1.116.0...
6 years ago

What's new in 🐿?

This release comes with a lot of nifty bug fixes.

  • Support for AWS::Serverless::Api resources, including defining your API with inline swagger
  • Support for invoking AWS::Lambda::Function resources with sam local invoke
  • Added --docker-network flag to allow you to specify which Docker network the AWS Lambda runtime container(s) join use
  • Better Windows support
  • Improved fidelity/compatibility with Amazon API Gateway ({proxy+} handling, event payloads etc)
  • Bug fixes

A big thanks to every one of you for bug reports, PRs, Stars and love ❤️

Update to latest version

npm update -g aws-sam-local

Changelog

1d3155c Merge branch 'develop' of github.com:awslabs/aws-sam-local into develop
f80c385 Merge pull request #220 from djn658/event-object-omitempty-issue
a827d20 Merge branch 'develop' of github.com:awslabs/aws-sam-local into develop
998f9dc Merge branch 'develop' into event-object-omitempty-issue
739c48e Merge pull request #222 from SAPessi/develop
b1bc99b Resolving conflicts, again... :-/
0d80429 Removed UsePrefix from mount. The Swagger support adds the GetMuxPath() method that replaces the + character with a catch-all regex (at least one char)
89c6174 Fixed build issues with merge
2b12040 Merge branch 'develop' into develop
2843f6e Merge branch 'develop' into develop
dbbd594 Fixed issue with refactored Swagger loading and minor unit test changes
0e4f36c Refactor of Mounts method to use a dynamic list of HTTP method instead of hardcoding the verbs
6668198 First implementation of swagger support
515050b Local API Gateway Event omitempty issue
979a25a Merge branch 'develop' into develop
ef5127a Merge pull request #213 from awslabs/PaulMaddox-patch-3
db5a804 Merge branch 'develop' into develop
240862d Merge branch 'develop' into PaulMaddox-patch-3
ea897a1 Merge pull request #186 from PaulMaddox/windows-fixes
32ce92c Update README.md
d291d5f Merge branch 'develop' into windows-fixes
40e7905 Merge branch 'develop' into develop
7b49659 Merge pull request #190 from joshuadfranklin/develop
31e3fb2 Merge branch 'develop' of github.com:PaulMaddox/aws-sam-local into develop
8dea5d6 Vendored goformation/intrinsics dependency
38261b5 Updated vendored version of Goformation library to include fix for super-long filenames that prevented building SAM Local on Windows.
0edd389 Merge branch 'develop' into windows-fixes
4190746 Merge branch 'develop' into develop
90bda48 Merge pull request #189 from adulescentulus/fix_missing_stage_property
e924f33 Add generic Environment and OS improvements to samples/python-with-packages/Makes
9c55b4b added missing stage property to api event
876b7a1 Docker mount path fixes for Windows.
104a4ed Vendored goformation/intrinsics dependency
f9e99b7 Updated vendored version of Goformation library to include fix for super-long filenames that prevented building SAM Local on Windows.
303fece Merge branch 'develop' of github.com:awslabs/aws-sam-local into develop
9bf5c0e Merge pull request #179 from Fahrradflucht/178-exit-code-propagation
0590230 Merge branch 'develop' into 178-exit-code-propagation
df8479b Merge pull request #180 from Fahrradflucht/173-path-parameters-falsely-defined
7e06ee0 fix(deploy, package): propagate non-zero exit codes
e1661bd Merge branch 'develop' into 173-path-parameters-falsely-defined
51183b0 Fixes issue 124: No log file is written with log-file (#177)
22c305b First import of Swagger support, lots more work to do
1f67490 fix(event): set PathParameters explicitly to nill if non
23fd313 test(event): add failing test for undefined PathParameters
72b724f Merge pull request #163 from resios/develop
15d2716 Merge branch 'develop' into develop
796d2b3 adding documentation to node hello world example; git ignoring packaged template name (#162)
4bfe1b8 Add warning when no credentials found. Credential detection can take a very long time to fail. (#159)
9360974 Allow execution of AWS::Lambda::Function via the invoke subcommand
d0d6ae3 Merge pull request #143 from resios/develop
b2f8f2c Merge branch 'develop' into develop
2d37b2a Merge pull request #156 from huntsper/hello-world-examples
b80be70 Merge branch 'develop' into hello-world-examples
b360a93 Merge pull request #151 from nishilshah17/develop
27610b2 Merge branch 'develop' into develop
9bb9b60 Merge branch 'develop' into develop
673e82b Merge pull request #155 from dbarlett/develop
f13bb11 Merge branch 'develop' into develop
7feea3c Merge pull request #152 from QuinnyPig/osx-rename
93dae92 adding python and java hello-world examples
475432e Fix NPM link in README
3fa1b80 Also use prefix matching whith catch-all paths
41b44a6 Merge branch 'develop' of https://github.com/awslabs/aws-sam-local into develop
be0e04b Renamed OS X to macOS
e1ae697 fixed s3-event-source sample template
63a2bc7 Replace all httpMethod attributes in the generated api event (#146)
b286db2 Merge remote-tracking branch 'fork/develop' into develop
5685682 Merge remote-tracking branch 'origin/develop' into up
eca3ba3 Add support for prefix matching routing
b3101e5 Add support for --profile for selecting IAM credentials (#131)
8624aae Allow specifying of Cloudformation template parameters (#123)
2a1405f Merge remote-tracking branch 'fork/develop' into develop
4cc246e Allow specifying of Cloudformation template parameters
a8f7712 Update Goformation to latest version
79dcd37 Update microsoft/go-winio dependency (#112)
241a85d Merge branch 'develop' into develop
69633c0 Use correct type for statusCode (#108)
810cbaf Merge branch 'develop' into develop
41749b5 Only set session token variable (AWS_SESSION_TOKEN) if it was present in the session (#109)
a932063 Merge branch 'develop' into develop
406160c Merge pull request #110 from pansen/feature/pansen/python_packages
229bd29 Merge branch 'develop' into feature/pansen/python_packages
41ead0e Merge branch 'develop' of https://github.com/awslabs/aws-sam-local into develop
ba648df Updated go-winio dependency to latest version.
70238df Formatted with gofmt after files were modified via GitHub web interface
de0fef6 Return 502 if status code is malformed
7fbf36c Removed debug file
c3bb56f Merge pull request #83 from PaulMaddox/new-api-router
9e0271e Merge branch 'develop' into new-api-router
fd12f7d name fix
659ba6f python example
1a94f8d Use correct type for statusCode
3bf3172 Use correct type for body response
9e5ca10 Merge pull request #106 from Inkromind/feature/connect_containers_to_docker_network
ef49cf8 Use commandline argument to connect to docker network
247fd25 Added env variable to add container to network
dcecaad Merge branch 'develop' into new-api-router
5406a85 Simplified (somewhat) the container working directory handling, as previously I found some edge cases that caused issues with the static directory that was mounted
f7c8514 New HTTP router implementation for start-api.
70b403f Fixed redeclared CLI flag (#100)
ddbfb9e Provide a flag to skip pulling images - helps reduce startup and execution time. (#94)
0067434 Cater for templates that have a CodeUri that points to a subdirectory
89ca4af Fixed redeclared CLI flag (#100)
0d57b5e Provide a flag to skip pulling images - helps reduce startup and execution time. (#94)
b725770 Merge branch 'develop' into new-api-router
abaebb4 Update README.md (#86)
8490a5b Merge branch 'develop' into new-api-router
c2b0528 Merge pull request #85 from gitter-badger/gitter-badge
7caefe9 Added test case for the previous commit;
ac43b9a Merge branch 'new-api-router' of github.com:PaulMaddox/aws-sam-local into new-api-router
e2f5db8 Fixed edge case with getWorkingDirectory if just a template name in the current directory was provided
caaa542 Merge branch 'develop' into new-api-router
30226ba Add Gitter badge
5e9260e Merge pull request #84 from awslabs/PaulMaddox-patch-1
0fb805b Added npm permissions info.
2e52030 Just increasing test coverage of router
facefc5 Removed debug file
4a50eb5 Fixed static directory mounting
62e59e7 Simplified (somewhat) the container working directory handling, as previously I found some edge cases that caused issues with the static directory that was mounted
0cc4296 New HTTP router implementation for start-api.
609b96c Merge pull request #81 from tasuwo/fix-too-many-open-files-error
ae96c1c Add function scope to loop of files open to prevent to make defer queue explosion


Automated with GoReleaser
Built with go version go1.8.3 linux/amd64

Don't miss a new aws-sam-cli release

NewReleases is sending notifications on new releases.