Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make PS-Committee reviewed experimental features stable#15864

Merged
rjmholt merged 11 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
SteveL-MSFT:non-expSteveL-MSFT/PowerShell:non-expCopy head branch name to clipboard
Aug 9, 2021
Merged

Make PS-Committee reviewed experimental features stable#15864
rjmholt merged 11 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
SteveL-MSFT:non-expSteveL-MSFT/PowerShell:non-expCopy head branch name to clipboard

Conversation

@SteveL-MSFT

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

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

ghost commented Aug 23, 2021

Copy link
Copy Markdown

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

Handy links:

@ghost

ghost commented Sep 28, 2021

Copy link
Copy Markdown

🎉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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.