Skip to content
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

chore(aws): remove deprecated support for maximumEventAge & maximumRetryAttempts on destination #8138

Conversation

pgrzesik
Copy link
Contributor

@pgrzesik pgrzesik commented Aug 26, 2020

Removes support and deprecation message for maximumEventAge and maximumRetryAttempts set on function.destinations level.

I've decided to leave the note in docs/deprecations.md as I'm not sure if the intention is to keep that historic information or clean it up and only show "current" deprecations. Please let me know if it should be removed.

Closes: #8119

@codecov-commenter
Copy link

Codecov Report

Merging #8138 into v2 will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v2    #8138      +/-   ##
==========================================
- Coverage   88.28%   88.27%   -0.01%     
==========================================
  Files         248      248              
  Lines        9432     9424       -8     
==========================================
- Hits         8327     8319       -8     
  Misses       1105     1105              
Impacted Files Coverage Δ
lib/plugins/aws/package/compile/functions/index.js 97.25% <100.00%> (-0.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45080ed...1bdce19. Read the comment docs.

@medikoo medikoo added breaking A breaking change cat/lambda labels Aug 26, 2020
Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @pgrzesik, it's perfect!

Answering your question, we definitely want to keep documentation for deprecations, as users relying on older version should have this information still available. You've made a good judgement by keeping it.

@medikoo medikoo merged commit b8bbeb1 into serverless:v2 Aug 26, 2020
medikoo pushed a commit that referenced this pull request Sep 10, 2020
(PR #8138)

BREAKING CHANGE
Support for `maximumEventAge` and `maximumRetryAttemps` as set on `functions[].destinations` was removed.
Those properties should be defined directly on `functions[]`
medikoo pushed a commit that referenced this pull request Sep 10, 2020
(PR #8138)

BREAKING CHANGE
Support for `maximumEventAge` and `maximumRetryAttemps` as set on `functions[].destinations` was removed.
Those properties should be defined directly on `functions[]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A breaking change cat/lambda
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants