-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/v1.43.0 #2358
Merged
Merged
Release/v1.43.0 #2358
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Fixing case when no allowed origin is passed. * Adding functional tests to verify proper error message. Co-authored-by: Tarun Mall <tarun@amazon.noreply.github.com>
…efinition path is not a dictionary object (#2214) * raise a validation exception if the responses section in options method for a path in OpenApi Definition * black formating * validate the responses section should be a dictionary not only not null. * fix py27 issue
…#2216) * handle null DefinitionBody path item and null options field value, plus some reformatting * check dictionary type * more refactoring + throw error if not dict
feat: Lambda URLs
Revert "feat: Lambda URLs (#2229)"
release: 1.42.0
hotfix for foss integration tests
* Check type of resource type is a string * Condense logic * Black reformat
fix: open api set_path_default_authorizer (#2248)
* Do not abort SAR loop on throttling * Address code review comments * Simplify SAR polling loop and add test coverage
#2272) * Fixing DisableExecuteApiEndpoint property for REST and adding integ tests. * Fixing DisableExecuteApiEndpoint property for REST and adding integ tests. * Fixing output templates to match py2 hashing.
* Add third party py27hash code * Add Py27UniStr and unit tests * Add py27hash_fix utils and tests * Add to_py27_compatible_template and tests * Apply py27hash fix to wherever it is needed * Apply py27hash fix, all tests pass except api_with_any_method_in_swagger * apply py27hash fix in openapi + run black * remove py27 testing * remove other py27 references * black fixes * fixes/typos * remove py27 from tox.ini * refactoring * third party notice * black * Fix py27hash fix to deal with null events * Fix Py27UniStr repr for unicode literals * black reformat * Update _template_has_api_resource to check data type more defensively * Apply py27Dict in _get_authorizers * Apply Py27Dict to authorizers and gateway responses which will go into swagger * Update to_py27_compatible_template to handle parameter_values; Add Py27LongInt class * Rename _convert_to_py27_dict to _convert_to_py27_type * Apply Py27UniStr to path param name * Handle HttpApi resource under to_py27_compatible_template * Fix InvalidDocumentException to not sort different exceptions * black reformat * Remove unnecessary test files Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
…ct (#2273) * Raise exception if auth identity isn't a dict * Add tests for congito auth and lambda request auth * Check if property is a dict instead of using try/catch * Fix error message
* correct CognitoUserPool SmsConfiguration type from list of dict to dict; fixes #1252 * Add tests for cognito userpool sms configuration type change Co-authored-by: Daniel Mil <mladan@amazon.com>
… Has No DefinitionBody (#2285) * Added Python3 Support for Translate CLI * Fixed disable_execute_api_endpoint: false Case * Formatted with Black * Added Fix for HttpApi * Added Unit Tests * Removed Function from Test Template * Updated Executable to be Python 3 Only
…wagger Editor constructor (#2263) * handle 'Invalid Swagger Document' and refactor some validation into Swagger Editor constructor * missed removing a comment * move path item validation into method * update new function to use swagger editor instance * small change, changing test to use swagger instead of openapi * update deployment hashes in some updated tests * add docstring :raises
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
* Improve exception processing for Route53 with invalid type * black reformat * code refactor
In issue #1245, we had a cases were SAM would fail due to improper validation. In updating #1286, I noticed this was patched in #1774 but we only added tests for AWS::Serverless::StateMachine. This commit adds an additional test to cover AWS::Serverless::Api. Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
Previously, this repo did not do any linting. The linting that is enabled is basic, as this commit disables all of what pylint was complaining about. Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
* Implement __deepcopy__ to improve performance * Cache py27 hash for Py27UniStr to improve performance
* Update function_with_custom_code_deploy integration test case * Remove unused methods
SAM spec is maintained on our doc site now at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-resources-and-properties.html Since we keep the AWS Doc site up to date, we are removing the one in the repo as it is duplicative and isn't tracked as part of our releases. Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
Update 'description-file' to 'description_file', in order to silence setuptools deprecation warning: /usr/lib/python3.9/site-packages/setuptools/dist.py:691: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
* Add retries on flaky integration test * Fix cors origins header name
hawflau
approved these changes
Mar 22, 2022
mndeveci
approved these changes
Mar 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
Description of how you validated changes:
Checklist:
make pr
passesExamples?
Please reach out in the comments, if you want to add an example. Examples will be
added to
sam init
through https://github.com/awslabs/aws-sam-cli-app-templates/By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.