Releases: versatiles-org/node-release-tool
Releases · versatiles-org/node-release-tool
v2.7.5
Release v2.7.5
Bug Fixes
- simplify extractTextFromMDAsHTML function by removing redundant handling for emphasis and list nodes
- restore rootDir in tsconfig.json for proper directory structure
- update esbuild packages to version 0.27.5 in package-lock.json
Build System
- deps: bump codecov/codecov-action from 5 to 6 in the action group
Chores
- update dependencies and fix import path
v2.7.4
Release v2.7.4
Bug Fixes
- remove deprecated mdast dependency in package.json and package-lock.json
- add typecheck script to check TypeScript types in the check command
- simplify readFileSync mock implementation in release-npm tests
- add @types/mdast to devDependencies in package.json and package-lock.json
v2.7.3
Release v2.7.3
Bug Fixes
- ensure test output is silent in vitest configuration
Chores
- update dependencies in package.json
- add mdast and remark dependencies for improved markdown processing
v2.7.2
Release v2.7.2
Bug Fixes
- update README badges for NPM version, downloads, code coverage, CI status, and license
- update foldable argument to accept string input for better usability
- rename entryPoint and outputPath to input and output for consistency
- add "node" types to compilerOptions for improved type checking
- enhance error handling in generateCommandDocumentation for subcommands
Chores
- update dependencies and devDependencies in package.json
v2.7.1
Release v2.7.1
Bug Fixes
- update git push command to use --atomic for safer releases
- remove unnecessary false flag from git commit command
- update upgradeDependencies to use shell.run for removing node_modules and lock file
Chores
- update devDependencies and dependencies in package.json
v2.7.0
Release v2.7.0
Breaking Changes
- add tests for npm auth check and breaking changes in release function
Features
- implement custom error handling with VrtError class and helper functions
- verify npm authentication before starting release
- add retry logic for transient network failures in release
- parse conventional commits for grouped release notes
- add changelog generation and update functionality
- add performance benchmarking for CLI operations
Bug Fixes
- update flowchart structure in README for accurate command representation
- update exclude pattern in generateDependencyGraph to include mock files
- update dependency graph in README for accurate representation
- increase complexity threshold in ESLint configuration
Code Refactoring
- improve extractTextFromMDAsHTML and getMDAnchor functions with exhaustive type checks and improved handling of Markdown nodes
- add strict type definitions for command options
Documentation
- improve documentation with detailed comments and examples for Git and Shell interfaces
- enhance security warnings in Shell class methods to prevent command injection risks
- add SECURITY.md with vulnerability reporting policy
Tests
- improve CLI tests with additional command coverage and verbose option handling
- add unit tests for changelog generation and updating functionality
- add some error scenario tests
- improve command documentation tests with subcommand handling
- increase duration threshold in async execution measurement
- adjust async execution duration thresholds in benchmark tests
- add interactive command execution tests in Shell
- add tests for nodeToHtml reference handling
Build System
- deps: bump commander from 14.0.2 to 14.0.3 in the npm group
CI/CD
- add build artifact validation step
Chores
- update @types/node and commander dependencies to latest versions
- add .editorconfig for IDE consistency
- add husky and lint-staged for pre-commit hooks
- improve ESLint rules with complexity and promise checks
- update string-width dependency versions in package-lock.json
Styles
- format YAML and TypeScript
- format YAML and TypeScript files for consistency
v2.6.0
Release v2.6.0
changes:
- build(deps): bump the npm group with 10 updates
- chore: update dependencies in package.json
- chore: remove debug log from run function in tests
- fix: add support for GitHub markdown alerts in document injection
- fix: correct argument order
- fix: correct warning message for scripts.build
- fix: add Shell.exec method
- fix: update GitHub release command to use Shell.exec
- fix: add test step to CI
- fix: remove error rethrow in check function
- fix: ensure process.exit exits with status code 1 in abort function
- fix: remove console.log statements from extractTextFromMDAsHTML, getMDAnchor, and nodeToHtml functions
- fix: refactor CI workflow to use matrix strategy for Node versions
- fix: update version regex to support pre-release and build metadata
- test: add unit tests for upgradeDependencies function
- feat: add dry-run option to release-npm command for previewing actions
- feat: add verbose option to CLI for enhanced logging
- refactor: validate package.json structure with isValidPackageJson function
- feat: add Prettier configuration and scripts for code formatting
- feat: update README to include verbose and dry-run options for CLI commands
- style: improve code formatting
- feat: enhance check script to include format checking
- feat: add formatting check step to CI workflow
- fix: ensure fail-fast is set to false in CI job strategy
- fix: remove Node 18 from CI job matrix
- feat: specify Node.js engine requirement in package.json
- feat: add build step before generating test coverage in CI workflow
- feat: specify Node.js engine requirement as >=20 in package-lock.json
- fix: add .claude to .prettierignore
v2.5.0
Release v2.5.0
changes:
- build(deps): bump actions/checkout from 5 to 6 in the action group
- build(deps): bump the npm group with 8 updates
- refactor: replace getShell function with Shell class instantiation
- feat: add runInteractive method for interactive command execution
- feat: use runInteractive for npm publish command
- feat: integrate npm-check-updates for dependency upgrades and remove outdated test file
- chore: update dependencies to latest versions
v2.4.5
Release v2.4.5
changes:
- build(deps): bump actions/setup-node in the github-action group
- build(deps): bump the npm group with 7 updates
- build(deps): bump the npm group with 5 updates
- build(deps): update dependabot schedule to monthly for npm and github-actions
- build(deps): bump the npm group with 3 updates
- chore: update dependencies
- refactor: migrate tests and code from Jest to Vitest
- build(deps): add @vitest/coverage-v8 for test coverage reporting
- build(ci): remove caching step for node modules in CI workflow
- fix(tests): add testTimeout to configuration
v2.4.4
Release v2.4.4
changes:
- build(deps): bump actions/checkout in the github-action group
- build(deps): bump the npm group with 14 updates
- chore: update dependabot schedule to weekly and adjust versioning strategy
- add funding.yml
- build(deps): bump the npm group with 9 updates
- build(deps): bump actions/setup-node in the github-action group
- build(deps): bump the npm group with 7 updates
- build(deps-dev): bump the npm group with 5 updates
- build(deps): bump the npm group with 7 updates
- ci: add permissions in CI workflow
- chore: update dependencies in package.json