From 39dc62e40e261598b98a919db244efd76091d4f4 Mon Sep 17 00:00:00 2001 From: Michael Lombardi Date: Wed, 8 Nov 2023 17:09:29 -0600 Subject: [PATCH] (DOCS) Add resource discovery updates to CHANGELOG This change adds changelog entries for #240 to the CHANGELOG. --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5483aa5..9ae29c5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,6 +112,17 @@ changes since the last release, see the [diff on GitHub][unreleased]. +- Added optimizations for the resource discovery process that runs before most `dsc` commands. + These optimizations significantly reduce the command execution duration, especially for the + `dsc resource *` commands, which rarely need to run a full discovery for resources. + +
Related work items + + - Issues: [#173][#173] + - PRs: [#240][#240] + +
+ ### Fixed - The `--format` option now works as users expect when the output is redirected or saved to a @@ -134,6 +145,25 @@ changes since the last release, see the [diff on GitHub][unreleased]. +- DSC no longer terminates during discovery when a resource errors unless the erroring resource is + being used for the command. DSC still terminates on a resource error during discovery under the + following conditions: + + - When the erroring resource type is the same as the value of the `--resource` option for a + `dsc resource *` command. + - When an instance in the configuration document uses the erroring resource type for a + `dsc config *` command. + + DSC emits the resource errors during discovery as warning messages for the `dsc resource list` + command. In all other cases, DSC emits the errors as debug messages. + +
Related work items + + - Issues: [#121][#121] + - PRs: [#240][#240] + +
+ ## [v3.0.0-alpha.3][release-v3.0.0-alpha.3] - 2023-09-26 This section includes a summary of changes for the `alpha.3` release. For the full list of changes @@ -411,6 +441,7 @@ For the full list of changes in this release, see the [diff on GitHub][compare-v [#107]: https://github.com/PowerShell/DSC/issues/107 +[#121]: https://github.com/PowerShell/DSC/issues/121 [#127]: https://github.com/PowerShell/DSC/issues/127 [#130]: https://github.com/PowerShell/DSC/issues/130 [#133]: https://github.com/PowerShell/DSC/issues/133 @@ -423,6 +454,7 @@ For the full list of changes in this release, see the [diff on GitHub][compare-v [#168]: https://github.com/PowerShell/DSC/issues/168 [#171]: https://github.com/PowerShell/DSC/issues/171 [#172]: https://github.com/PowerShell/DSC/issues/172 +[#173]: https://github.com/PowerShell/DSC/issues/173 [#174]: https://github.com/PowerShell/DSC/issues/174 [#175]: https://github.com/PowerShell/DSC/issues/175 [#176]: https://github.com/PowerShell/DSC/issues/176 @@ -441,6 +473,7 @@ For the full list of changes in this release, see the [diff on GitHub][compare-v [#215]: https://github.com/PowerShell/DSC/issues/215 [#216]: https://github.com/PowerShell/DSC/issues/216 [#217]: https://github.com/PowerShell/DSC/issues/217 +[#240]: https://github.com/PowerShell/DSC/issues/240 [#45]: https://github.com/PowerShell/DSC/issues/45 [#73]: https://github.com/PowerShell/DSC/issues/73 [#98]: https://github.com/PowerShell/DSC/issues/98