FileOptimizer.psd1

@{
    ModuleVersion     = '1.1.7'
    GUID              = 'a47c8e21-5f3b-4d92-9c1a-6e8b2d4f7c90'
    Author            = 'Aurocosh'
    Copyright         = '(c) PS-FileOptimizer contributors. FileOptimizer plugins are subject to their respective licenses.'
    Description       = 'PowerShell module mirroring FileOptimizer plugin optimization chains with a scriptable CLI.'
    PowerShellVersion = '5.1'
    RootModule        = 'FileOptimizer.psm1'
    FunctionsToExport = @(
        'Optimize-FoFile'
        'Get-FoPipeline'
        'Get-FoExecutionPlan'
        'Invoke-FoPluginChain'
        'Resolve-FoPluginExecutable'
        'Get-FoConfig'
        'Initialize-FoConfig'
        'Undo-FoOptimization'
        'Get-FoHistory'
        'Install-FoPlugins'
        'Install-FoDssim'
    )
    PrivateData       = @{
        PSData = @{
            Tags         = @('FileOptimizer', 'compression', 'optimization', 'PNG', 'CLI')
            LicenseUri   = 'https://www.gnu.org/licenses/agpl-3.0.html'
            ProjectUri   = 'https://github.com/Aurocosh/ps-file-optimizer'
            # Plain text only (PowerShell Gallery does not render markdown).
            ReleaseNotes = @'
1.1.7
 
Fix DefluffPipe corrupting PNG output, and harden the pipeline step debugger.
 
Fixes
 
- DefluffPipe no longer feeds defluff through .NET anonymous pipes (that path produced invalid PNGs with bad IDAT CRC). Stdio uses Start-Process file redirects; on Windows PowerShell 5.1 the process handle is cached before wait so ExitCode is reliable.
- Debug-FoPipelineSteps per-step snapshots keep the working file extension.
- Debug-FoPipelineSteps treats compare-tool errors (for example dssim failing to load a corrupt PNG) as a failed step instead of terminating the script.
 
Tests
 
- DefluffPipe PNG integrity regression via magick AE compare.
- Debug-FoPipelineSteps asserts snapshot paths end with .png.
'@

        }
    }
}