Skip to content

Releases: Nick2bad4u/PS-Color-Scripts-Enhanced

Release v2025.10.27.541

27 Oct 05:43
78f769c

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[78f769c...
78f769c]
(compare)

💼 Other

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.27.140

27 Oct 01:43
9c540a3

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[9c540a3...
9c540a3]
(compare)

💼 Other

  • 🛠️ [fix] Improve path handling and test reliability

This update introduces several fixes and enhancements to improve robustness, especially around path resolution and test execution.

  • Source Code Changes

    • 🛠️ [fix] Strengthens cache path resolution by adding error handling for [System.IO.Path]::IsPathRooted. This prevents crashes when processing paths with invalid characters, returning null instead.
  • Testing and Build Changes

    • 🧪 [test] Updates tests to be more resilient and accurate.
      • Improves test state management by using try...finally blocks to correctly restore environment and global variables, ensuring test isolation.
      • Refines assertions to be more specific, particularly for cache path and text emission tests, to correctly reflect behavior under different conditions (like output redirection).
      • Corrects a potential issue in a test by ensuring a Where-Object result is always treated as an array.
    • 👷 [ci] Enhances the module test script (Test-Module.ps1).
      • Introduces a helper function to reliably retrieve the module's cache directory, even if it hasn't been initialized yet.
      • Skips the PSScriptAnalyzer test with a warning if the module is not installed, preventing script failure in environments without it.
    • 🧹 [chore] [dependency] Updates the module version and updates related help files.

Signed-off-by: Nick2bad4u [email protected] (9c540a3)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.25.536

25 Oct 05:37
0d48754

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[0d48754...
0d48754]
(compare)

💼 Other

  • ✨ [feat] Expand colorscript collection to 498 and add slideshow functionality

🎨 Colorscript Collection Expansion

  • Increases available colorscripts from 327 to 498 (52% growth) 📚
  • Updates all documentation and metadata references across README files and module manifest
  • Reflects new collection size in cache documentation (~4.9MB for 498 scripts)

🎬 New Show-ColorScript Slideshow Capability

  • Adds -All parameter to cycle through all colorscripts in alphabetical order 🔄
  • Introduces -WaitForInput flag for manual progression with spacebar between each script ⏸️
  • Supports 'q' key to exit slideshow early for better user control
  • Works seamlessly with existing -Category filter for themed slideshows
  • Updates XML help documentation with three new usage examples demonstrating slideshow features

📦 Build Tooling Enhancement

  • Adds git-cliff dependency (v2.10.1) to package.json for automated changelog generation
  • Installs supporting dependencies: execa, figures, get-stream, human-signals, is-plain-obj, is-stream, is-unicode-supported, npm-run-path, pretty-ms, cross-spawn, and platform-specific git-cliff binaries 🔨

🕐 Version & Timestamp Updates

  • [dependency] Updates module version from 2025.10.20.1440 to 2025.10.25.0124
  • Updates generated timestamp in manifest to reflect latest build date

Enables richer user interaction for exploring the expanded colorscript library while maintaining backward compatibility with existing cmdlet usage.

Signed-off-by: Nick2bad4u [email protected] (0d48754)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.20.1920

20 Oct 19:22
7a9eb52

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[7a9eb52...
7a9eb52]
(compare)

💼 Other

  • ⚡ [perf] Improves module loading and execution speed

Improves the module's performance by optimizing configuration handling, script inventory, and metadata loading, and introduces a performance playbook.

  • ⚡ [perf] Implements lazy loading for cache and configuration:
    • Initializes the cache directory and loads configuration only when needed, avoiding unnecessary overhead during module import.
  • ⚡ [perf] Optimizes configuration saving:
    • Adds a check to prevent writing configuration if the content hasn't changed, reducing disk I/O.
  • ⚡ [perf] Enhances script inventory management:
    • Caches script inventory and reuses record objects to avoid rescanning the scripts directory on warm calls.
    • Adds function to reset the script inventory cache.
  • ⚡ [perf] Improves metadata loading and caching:
    • Adds support for JSON-based metadata cache file for faster subsequent loads.
    • Uses .NET file methods for faster file existence checks and modification time retrieval.
  • ⚡ [perf] Optimizes script execution and output handling:
    • Introduces Test-ColorScriptTextEmission to determine when to emit text, reducing overhead when output is redirected or not needed.
  • 🛠️ [fix] Fixes a regex in Show-ColorScriptHelp to correctly match parameter metadata lines.
  • 🛠️ [fix] Corrects an issue where the configuration root path could be improperly determined if XDG_CONFIG_HOME was empty.
  • 🚜 [refactor] Refactors Copy-ColorScriptHashtable and Merge-ColorScriptConfiguration to use System.Collections.IDictionary instead of hashtable for broader compatibility and adds cloning for arrays and ICloneable objects.
  • 📝 [docs] Adds a PERFORMANCE_IMPROVEMENTS.md file, detailing performance objectives, optimizations, startup timeline, measurement playbook, usage recommendations, maintenance checklist, and future opportunities.
  • 🧹 [chore] Updates the linting script to resolve paths and handle potential NullReferenceException during analysis.
  • 🧹 [chore] Renames an ANSI file to correct character encoding.

Signed-off-by: Nick2bad4u [email protected] (7a9eb52)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.17.2106

17 Oct 21:08
89be5fa

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[89be5fa...
89be5fa]
(compare)

💼 Other

  • ✨ [feat] Adds 32 new color scripts

Adds 32 new color scripts to the module, increasing the total number of available scripts from 295 to 327.

  • 🎨 Updates module version and release notes to reflect the new scripts.
  • 📝 Updates documentation and README files to reflect the increased number of color scripts.
  • 🖼️ Includes the new we-acidtrip-1.ps1 script.
  • 🧹 Updates the module manifest (.psd1) with the new version number and release notes.
  • 👷 Updates documentation files (README.md, README-Gallery.md, MODULE_SUMMARY.md, Development.md, MEGALINTER-SETUP.md) to reflect the new script count.

Signed-off-by: Nick2bad4u [email protected] (89be5fa)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.15.755

15 Oct 07:57
f40b353

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[f40b353...
f40b353]
(compare)

💼 Other

  • ✨ [feat] Enhances ColorScripts with new features

Improves the ColorScripts-Enhanced module with several enhancements:

  • ✨ Adds a Show-ColorScriptHelp function to display colorized help output for commands, improving user experience by providing more readable help information.
  • Uses Write-Host with different ForegroundColor values to highlight sections, parameter names, example commands, and parameter metadata.
  • 🛠️ Implements ShouldProcess support in configuration cmdlets (Set-ColorScriptConfiguration, Reset-ColorScriptConfiguration, New-ColorScript) to provide confirmation prompts before applying changes.
  • ➕ Adds help alias to all functions
  • ⚡ Improves ColorScript categorization by adding category tags to all scripts, enhancing discoverability and organization.
  • Ensures every script has at least one Category:* tag, and verifies city-neon specifically has the Category:Artistic tag.
  • 📝 Updates the module manifest ([ColorScripts-Enhanced](https://github.com/Nick2bad4u/PS-Color-Scripts-Enhanced).psd1) to reflect the latest version and enhancements.
  • Updates ModuleVersion and ReleaseNotes to reflect new features and improvements.
  • 🧪 Adds tests to verify the new categorization functionality and ensure that scripts are correctly tagged.
  • 🧹 Removes unused inst_H, inst_P, and inst_U methods from Convert-AnsiToColorScript.js.

Signed-off-by: Nick2bad4u [email protected] (f40b353)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.15.39

15 Oct 00:40

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[c142500...
c142500]
(compare)

💼 Other

  • ✨ [feat] Adds 41 new color scripts

  • ➕ Increases the number of color scripts from 245 to 286, expanding the collection of available ANSI art.

  • Updates module version to 2025.10.14.2033 and modifies release notes to reflect new count.

  • 📄 Updates documentation to reflect the increased number of color scripts.

  • Updates README files (main and gallery) to display the new total count.

  • Updates documentation index to reflect new script count.

  • 🔥 Removes unused temp.txt file from Scripts/ directory.

  • 🛠️ Adds new command line option --max-height to Convert-AnsiToColorScript.js to split output into multiple files.

  • Implements file splitting logic in Convert-AnsiToColorScript.js

  • ⚡ Improves Convert-AnsiToColorScript.js to strip background color for plain space characters.

  • 🧹 Adds new script conversion commands to package.json.

Signed-off-by: Nick2bad4u [email protected] (c142500)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.15.1915

15 Oct 19:17
1cd5ffc

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[1cd5ffc...
1cd5ffc]
(compare)

💼 Other

  • ⚡ [perf] Improves caching and updates module version

⚡ [perf] Improves caching and boosts performance

  • 💾 Implements an enhanced caching system that utilizes an OS-wide cache in AppData, centralizing cache storage.
  • 🚀 Achieves a 6-19x performance improvement due to the enhanced caching mechanism.

🛠️ [fix] Corrects regex and updates output message

  • 🐛 Fixes a regular expression in Show-ColorScriptHelp to correctly identify parameter metadata lines, ensuring proper formatting. The ? was escaped incorrectly.
  • ✅ Updates the success message in Add-ColorScriptProfile to a more standard format: "[OK]".

🧹 [chore] Updates module version and release notes

  • 📦 Updates the module version in [ColorScripts-Enhanced](https://github.com/Nick2bad4u/PS-Color-Scripts-Enhanced).psd1 from '2025.10.15.0349' to '2025.10.15.1509' to reflect the latest changes.
  • 📝 Updates the release notes in [ColorScripts-Enhanced](https://github.com/Nick2bad4u/PS-Color-Scripts-Enhanced).psd1 to include the new caching improvements and performance enhancements.

Signed-off-by: Nick2bad4u [email protected] (1cd5ffc)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.14.551

14 Oct 05:53
e4bca67

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[e4bca67...
e4bca67]
(compare)

💼 Other

  • Remove Markdown link check job from test workflow

Removed the Markdown link check job from the workflow. (e4bca67)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.

Release v2025.10.14.22

14 Oct 00:23
09a97ba

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[09a97ba...
09a97ba]
(compare)

💼 Other

  • 📝 [docs] Update module metadata and READMEs

Updates module version and documentation badges.

  • ⬆️ Updates the module version in the module manifest ([ColorScripts-Enhanced](https://github.com/Nick2bad4u/PS-Color-Scripts-Enhanced).psd1) from '2025.10.13.1914' to '2025.10.13.2018'.
  • 🕰️ This reflects a new build or release of the module.
  • 🛡️ Updates badges in README.md and README-Gallery.md to use PowerShell Gallery and NuGet logos.
  • 🎨 Improves visual appeal and clarity of the badges.
  • 📦 Adds NuGet badges for version and downloads.
  • 🔗 Updates badge links to point to the correct resources.
  • ✅ Adds an OpenSSF Scorecard badge to README.md.
  • ⚙️ Changes the platform badge to include a Windows Terminal logo.
  • ✨ Enhances the README with additional badges for code size, repo stars, and contribution guidelines.

Signed-off-by: Nick2bad4u [email protected] (09a97ba)

Contributors

Thanks to all the contributors for their hard work!

License

This project is licensed under the MIT License
This changelog was automatically generated with git-cliff.