2
2
title : " Desired State Configuration changelog"
3
3
description : >-
4
4
A log of the changes for releases of DSCv3.
5
- ms.date : 03/06/2024
5
+ ms.topic : whats-new
6
+ ms.date : 06/24/2024
6
7
---
7
8
8
9
# Changelog
@@ -45,7 +46,7 @@ This section includes a summary of user-facing changes since the last release. F
45
46
changes since the last release, see the [ diff on GitHub] [ unreleased ] .
46
47
47
48
<!-- Unreleased comparison link - always update version to match last release tag-->
48
- [ unreleased ] : https://github.com/PowerShell/DSC/compare/v3.0.0-preview.7 ...main
49
+ [ unreleased ] : https://github.com/PowerShell/DSC/compare/v3.0.0-preview.8 ...main
49
50
50
51
<!--
51
52
Unreleased change entry instructions:
@@ -70,25 +71,55 @@ changes since the last release, see the [diff on GitHub][unreleased].
70
71
for the `v3.0.0.0-alpha.5` release. Leave the release links under the release section.
71
72
-->
72
73
74
+ <!-- Unreleased change links -->
75
+
76
+ ## [ v3.0.0-preview.8] [ release-v3.0.0-preview.8 ] - 2024-06-19
77
+
78
+ This section includes a summary of changes for the ` preview.8 ` release. For the full list of changes
79
+ in this release, see the [ diff on GitHub] [ compare-v3.0.0-preview.8 ] .
80
+
81
+ <!-- Release links -->
82
+ [ release-v3.0.0-preview.8 ] : https://github.com/PowerShell/DSC/releases/tag/v3.0.0-preview.8 " Link to the DSC v3.0.0-preview.8 release on GitHub "
83
+ [ compare-v3.0.0-preview.8 ] : https://github.com/PowerShell/DSC/compare/v3.0.0-preview.7...v3.0.0-preview.8
84
+
85
+ ### Changed
86
+
87
+ - Changed the ` Microsoft.DSC/PowerShell ` adapter to only handle PowerShell DSC Resources
88
+ implemented as classes and remove the dependency on the ** PSDesiredStateConfiguration** module.
89
+ The ` Microsoft.Windows/WindowsPowerShell ` adapter continues to work with classic PSDSC resources.
90
+ Neither adapter supports composite PSDSC resources. This change simplified the code and coincided
91
+ with ensuring that the ` Microsoft.DSC/PowerShell ` adapter works correctly on Linux and macOS as
92
+ well as Windows. This change also brought performance improvements to the adapter, speeding up
93
+ resource invocation and discovery.
94
+
95
+ <details ><summary >Related work items</summary >
96
+
97
+ - Issues: _ None_ .
98
+ - PRs:
99
+ - [ #435 ] [ #435 ]
100
+ - [ #439 ] [ #439 ]
101
+
102
+ </details >
103
+
73
104
### Added
74
105
75
- - Added the [ ` --what-if ` (` -w ` )] [ ur-aa ] option to the [ dsc config set] [ cmd-cset ] command. When you
106
+ - Added the [ ` --what-if ` (` -w ` )] [ p8-01 ] option to the [ dsc config set] [ cmd-cset ] command. When you
76
107
call ` dsc config set ` with the ` --what-if ` option, DSC doesn't actually invoke the resources to
77
108
enforce the desired state. Instead, it returns the expected output for the command, showing the
78
109
before and after state for each resource instance.
79
110
80
111
The output for the ` dsc config set ` operation with the ` --what-if ` operation is the same as an
81
- [ actual configuration set operation] [ ur-ab ] , except that the metadata field
82
- [ executionType] [ ur-ac ] is set to ` WhatIf ` instead of ` Actual ` .
112
+ [ actual configuration set operation] [ p8-02 ] , except that the metadata field
113
+ [ executionType] [ p8-03 ] is set to ` WhatIf ` instead of ` Actual ` .
83
114
84
115
By default, the generated output is synthetic, based on the results of the resources' ` test `
85
- operation. Resources can define the [ whatIf] [ ur-ad ] property in their resource manifest to
116
+ operation. Resources can define the [ whatIf] [ p8-04 ] property in their resource manifest to
86
117
participate in what-if operations, reporting more specifically how they will change the system.
87
118
For example, participating resources could indicate whether an actual set operation will require
88
119
a reboot or whether the current user has the correct permissions to manage that resource
89
120
instance.
90
121
91
- Participating resources have the [ WhatIf capability] [ ur-ae ] .
122
+ Participating resources have the [ WhatIf capability] [ p8-05 ] .
92
123
93
124
<details ><summary >Related work items</summary >
94
125
@@ -99,21 +130,23 @@ changes since the last release, see the [diff on GitHub][unreleased].
99
130
100
131
</details >
101
132
102
- - Added support for [ importer resources] [ ur-af ] . These resources resolve external sources to a
133
+ - Added support for [ importer resources] [ p8-06 ] . These resources resolve external sources to a
103
134
nested DSC Configuration document. The resolved instances are processed as nested resource
104
135
instances.
105
136
106
137
This required some updates to the schemas, all backwards-compatible:
107
138
108
- - Added a new [ resourceKind] [ ur-ag ] named ` Import ` .
109
- - Added the [ resolve] [ ur-ah ] command to resource manifests.
110
- - Added the new [ ` Resolve ` ] [ ur-ai ] capability, returned in the output for the
139
+ - Added a new [ resourceKind] [ p8-07 ] named ` Import ` .
140
+ - Added the [ resolve] [ p8-08 ] command to resource manifests.
141
+ - Added the new [ ` Resolve ` ] [ p8-09 ] capability, returned in the output for the
111
142
[ dsc resource list] [ cmd-rlist ] command when DSC discovers an importer resource.
112
143
113
144
<details ><summary >Related work items</summary >
114
145
115
146
- Issues: [ #429 ] [ #429 ]
116
- - PRs: [ #412 ] [ #412 ]
147
+ - PRs:
148
+ - [ #412 ] [ #412 ]
149
+ - [ #464 ] [ #464 ]
117
150
118
151
</details >
119
152
@@ -207,9 +240,20 @@ changes since the last release, see the [diff on GitHub][unreleased].
207
240
208
241
</details>
209
242
243
+ - Added the `Microsoft.DSC.Experimental/SystemctlService` class-based PSDSC resource. It has the
244
+ ` Get` and `Export` [capabilities][p8-10]. You can use it on Linux systems that manage services
245
+ with SystemD and `systemctl`. In this release, it doesn't support setting services.
246
+
247
+ <details><summary>Related work items</summary>
248
+
249
+ - Issues : _None_.
250
+ - PRs : [#454][#454]
251
+
252
+ </details>
253
+
210
254
# ## Fixed
211
255
212
- - Fixed the JSON Schema for [exit codes][ur-fa ] in the resource manifest to support negative
256
+ - Fixed the JSON Schema for [exit codes][p8-11 ] in the resource manifest to support negative
213
257
integers. Prior to this release, the DSC engine supported negative exit codes but the JSON Schema
214
258
forbid them.
215
259
@@ -243,17 +287,18 @@ changes since the last release, see the [diff on GitHub][unreleased].
243
287
244
288
</details>
245
289
246
- <!-- Unreleased change links -->
247
- [ur-aa] : ./docs/reference/cli/config/set.md#-w---what-if
248
- [ur-ab] : ./docs/reference/schemas/outputs/config/set.md
249
- [ur-ac] : ./docs/reference/schemas/metadata/Microsoft.DSC/properties.md#executiontype
250
- [ur-ad] : ./docs/reference/schemas/resource/manifest/whatif.md
251
- [ur-ae] : ./docs/reference/schemas/outputs/resource/list.md#capability-whatif
252
- [ur-af] : ./docs/reference/schemas/definitions/resourceKind.md#importer-resources
253
- [ur-ag] : ./docs/reference/schemas/definitions/resourceKind.md
254
- [ur-ah] : ./docs/reference/schemas/resource/manifest/resolve.md
255
- [ur-ai] : ./docs/reference/schemas/outputs/resource/list.md#capability-resolve
256
- [ur-fa] : ./docs/reference/schemas/resource/manifest/root.md#exitcodes
290
+ <!-- Preview.8 links -->
291
+ [p8-01] : ./docs/reference/cli/config/set.md#-w---what-if
292
+ [p8-02] : ./docs/reference/schemas/outputs/config/set.md
293
+ [p8-03] : ./docs/reference/schemas/metadata/Microsoft.DSC/properties.md#executiontype
294
+ [p8-04] : ./docs/reference/schemas/resource/manifest/whatif.md
295
+ [p8-05] : ./docs/reference/schemas/outputs/resource/list.md#capability-whatif
296
+ [p8-06] : ./docs/reference/schemas/definitions/resourceKind.md#importer-resources
297
+ [p8-07] : ./docs/reference/schemas/definitions/resourceKind.md
298
+ [p8-08] : ./docs/reference/schemas/resource/manifest/resolve.md
299
+ [p8-09] : ./docs/reference/schemas/outputs/resource/list.md#capability-resolve
300
+ [p8-10] : ./docs/reference/schemas/outputs/resource/list.md#capabilities
301
+ [p8-11] : ./docs/reference/schemas/resource/manifest/root.md#exitcodes
257
302
258
303
# # [v3.0.0-preview.7][release-v3.0.0-preview.7] - 2024-04-22
259
304
@@ -309,10 +354,12 @@ in this release, see the [diff on GitHub][compare-v3.0.0-preview.7].
309
354
310
355
</details>
311
356
312
- - <a id="rename-provider-to-adapter" /> In this release, the term `DSC Resource Provider` is
313
- replaced with the more semantically accurate `DSC Resource Adapter`. These resources enable users
314
- to leverage resources that don't define a DSC Resource Manifest with DSC, like PSDSC resources -
315
- they're _adapters_ between DSCv3 and resources defined in a different way.
357
+ - <a id="rename-provider-to-adapter"></a>
358
+
359
+ In this release, the term `DSC Resource Provider` is replaced with the more semantically accurate
360
+ ` DSC Resource Adapter` . These resources enable users to leverage resources that don't define a
361
+ DSC Resource Manifest with DSC, like PSDSC resources - they're _adapters_ between DSCv3 and
362
+ resources defined in a different way.
316
363
317
364
Beyond using different terminology in the documentation, this change also renamed the resource
318
365
manifest property `provider` to [adapter][p7-01], and the `requires` property in the output for
@@ -1522,9 +1569,13 @@ For the full list of changes in this release, see the [diff on GitHub][compare-v
1522
1569
[#431]: https://github.com/PowerShell/DSC/issues/431
1523
1570
[#432]: https://github.com/PowerShell/DSC/issues/432
1524
1571
[#434]: https://github.com/PowerShell/DSC/issues/434
1572
+ [#435]: https://github.com/PowerShell/DSC/issues/435
1525
1573
[#438]: https://github.com/PowerShell/DSC/issues/438
1574
+ [#439]: https://github.com/PowerShell/DSC/issues/439
1526
1575
[#441]: https://github.com/PowerShell/DSC/issues/441
1527
1576
[#444]: https://github.com/PowerShell/DSC/issues/444
1577
+ [#454]: https://github.com/PowerShell/DSC/issues/454
1578
+ [#464]: https://github.com/PowerShell/DSC/issues/464
1528
1579
[#45]: https://github.com/PowerShell/DSC/issues/45
1529
1580
[#49]: https://github.com/PowerShell/DSC/issues/49
1530
1581
[#57]: https://github.com/PowerShell/DSC/issues/57
0 commit comments