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

[release/8.0] Limit language version on Logger and Options source gens #90709

Merged
merged 6 commits into from
Aug 17, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 17, 2023

Backport of #90654 to release/8.0

/cc @tarekgh

Customer Impact

Users utilizing the Logging or Options Validation source generators in conjunction with C# compiler versions preceding 8.0 will encounter compilation errors within the generated code. This stems from our utilization of the nullability feature during code generation, which was initially supported by the compiler starting from version 8.0. As a result of this modification, the source generator will now provide a distinct diagnostic message, indicating that users must use compiler versions 8.0 and beyond.

Testing

Regression tests and adding more tests to tests the new behavior.

Risk

Very low. We are touching only the scenario which is broken and had bad user experience. This change shouldn't affect any other cases.


IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

@ghost
Copy link

ghost commented Aug 17, 2023

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #90654 to release/8.0

/cc @tarekgh

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-Meta

Milestone: -

@tarekgh tarekgh added this to the 8.0.0 milestone Aug 17, 2023
@ghost
Copy link

ghost commented Aug 17, 2023

Tagging subscribers to this area: @dotnet/area-extensions-logging
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #90654 to release/8.0

/cc @tarekgh

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-Extensions-Logging

Milestone: -

@tarekgh tarekgh self-assigned this Aug 17, 2023
@tarekgh tarekgh added the Servicing-consider Issue for next servicing release review label Aug 17, 2023
@tarekgh
Copy link
Member

tarekgh commented Aug 17, 2023

Thanks @eiriktsarpalis for merging the message update. can you approve this PR too?

@carlossanlop
Copy link
Member

@ericstj can we get your autograph if you approve?

Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

Approved. We need to get localization set up in this branch so that these strings can get translated before we release.

@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Aug 17, 2023
@carlossanlop carlossanlop merged commit f7df78f into release/8.0 Aug 17, 2023
108 of 109 checks passed
@carlossanlop carlossanlop deleted the backport/pr-90654-to-release/8.0 branch August 17, 2023 23:02
@ghost ghost locked as resolved and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Extensions-Logging Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants