KEMBAR78
Make PS-Committee reviewed experimental features stable by SteveL-MSFT · Pull Request #15864 · PowerShell/PowerShell · GitHub
Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Aug 3, 2021

PR Summary

Each commit makes a feature non-experimental (although one extra due to my filter only looking at .cs files initially...). Removed the advertising of the experimental feature and any code and tests that checked that the feature is enabled.

To avoid the headache of merge conflicts, I'm submitting this as a single PR.

PR Context

Fix #15862

PR Checklist

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Aug 4, 2021
resultText = resultText.TrimEnd();

if (ExperimentalFeature.IsEnabled("PSAnsiRendering"))
var text = new ValueStringDecorated(resultText);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Side note: the struct could be readonly struct.

Copy link
Member Author

Choose a reason for hiding this comment

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

making the struct readonly requires making the fields readonly which breaks the deferred creation of PlainText only when needed

Copy link
Collaborator

Choose a reason for hiding this comment

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

LazyInitializer could be used for PlainText.

@SteveL-MSFT
Copy link
Member Author

CodeQL issue appears to have been fixed recently by GitHub in their action: github/codeql-action@a00769b#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341bR490

@rjmholt rjmholt merged commit cced56d into PowerShell:master Aug 9, 2021
@iSazonov iSazonov added this to the 7.2.0-preview.9 milestone Aug 10, 2021
@SteveL-MSFT SteveL-MSFT deleted the non-exp branch August 10, 2021 07:21
@ghost
Copy link

ghost commented Aug 23, 2021

🎉v7.2.0-preview.9 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented Sep 28, 2021

🎉v7.2.0-preview.10 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decide on which experimental features will remain in experimental in 7.2

4 participants