v1.3.0 🌈
Changes
🚀 Features
- Enhancement: Add test entrypoint script @leojonathanoh (#7)
- Enhancement: Add module manifest definition and generate module manifest @leojonathanoh (#28)
- Enhancement: Add missing -WhatIf parameter and rename $g_debugFlag to $WhatIf @leojonathanoh (#10)
- Enhancement (development): Add .vscode/tasks.json @leojonathanoh (#25)
- Enhancement (ci): Add github workflows @leojonathanoh (#26)
- Enhancement (ci): Add PSModulePublisher submodule @leojonathanoh (#27)
🐛 Bug Fixes
- Fix: Use Test-Path -PathType Container instead of $item.PSIsContainer @leojonathanoh (#21)
- Fix: Remove stray $WhatIf variable declaration in Log-Rotate cmdlet @leojonathanoh (#22)
- Fix: Fix unneeded $stateFile variable in Log-Rotate unit tests @leojonathanoh (#24)
- Fix: Fix stray character in New-BlockFactory @leojonathanoh (#18)
- Fix: Fix module path in publish-to-psgallery job in github workflows @leojonathanoh (#34)
- Fix validation of option 'olddir' in LogObject in New-LogObject omitted during cleanup in 25555ca @leojonathanoh (#13)
- Fix New-LogObject class function that should return a LogObject @leojonathanoh (#12)
- Fix (tests): Fix integration tests failing in many versions of powershell @leojonathanoh (#30)
- Fix (modulemanifest): Use text in module manifest description @leojonathanoh (#32)
- Fix (modulemanifest): Fix invalid tag values @leojonathanoh (#36)
🖊️ Refactors
- Refactor: Simplify error handling to no longer use Get-Exception-Message cmdlet @leojonathanoh (#17)
- Refactor: Simplify error handling in New-BlockFactory to no longer use Get-Exception-Message cmdlet @leojonathanoh (#19)
- Refactor: Remove all Write-Debug lines @leojonathanoh (#8)
- Refactor: Move repository to theohbrothers namespace @leojonathanoh (#29)
- Refactor: Make module name to be dynamic in test entrypoint script @leojonathanoh (#35)
- Refactor: Get module's version dynamically when using -Version @leojonathanoh (#33)
- Refactor: Cleanup unneeded $DebugPreference variable in Log-Rotate @leojonathanoh (#23)
- Refactor (tests): Split up Log-Rotate cmdlet unit tests from integration tests and fix and add some tests @leojonathanoh (#20)
- Refactor (tests): Rearrange Log-Rotate inegration tests to be in alphabetal order @leojonathanoh (#15)
- Refactor (tests): Add Log-Rotate integration test for preremove option @leojonathanoh (#14)
📝 Documentation
- Docs: Simplify readme @leojonathanoh (#31)
🧰 Maintenance
- Chore: Remove unused class files @leojonathanoh (#11)