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 support for allowUnauthenticated #8160

Merged
merged 1 commit into from Sep 1, 2020
Merged

Remove support for allowUnauthenticated #8160

merged 1 commit into from Sep 1, 2020

Conversation

morgan-sam
Copy link
Contributor

@morgan-sam morgan-sam commented Sep 1, 2020

Closes: #8120

Removes allowUnauthenticated and allowUnauthenticated related tests.

@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2020

Codecov Report

Merging #8160 into v2 will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v2    #8160      +/-   ##
==========================================
+ Coverage   88.17%   88.20%   +0.03%     
==========================================
  Files         248      248              
  Lines        9434     9405      -29     
==========================================
- Hits         8318     8296      -22     
+ Misses       1116     1109       -7     
Impacted Files Coverage Δ
...ins/aws/package/compile/events/alb/lib/validate.js 97.82% <100.00%> (-0.14%) ⬇️
lib/Serverless.js 96.00% <0.00%> (-1.34%) ⬇️
lib/plugins/aws/provider/awsProvider.js 92.85% <0.00%> (ø)
lib/plugins/aws/invokeLocal/index.js 69.80% <0.00%> (+0.23%) ⬆️
lib/plugins/aws/utils/resolveCfImportValue.js 62.50% <0.00%> (+5.35%) ⬆️
lib/plugins/aws/info/getStackInfo.js 93.61% <0.00%> (+5.86%) ⬆️
...ib/plugins/aws/package/compile/events/sns/index.js 100.00% <0.00%> (+6.52%) ⬆️

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 12063bc...8f77312. Read the comment docs.

@medikoo medikoo changed the base branch from master to v2 September 1, 2020 13:16
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.

@morgan-sam In general it looks great. Code-wise I have just one remark towards documentation update.

Still all v2 proposals should be based against v2 branch, can you rebase your branch against it (I've already updated PR to show changes against this branch) ?

Thank you!

@@ -32,7 +32,7 @@ Please upgrade to use at least Node.js v10 (It's recommended to use LTS version,

## AWS ALB `allowUnauthenticated`

Please use `onUnauthenticatedRequest` instead. `allowUnauthenticated` will be removed with v2.0.0
Please use `onUnauthenticatedRequest` instead. `allowUnauthenticated` has been deprecated
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's not update deprecation notes.

@medikoo medikoo changed the title Deprecate allowUnauthenticated Remove support for allowUnauthenticated Sep 1, 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 @morgan-sam looks great!

@medikoo medikoo merged commit f9606f7 into serverless:v2 Sep 1, 2020
@morgan-sam morgan-sam deleted the deprecate-allowUnauthenticated branch September 1, 2020 14:45
medikoo pushed a commit that referenced this pull request Sep 10, 2020
BREAKING CHANGE:
Support for `providers.alb.authorizers[].allowUnauthenticated` setting was removed. Rely on `providers.alb.authorizers[].onUnauthenticatedRequest` instead.

(PR #8160)
medikoo pushed a commit that referenced this pull request Sep 10, 2020
BREAKING CHANGE:
Support for `providers.alb.authorizers[].allowUnauthenticated` setting was removed. Rely on `providers.alb.authorizers[].onUnauthenticatedRequest` instead.

(PR #8160)
medikoo pushed a commit that referenced this pull request Sep 10, 2020
BREAKING CHANGE:
Support for `providers.alb.authorizers[].allowUnauthenticated` setting was removed. Rely on `providers.alb.authorizers[].onUnauthenticatedRequest` instead.

(PR #8160)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove support for provider.alb.authorizers[].allowAuthenticated
3 participants