Skip to content

Releases: dsccommunity/DscResource.DocGenerator

v0.9.0-preview0007

06 Jul 18:51
1420a68
Compare
Choose a tag to compare
v0.9.0-preview0007 Pre-release
Pre-release

[v0.9.0-preview0007]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.
    • Get-TemporaryPath - returns the appropriate temp path for the OS.
    • Get-ConfigurationAst - Returns the AST for a single or all configurations.
    • Get-CompositeSchemaObject - Returns an object containing the parameters
      and other properties related to a composite resource. The object that is
      returned is different format to a MOF or class-based object and the property
      names are aligned to a configuration parameter block rather than MOF.
    • Get-CompositeResourceParameterState - Determines the parameter state of a
      composite resource parameter. This is a meta attribute that will either be
      Required or Write.
    • Get-CompositeResourceParameterValidateSet - Returns the array of values
      contained in the ValidateSet parameter attributes if it exists.
  • Added QA test to do some quality checks on the module code and change log.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).
    • Refactored to split into two private functions New-DscMofResourceWikiPage and
      New-DscClassResourceWikiPage.
  • Get-MofSchemaObject
    • Refactored to reduce code duplication when adding functions for supporting
      composite resources.
  • Get-ClassResourceCommentBasedHelp
    • Renamed this function to Get-CommentBasedHelp so that it made sense to
      use with composite DSC resources.
    • Enabled the function to extract the comment block if it is not at the top
      of the script file to support composite resources.
  • Updated code to pass newly added quality checks.
  • Invoke-Git
    • Converted to public function.
    • Updated to use System.Diagnostics.Process for improved error handling.
    • Returns object, allowing caller to process result.
    • git commands no longer use --quiet to populate returned object.

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75
  • Invoke-Git
    • Set $TimeOut to Milliseconds
      Fixes Issue 84

v0.9.0-preview0006

26 Jun 13:45
c75f492
Compare
Choose a tag to compare
v0.9.0-preview0006 Pre-release
Pre-release

[v0.9.0-preview0006]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.
    • Get-TemporaryPath - returns the appropriate temp path for the OS.
    • Get-ConfigurationAst - Returns the AST for a single or all configurations.
    • Get-CompositeSchemaObject - Returns an object containing the parameters
      and other properties related to a composite resource. The object that is
      returned is different format to a MOF or class-based object and the property
      names are aligned to a configuration parameter block rather than MOF.
    • Get-CompositeResourceParameterState - Determines the parameter state of a
      composite resource parameter. This is a meta attribute that will either be
      Required or Write.
    • Get-CompositeResourceParameterValidateSet - Returns the array of values
      contained in the ValidateSet parameter attributes if it exists.
  • Added QA test to do some quality checks on the module code and change log.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).
    • Refactored to split into two private functions New-DscMofResourceWikiPage and
      New-DscClassResourceWikiPage.
  • Get-MofSchemaObject
    • Refactored to reduce code duplication when adding functions for supporting
      composite resources.
  • Get-ClassResourceCommentBasedHelp
    • Renamed this function to Get-CommentBasedHelp so that it made sense to
      use with composite DSC resources.
    • Enabled the function to extract the comment block if it is not at the top
      of the script file to support composite resources.
  • Updated code to pass newly added quality checks.
  • Invoke-Git
    • Converted to public function.
    • Updated to use System.Diagnostics.Process for improved error handling.
    • Returns object, allowing caller to process result.

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.9.0-preview0005

25 Jun 04:50
27e84f3
Compare
Choose a tag to compare
v0.9.0-preview0005 Pre-release
Pre-release

[v0.9.0-preview0005]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.
    • Get-TemporaryPath - returns the appropriate temp path for the OS.
    • Get-ConfigurationAst - Returns the AST for a single or all configurations.
    • Get-CompositeSchemaObject - Returns an object containing the parameters
      and other properties related to a composite resource. The object that is
      returned is different format to a MOF or class-based object and the property
      names are aligned to a configuration parameter block rather than MOF.
    • Get-CompositeResourceParameterState - Determines the parameter state of a
      composite resource parameter. This is a meta attribute that will either be
      Required or Write.
    • Get-CompositeResourceParameterValidateSet - Returns the array of values
      contained in the ValidateSet parameter attributes if it exists.
  • Added QA test to do some quality checks on the module code and change log.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).
    • Refactored to split into two private functions New-DscMofResourceWikiPage and
      New-DscClassResourceWikiPage.
  • Get-MofSchemaObject
    • Refactored to reduce code duplication when adding functions for supporting
      composite resources.
  • Converted Invoke-Git cmdlet to use System.Diagnostics.Process for improved error handling.
  • Get-ClassResourceCommentBasedHelp
    • Renamed this function to Get-CommentBasedHelp so that it made sense to
      use with composite DSC resources.
    • Enabled the function to extract the comment block if it is not at the top
      of the script file to support composite resources.
  • Updated code to pass newly added quality checks.

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.9.0-preview0004

20 Jun 13:14
0be498b
Compare
Choose a tag to compare
v0.9.0-preview0004 Pre-release
Pre-release

[v0.9.0-preview0004]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.
    • Get-TemporaryPath - returns the appropriate temp path for the OS.
    • Get-ConfigurationAst - Returns the AST for a single or all configurations.
    • Get-CompositeSchemaObject - Returns an object containing the parameters
      and other properties related to a composite resource. The object that is
      returned is different format to a MOF or class-based object and the property
      names are aligned to a configuration parameter block rather than MOF.
    • Get-CompositeResourceParameterState - Determines the parameter state of a
      composite resource parameter. This is a meta attribute that will either be
      Required or Write.
    • Get-CompositeResourceParameterValidateSet - Returns the array of values
      contained in the ValidateSet parameter attributes if it exists.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).
    • Refactored to split into two private functions New-DscMofResourceWikiPage and
      New-DscClassResourceWikiPage.
  • Get-MofSchemaObject
    • Refactored to reduce code duplication when adding functions for supporting
      composite resources.
  • Converted Invoke-Git cmdlet to use System.Diagnostics.Process for improved error handling.
  • Get-ClassResourceCommentBasedHelp
    • Renamed this function to Get-CommentBasedHelp so that it made sense to
      use with composite DSC resources.
    • Enabled the function to extract the comment block if it is not at the top
      of the script file to support composite resources.

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.9.0-preview0003

19 Jun 15:25
c03c040
Compare
Choose a tag to compare
v0.9.0-preview0003 Pre-release
Pre-release

[v0.9.0-preview0003]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.
    • Get-TemporaryPath - returns the appropriate temp path for the OS.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).
    • Refactored to split into two private functions New-DscMofResourceWikiPage and
      New-DscClassResourceWikiPage.
  • Get-MofSchemaObject
    • Refactored to reduce code duplication when adding functions for supporting
      composite resources.
  • Converted Invoke-Git cmdlet to use System.Diagnostics.Process for improved error handling.

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.9.0-preview0002

16 Jun 19:08
3a8ba11
Compare
Choose a tag to compare
v0.9.0-preview0002 Pre-release
Pre-release

[v0.9.0-preview0002]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.
    • Get-TemporaryPath - returns the appropriate temp path for the OS.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).
    • Refactored to split into two private functions New-DscMofResourceWikiPage and
      New-DscClassResourceWikiPage.
  • Get-MofSchemaObject
    • Refactored to reduce code duplication when adding functions for supporting
      composite resources.

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.9.0-preview0001

08 Jun 04:32
210424f
Compare
Choose a tag to compare
v0.9.0-preview0001 Pre-release
Pre-release

[v0.9.0-preview0001]

Added

  • Added private functions:
    • Get-ClassAst - Returns the AST for a single or all classes.
    • Get-ClassResourceAst - Returns the AST for a single or all DSC class
      resources.
    • Get-ClassResourceProperty - Returns DSC class resource properties
      from the provided class or classes.
    • Format-Text - Format a string according to predefined options.

Changed

  • New-DscResourceWikiPage
    • If a class-based resource has a parent class that contains DSC resource
      properties they will now also be returned as part of the DSC resource
      parameters (issue #62).

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.8.4-preview0001

03 Jun 09:33
e877879
Compare
Choose a tag to compare
v0.8.4-preview0001 Pre-release
Pre-release

[v0.8.4-preview0001]

Fixed

  • Publish_GitHub_Wiki_Content
    • Output message if $GitHubToken not specified which skips this task.
      Fixes Issue 75

v0.8.3

10 Apr 16:31
8e7ba87
Compare
Choose a tag to compare

[v0.8.3]

Added

  • DscResource.DocGenerator
    • Adding uploading coverage to Codecov.io.

Fixed

  • DscResource.DocGenerator
    • Fixed formatting in the code through out.
    • Minor change in code comment.

v0.8.2-preview0002

10 Apr 16:12
8e7ba87
Compare
Choose a tag to compare
v0.8.2-preview0002 Pre-release
Pre-release

[v0.8.2-preview0002]

Added

  • DscResource.DocGenerator
    • Adding uploading coverage to Codecov.io.

Fixed

  • DscResource.DocGenerator
    • Fixed formatting in the code through out.
    • Minor change in code comment.