Skip to content

fix(v3): revert unnecessary changes that impacts v3 #5087

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

Merged

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #5029

Summary

Changes

The V3 branch does not yet have nox installed to perform dependency testing and some of our changes have created some unexpected cross-dependency breaking changes.

Here is the list of breaking changes detected so far:

1 - We can't import BaseModel outside of TYPE_CHECKING because it will force to bring Pydantic at Runtime level even not using data_validation - v3/aws_lambda_powertools/event_handler/openapi/types.py#L7

2 - We can't import ConfigDict because we will force to bring Pydantic event not using data_validation - v3/aws_lambda_powertools/event_handler/openapi/constants.py#L1

3 - We need to restore get_header.. and get_querystring.. functions removed by this PR - #4606 (files)

4 - Removed unnecessary examples.

5 - Deprecated get_header method.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team August 27, 2024 22:40
@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation event_handlers tests labels Aug 27, 2024
@pull-request-size pull-request-size bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Aug 27, 2024
@leandrodamascena leandrodamascena changed the title fix(v3): revert changes that impacts v3 fix(v3): revert unnecessary changes that impacts v3 Aug 27, 2024
@github-actions github-actions bot added bug Something isn't working and removed documentation Improvements or additions to documentation labels Aug 27, 2024
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Aug 27, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Aug 27, 2024
Copy link

@leandrodamascena leandrodamascena merged commit 69cd4d2 into aws-powertools:v3 Aug 27, 2024
11 checks passed
@leandrodamascena leandrodamascena deleted the bugs/regression-v3 branch August 27, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working event_handlers size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant