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

Remove chosen deprecations #10063

Merged
merged 5 commits into from Oct 7, 2021
Merged

Remove chosen deprecations #10063

merged 5 commits into from Oct 7, 2021

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Oct 7, 2021

Remove deprecations we agreed internally to not apply for v3

  • Change of default for configValidationMode setting
  • Remove of support for sls deploy -f as an alias for sls deploy function -f
  • Remove support for package.include and package.exclude

Additionally replaced a resource extension-related deprecation with an error, as it was a logical error to place deprecation there. Deprecation signaled a situation where there was an attempt to extend not existing resource, and that resulted in adding resource without Type property, Such setup fails immediately with AWS validation. Replaced that with more meaningful error on our side.

@medikoo medikoo added bug deprecation Deprecation proposal (breaking with next major) labels Oct 7, 2021
@medikoo medikoo self-assigned this Oct 7, 2021
@codecov
Copy link

codecov bot commented Oct 7, 2021

Codecov Report

Merging #10063 (f1db1e4) into master (7c91cde) will increase coverage by 0.02%.
The diff coverage is 0.00%.

❗ Current head f1db1e4 differs from pull request most recent head c146168. Consider uploading reports for the commit c146168 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10063      +/-   ##
==========================================
+ Coverage   85.53%   85.55%   +0.02%     
==========================================
  Files         333      333              
  Lines       13473    13460      -13     
==========================================
- Hits        11524    11516       -8     
+ Misses       1949     1944       -5     
Impacted Files Coverage Δ
lib/classes/ConfigSchemaHandler/index.js 91.61% <ø> (+1.08%) ⬆️
...ns/aws/package/lib/mergeCustomProviderResources.js 78.78% <0.00%> (+2.31%) ⬆️
lib/plugins/deploy.js 100.00% <ø> (+5.26%) ⬆️
lib/plugins/package/package.js 100.00% <ø> (+3.70%) ⬆️

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 7c91cde...c146168. Read the comment docs.

@mnapoli
Copy link
Contributor

mnapoli commented Oct 7, 2021

It might be worth updating the "Deprecations" documentation as well to avoid confusion?

@medikoo medikoo removed the request for review from pgrzesik October 7, 2021 10:42
It'll be re-added in context of v3, with more hacky approach to `deploy -f` support
@medikoo
Copy link
Contributor Author

medikoo commented Oct 7, 2021

It might be worth updating the "Deprecations" documentation as well to avoid confusion?

Good point totally forgot about that. Added now

Copy link
Contributor

@pgrzesik pgrzesik left a comment

Choose a reason for hiding this comment

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

Good call with documenting it in deprecations.md 👍

@medikoo medikoo requested a review from mnapoli October 7, 2021 11:18
Copy link
Contributor

@mnapoli mnapoli left a comment

Choose a reason for hiding this comment

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

👍

@medikoo medikoo merged commit d071c5f into master Oct 7, 2021
@medikoo medikoo deleted the 1007-remove-deprecations branch October 7, 2021 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants