Releases: nevware21/chromacon
v0.1.4
Enhancements
Code Quality & Maintenance
-
Removed Unused Dependencies: Cleaned up chai and @types/chai packages that were no longer being used
- Reduces package size and dependency surface area
- Improves installation times
- See #143: Remove unused chai dependencies
-
Enhanced Test Coverage: Added additional test cases for
replaceAnsi()function- Improves code reliability and edge case handling
- See #140: Add additional replaceAnsi test
Dependencies
-
Updated @nevware21/ts-utils: Bumped minimum version from 0.11.8 to 0.12.6
- Includes latest improvements and fixes from ts-utils library
- Fixed internal typing issue with
_lazyGetValue - See #139: Bump @nevware21/ts-utils minimum version to 0.12.6
-
Updated Development Dependencies:
- @types/node from 24.10.9 to 25.1.0
- puppeteer from 24.34.0 to 24.36.1
- @microsoft/rush from 5.164.0 to 5.166.0
- lewagon/wait-on-check-action from 1.4.1 to 1.5.0
What's Changed
- Bump @microsoft/rush from 5.164.0 to 5.165.0 by @dependabot[bot] in #126
- Update GitHub Actions workflow for Rush version sync by @nev21 in #127
- Update auto-approve conditions for PRs by @nev21 in #128
- Delete .github/workflows/sync-rush-versions.yml by @nev21 in #129
- Bump @microsoft/rush from 5.165.0 to 5.166.0 by @dependabot[bot] in #131
- Bump puppeteer from 24.34.0 to 24.35.0 in the puppeteer group by @dependabot[bot] in #130
- Bump puppeteer from 24.35.0 to 24.36.0 in the puppeteer group by @dependabot[bot] in #133
- Bump lewagon/wait-on-check-action from 1.4.1 to 1.5.0 by @dependabot[bot] in #134
- Bump puppeteer from 24.36.0 to 24.36.1 in the puppeteer group by @dependabot[bot] in #136
- Bump @types/node from 24.10.9 to 25.1.0 in /core in the types group by @dependabot[bot] in #137
- Bump @nevware21/ts-utils minimum version to 0.12.6 by @Copilot in #139
- Add additional replaceAnsi test by @nev21 in #140
- Update Changelist for 0.1.3 by @nev21 in #141
- chore: Remove unused chai dependencies by @Copilot in #143
- [Release] Increase version to 0.1.4 by @nev21 in #144
Full Changelog: 0.1.3...0.1.4
v0.1.3
New Features
Text Processing Utilities
-
Added
escapeAnsi()Function: New utility that escapes ANSI escape sequences in strings by converting them to their string representation- Converts
\x1bto\\x1bfor visible display of ANSI codes - Useful for debugging, logging, and displaying formatted text as plain text
- Handles all ANSI escape sequence types including colors, styles, cursor movements, and terminal links
- See escapeAnsi API for details
- Converts
-
Added
replaceAnsi()Function: Replace ANSI escape sequences with custom content- Supports string replacement or custom callback functions for advanced transformations
- Enables flexible text processing and format conversion
- Perfect for sanitizing or transforming colored output
- See replaceAnsi API for details
-
Exposed
parseAnsi()Function: Previously internal, now publicly available for parsing ANSI sequences- Parse ANSI escape sequences into structured data
- Returns detailed information about escape codes, positions, and content
- Enables advanced ANSI sequence analysis and manipulation
- See parseAnsi API for details
Enhancements
- Improved Code Organization: Reordered function files to avoid circular dependencies for better maintainability
- Enhanced Linting: Added auto semi-colon fixing to ESLint configuration for consistent code style
What's Changed
- Bump puppeteer from 24.32.1 to 24.33.0 in the puppeteer group by @dependabot[bot] in #105
- Bump peter-evans/rebase from 2 to 4 by @dependabot[bot] in #109
- Add fetch-depth to checkout action in workflow by @nev21 in #115
- Update sync-rush-versions.yml by @nev21 in #116
- Fix git diff glob pattern in sync-rush-versions workflow by @Copilot in #117
- Fix sync-rush-versions workflow detached HEAD error by @Copilot in #118
- Bump puppeteer from 24.33.0 to 24.33.1 in the puppeteer group by @dependabot[bot] in #119
- Add write permissions to sync-rush-versions workflow by @Copilot in #120
- Include common/scripts in sync-rush-versions workflow commits by @Copilot in #121
- Bump @microsoft/rush from 5.163.0 to 5.164.0 by @dependabot[bot] in #114
- Bump puppeteer from 24.33.1 to 24.34.0 in the puppeteer group by @dependabot[bot] in #122
- Bump chai from 6.2.1 to 6.2.2 in /core by @dependabot[bot] in #123
- Add escapeAnsi function by @nev21 in #124
- [Release] Increase version to 0.1.3 by @nev21 in #125
Full Changelog: 0.1.2...0.1.3
v0.1.2
New Features
Enhancements
- Added
normalStyle: New text style that sets normal intensity, providing an explicit way to reset bold/dim effects while preserving other formatting- Useful for fine-grained control over text intensity within formatted output
- Complements existing
boldanddimstyles - See normal style API for details
What's Changed
- Add normal style (sets the normal intensity) by @nev21 in #98
- [Release] Increase version to 0.1.2 by @nev21 in #101
Full Changelog: 0.1.1...0.1.2
v0.1.1
TypeScript Support Improvements
- Updated Style Exports: Styles are now exported as
ChromaStyletypes and not justCsiStylefor better TypeScript support
Documentation Improvements
- Enhanced Examples: Updated all color and style examples to show all three usage patterns:
- Function call syntax:
color("text")- includes automatic reset - Template literal syntax:
`${color}text`- no reset included - String concatenation:
color + "text"- no reset included - Concat method:
color.concat("text")- no reset included - *Each example now clearly indicates whether reset codes are included or not
- Function call syntax:
What's Changed
- Bump puppeteer from 24.32.0 to 24.32.1 in the puppeteer group by @dependabot[bot] in #92
- Fix style export type by @nev21 in #91
- [Release] Increase version to 0.1.1 by @nev21 in #97
Full Changelog: 0.1.0...0.1.1
v0.1.0
What's Changed
- Create FUNDING.yml by @nev21 in #1
- Initial Support for stripAnsi and color support detection by @nev21 in #2
- Update docs deployment by @nev21 in #5
- Bump actions/checkout from 2 to 6 by @dependabot[bot] in #6
- Bump @microsoft/rush from 5.162.0 to 5.163.0 by @dependabot[bot] in #11
- Fix github pages build by @nev21 in #19
- Bump github/codeql-action from 2 to 4 by @dependabot[bot] in #7
- Update dependabot to perform auto rebase and merge by @nev21 in #20
- Bump puppeteer from 23.11.1 to 24.31.0 in /core by @dependabot[bot] in #12
- Bump rollup-plugin-istanbul from 4.0.0 to 5.0.0 in /core by @dependabot[bot] in #8
- Bump @types/node from 22.19.1 to 24.10.1 in /core by @dependabot[bot] in #14
- Add dependabot force rebase by @nev21 in #25
- Bump puppeteer from 22.6.5 to 24.31.0 by @dependabot[bot] in #29
- Bump typescript from 5.2.2 to 5.9.3 by @dependabot[bot] in #15
- Bump @size-limit/preset-small-lib from 11.1.4 to 12.0.0 by @dependabot[bot] in #13
- Update dependabot-force-rebase.yml by @nev21 in #32
- Another Update to dependabot force rebase by @nev21 in #33
- Add GITHUB_TOKEN to dependabot force rebase workflow by @Copilot in #34
- Rename workflow and update trigger events by @nev21 in #35
- Bump @types/sinon from 10.0.20 to 21.0.0 in /core by @dependabot[bot] in #30
- Bump chai from 4.3.10 to 6.2.1 in /core by @dependabot[bot] in #9
- Bump cross-env from 7.0.3 to 10.1.0 in /core by @dependabot[bot] in #28
- Bump @rollup/plugin-commonjs from 25.0.8 to 29.0.0 in /core by @dependabot[bot] in #31
- Bump size-limit from 11.1.4 to 12.0.0 by @dependabot[bot] in #37
- Bump @types/sinon from 10.0.20 to 21.0.0 by @dependabot[bot] in #38
- Auto sync rush.json dependabot changes by @nev21 in #44
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #45
- Bump actions/setup-node from 4 to 6 by @dependabot[bot] in #46
- Update dependencies by @nev21 in #49
- Dependabot grouping updates by @nev21 in #53
- Bump the rollup group in /core with 3 updates by @dependabot[bot] in #57
- Update Readme and add examples to better call out color restoration and direct usage by @nev21 in #60
- Update Readme docs by @nev21 in #61
- Update dependabot auto merge action by @nev21 in #68
- Remove auto merge action again by @nev21 in #69
- Bump @types/eslint from 8.56.12 to 9.6.1 in the types group by @dependabot[bot] in #62
- Update Pure annotations by @nev21 in #72
- Add Dependabot auto approval action by @nev21 in #73
- Bump puppeteer from 24.31.0 to 24.32.0 in the puppeteer group by @dependabot[bot] in #64
- Update api-reference links by @nev21 in #74
- Address karma-typescript browser failures by @nev21 in #75
- Bump lewagon/wait-on-check-action from 1.3.4 to 1.4.1 by @dependabot[bot] in #76
- Update ansi formatter to reduce duplicates and unnecessary escape codes by @nev21 in #82
- Rename and update PR auto approval action by @nev21 in #83
- Preparing for initial release -- add missing files, keywords by @nev21 in #84
- [Release] Initial Release 0.1.0 by @nev21 in #85
- Fixup npm-publish script by @nev21 in #86
New Contributors
- @nev21 made their first contribution in #1
- @dependabot[bot] made their first contribution in #6
- @Copilot made their first contribution in #34
Full Changelog: https://github.com/nevware21/chromacon/commits/0.1.0