You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/prompts/breaking-change.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
When you're assigned an issue that's labeled "breaking-change", or when you're given a link to an issue that's labeled "breaking-change" and asked to create a new breaking change document, follow the following guidelines:
1
+
When you're assigned an issue that's labeled "breaking-change", or when you're given a link to an issue with this prompt file as context and asked to create a new breaking change document, follow these guidelines:
|[X500DistinguishedName validation is stricter](cryptography/10.0/x500distinguishedname-validation.md)| Behavioral change | Preview 1|
54
-
|[X509Certificate and PublicKey key parameters can be null](cryptography/10.0/x509-publickey-null.md)| Behavioral/source incompatible change | Preview 3|
55
-
|[Environment variable renamed to DOTNET_OPENSSL_VERSION_OVERRIDE](cryptography/10.0/version-override.md)| Behavioral change | Preview 1|
|[X500DistinguishedName validation is stricter](cryptography/10.0/x500distinguishedname-validation.md)| Behavioral change | Preview 1 |
54
+
|[X509Certificate and PublicKey key parameters can be null](cryptography/10.0/x509-publickey-null.md)| Behavioral/source incompatible change | Preview 3 |
|[Applications referencing both WPF and WinForms must disambiguate MenuItem and ContextMenu types](windows-forms/10.0/menuitem-contextmenu.md)| Source incompatible | Preview 1 |
87
-
|[Renamed parameter in HtmlElement.InsertAdjacentElement](windows-forms/10.0/insertadjacentelement-orientation.md)| Source incompatible | Preview 1|
|[Applications referencing both WPF and WinForms must disambiguate MenuItem and ContextMenu types](windows-forms/10.0/menuitem-contextmenu.md)| Source incompatible | Preview 1 |
88
+
|[Renamed parameter in HtmlElement.InsertAdjacentElement](windows-forms/10.0/insertadjacentelement-orientation.md)| Source incompatible | Preview 1 |
# dotnet package list command now performs restore by default
10
+
11
+
The `dotnet package list` command now automatically performs a restore operation before listing packages to ensure accurate and up-to-date results. This is a behavioral change from the previous implementation where the command did not require a restore step. Additionally, if the restore operation fails, an error message is logged.
12
+
13
+
## Version introduced
14
+
15
+
.NET 10 Preview 4
16
+
17
+
## Previous behavior
18
+
19
+
The `dotnet package list` command listed project packages without performing a restore. If a restore was needed, you had to run it manually before using the command.
20
+
21
+
## New behavior
22
+
23
+
The `dotnet package list` command now automatically performs a restore before listing packages. If the restore fails, the command doesn't list packages and instead logs an error message in both plain text and JSON formats, depending on the command usage.
24
+
25
+
## Type of breaking change
26
+
27
+
This change is a [behavioral change](../../categories.md#behavioral-change).
28
+
29
+
## Reason for change
30
+
31
+
This change ensures the `dotnet package list` command provides accurate and up-to-date package information.
32
+
33
+
## Recommended action
34
+
35
+
If this change causes issues in your workflow:
36
+
37
+
- Use the `--no-restore` option with `dotnet package list` if you want to bypass the implicit restore step.
38
+
- Make sure your project is ready for restore before running the `dotnet package list` command.
39
+
- Alternatively, run `dotnet restore` manually before using `dotnet package list` to decouple the restore step.
0 commit comments