Skip to content

Remove RequireLicenseAcceptance default value - #11512

Merged
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
ThomasNieto:fix
Jan 7, 2020
Merged

Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
ThomasNieto:fix

Conversation

@ThomasNieto

@ThomasNieto Thomas Nieto (ThomasNieto) commented Jan 7, 2020 •

Copy link
Copy Markdown
Contributor

PR Summary

This PR is to fix #11491 by removing the default value for RequireLicenseAcceptance switch parameter on New-ModuleManifest.

PR Context

When RequireLicenseAcceptance switch parameter was added, it had a default value of true. This caused new module manifests to have a unintended result. It also required users to use an awkward syntax to disable it (-RequireLicenseAcceptance:$false).

PR Checklist

@iSazonov Ilya (iSazonov) left a comment

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.

Please open new issue in PowerShell-Docs repo.

@iSazonov Ilya (iSazonov) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Jan 7, 2020
@iSazonov Ilya (iSazonov) added this to the GA-consider milestone Jan 7, 2020
@ThomasNieto

Copy link
Copy Markdown
Contributor Author

Ilya (@iSazonov) I've updated the PR to reference docs issue: MicrosoftDocs/PowerShell-Docs#5275

@TravisEz13 Travis Plunk (TravisEz13) added the Breaking-Change breaking change that may affect users label Jan 7, 2020
@TravisEz13

Copy link
Copy Markdown
Member

Marked this a breaking change because it changes the default, which may cause unexpected results for users familiar with the existing behavior.

@TravisEz13 Travis Plunk (TravisEz13) added the Review - Committee The PR/Issue needs a review from the PowerShell Committee label Jan 7, 2020
@TravisEz13

Copy link
Copy Markdown
Member

Since this breaking change involves licensing, I'm asking the committee to review it before we take the change.

@TravisEz13 Travis Plunk (TravisEz13) removed the Review - Committee The PR/Issue needs a review from the PowerShell Committee label Jan 7, 2020
@TravisEz13

Copy link
Copy Markdown
Member

This change was introduced in 7, so, it is not a breaking change from 6.2 and doesn't require committee review.

@TravisEz13
Travis Plunk (TravisEz13) merged commit b25e67e into PowerShell:master Jan 7, 2020
@iSazonov

Copy link
Copy Markdown
Collaborator

Should we remove Breaking label too?

@iSazonov

Copy link
Copy Markdown
Collaborator

Thomas Nieto (@ThomasNieto) Thank for your contribution!

@TravisEz13

Copy link
Copy Markdown
Member

Ilya (@iSazonov) This is breaking from previous 7 previews. We have labels those changes in the past.

@TravisEz13 Travis Plunk (TravisEz13) added the CL-BreakingChange Indicates that a PR should be marked as a breaking change in the Change Log label Jan 7, 2020
@iSazonov

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13) Will we have full change list (from 6.x to 7.0) in CHANGE.log? In the case such labels will be not correct.

@TravisEz13

Copy link
Copy Markdown
Member

How should we denote an inter-release breaking change?

@iSazonov

Copy link
Copy Markdown
Collaborator

This is breaking from previous 7 previews.

My concern is about this. I think it is not a breaking change if we change something in 7.0 Preview.2 that came from 7.0 Preview.1. I believe breaking change baseline for 7.0 GA is latest 6.x version.

@SteveL-MSFT

Copy link
Copy Markdown
Member

Agree with Ilya (@iSazonov)'s assessment. Breaking change is from stable release perspective.

@TravisEz13 Travis Plunk (TravisEz13) removed Breaking-Change breaking change that may affect users CL-BreakingChange Indicates that a PR should be marked as a breaking change in the Change Log labels Jan 7, 2020
@TravisEz13

Copy link
Copy Markdown
Member

Created a PR to clarify the guidance, as this is not the definition of a breaking change we have used previously: #11516

@ghost

Copy link
Copy Markdown

🎉v7.0.0-rc.2 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.

RequireLicenseAcceptance set to $true automatically on PS 7

6 participants