Releases: stoe/action-reporting-cli
v4.0.1
What's Changed
🆙 Dependencies
- ⬆️ npm: Bump the npm group with 4 updates by @dependabot in #121
Full Changelog: v4.0.0...v4.0.1
v4.0.0
What's Changed
💥 Breaking Changes
- Complete rewrite of the codebase architecture by @stoe in #120
- Changed entry point from
index.js
tocli.js
- Modified module exports structure in
package.json
- Removed deprecated
utils/
directory in favor of organizedsrc/
structure - Changed API contracts and interfaces
✨ New Features
-
Enhanced Logging System
- Added Winston-based logging with multiple output levels
- Implemented spinners with Ora for better UX during long operations
- Added debug mode with file-based logging
- Improved warning log usage (
🔊 Use warn logging more often
)
-
Improved Caching
- Added dedicated cache management system in
cache.js
- Enhanced performance with persistent API response caching
- Added dedicated cache management system in
-
Modular Architecture
- Created specialized GitHub entity classes (Enterprise, Repository, Owner)
- Implemented pluggable report formats (CSV, JSON, Markdown)
- Added options to skip archived/forked repositories
-
User Experience
- Improved report logic and generation
- Added messaging to display report and output options
- Enhanced CLI help text
🧰 Technical Improvements
-
Code Organization
- Reorganized codebase into logical directories:
src/github/
: GitHub API interactionssrc/report/
: Report generation logicsrc/util/
: Utility functions
- Reorganized codebase into logical directories:
-
Documentation
- Improved README clarity and usage instructions
- Added comprehensive contributing guidelines
- Enhanced inline code documentation
-
Testing Infrastructure
- Complete rewrite of tests with Jest framework
- Implemented mocks for core functionality
- Added unit tests across all components
🐛 Bug Fixes
No specific bug fixes were included in this release as it's a complete rewrite.
🆙 Dependencies
-
Node Requirements
- Updated Node.js requirement to >=20
- Updated npm requirement to >=10
-
New Dependencies
ora
(v8.2.0) for terminal spinners and progress indicatorswinston
(v3.17.0) for advanced logging
-
Updated Core Dependencies
@octokit/core
to v7.0.2 by @dependabot in #115@octokit/plugin-paginate-rest
to v13.1.0 by @dependabot in #115@octokit/plugin-throttling
to v11.0.1 by @dependabot in #115got
to v14.4.7 by @dependabot in #114csv
to v6.3.11meow
to v13.2.0normalize-url
to v8.0.2
-
Updated Dev Dependencies
eslint-config-prettier
to v10.1.2 by @dependabot in #115eslint-plugin-prettier
to v5.2.6 by @dependabot in #115lint-staged
to v15.5.1 by @dependabot in #115
- All development dependencies updated to latest versions
📊 File Statistics
- Added: 25 new JavaScript files
- Removed: 3 files (
index.js
,utils/reporting.js
,utils/wait.js
) - Total Changes: 15,557 insertions, 2,551 deletions across 54 files
🔄 Migration Guide
Users upgrading from v3.x will need to:
-
Update Node.js to version 20 or later and npm to version 10 or later
-
Update imports/requires to use the new module structure:
// Old imports (v3) import Reporting from '@stoe/action-reporting-cli' // New imports (v4) import Report from '@stoe/action-reporting-cli' // or for specific components import { CSVReporter } from '@stoe/action-reporting-cli/report' import { Repository } from '@stoe/action-reporting-cli/github'
-
Review the updated CLI options and parameters
-
Update any code that directly uses the library's exports
See the documentation for detailed migration instructions.
🎉 Thank you!
@a-magdy, thank you for inspiring this rewrite!
🐙🐱💚
Full Changelog: v3.6.3...v4.0.0
v4.0.0-rc.0
Release Notes v4.0.0-rc.0
This release represents a complete architectural rewrite of the
action-reporting-cli
with significant enhancements and breaking changes.
📦 Changes
Complete Architectural Rewrite
- Complete codebase rewrite with a new modular architecture and organization
- Changed entry point from
index.js
tocli.js
- Modified module exports structure in
package.json
- Organized codebase into logical directories:
src/github/
: GitHub API interactionssrc/report/
: Report generation logicsrc/util/
: Utility functions
Enhanced Logging System
- Added Winston-based logging with multiple output levels
- Implemented spinners with Ora for better UX during long operations
- Added debug mode with file-based logging
- Improved warning log usage for better visibility
Improved Caching System
- Added dedicated cache management in
src/util/cache.js
- Enhanced performance with persistent API response caching
New Features
- Added options to skip archived/forked repositories
- Improved report logic and generation
- Added messaging to display report and output options
- Enhanced CLI help text
Documentation
- Improved README clarity and usage instructions
- Added comprehensive contributing guidelines
- Enhanced inline code documentation
Testing Infrastructure
- Complete rewrite of tests with Jest framework
- Added mocks and fixtures for testing
- Implemented unit tests across all components
🐛 Bug Fixes
- No specific bug fixes were included in this release as it's a complete rewrite
🆙 Dependencies
- Updated Node.js requirement to >=20 and npm to >=10
- Added new dependencies:
ora
(v8.2.0) for terminal spinners and progress indicatorswinston
(v3.17.0) for advanced logging
- Updated Octokit packages to latest versions:
@octokit/core
to v7.0.2@octokit/plugin-paginate-rest
to v13.1.0@octokit/plugin-throttling
to v11.0.1
- Updated other dependencies:
got
to v14.4.7csv
to v6.3.11meow
to v13.2.0normalize-url
to v8.0.2
- Updated all development dependencies to latest versions
📊 File Statistics
- Added: 25 new JavaScript files
- Removed: 3 files (
index.js
,utils/reporting.js
,utils/wait.js
) - Total Changes: 15,557 insertions, 2,551 deletions across 54 files
🔄 Migration Guide
Users upgrading from v3.x will need to:
-
Update Node.js to version 20 or later and npm to version 10 or later
-
Update imports/requires to use the new module structure:
// Old imports (v3) import Reporting from '@stoe/action-reporting-cli' // New imports (v4) import Report from '@stoe/action-reporting-cli' // or for specific components import {CSVReporter} from '@stoe/action-reporting-cli/report' import {Repository} from '@stoe/action-reporting-cli/github'
-
Review the updated CLI options and parameters
-
Update any code that directly uses the library's exports
See the documentation for detailed migration instructions.
v4.0.0-alpha.1
Full Changelog: v4.0.0-alpha.0...v4.0.0-alpha.1
v4.0.0-alpha.0
What's Changed
💥 Breaking Changes
- Complete rewrite of the codebase architecture
- Changed entry point from
index.js
tocli.js
- Modified module exports structure in
package.json
- Removed deprecated
utils/
directory in favor of organizedsrc/
structure - Changed API contracts and interfaces
✨ New Features
-
Enhanced Logging System
- Added Winston-based logging with multiple output levels
- Implemented spinners with Ora for better UX during long operations
- Added debug mode with file-based logging
-
Improved Caching
- Added dedicated cache management system in
cache.js
- Enhanced performance with persistent API response caching
- Added dedicated cache management system in
-
Modular Architecture
- Created specialized GitHub entity classes (Enterprise, Repository, Owner)
- Implemented pluggable report formats (CSV, JSON, Markdown)
-
Testing Infrastructure
- Added comprehensive Jest testing framework
- Implemented mocks for core functionality
- Added unit tests across all components
🧰 Technical Improvements
-
Dependencies
- Updated all dependencies to latest versions
- Added new dependencies:
ora
(v8.2.0) for terminal spinnerswinston
(v3.17.0) for advanced logging
- Updated Octokit packages to latest versions
-
Code Organization
- Reorganized codebase into logical directories:
src/github/
: GitHub API interactionssrc/report/
: Report generation logicsrc/util/
: Utility functions
- Reorganized codebase into logical directories:
-
Code Quality
- Enhanced documentation across the codebase
- Updated build and test scripts
- Improved error handling and reporting
Full Changelog: v3.6.3...v4.0.0-alpha.0
v3.7.0-alpha.1
v3.7.0-alpha.1
v3.7.0-alpha.0
v3.7.0-alpha.0
v3.6.3
Full Changelog: v3.6.0...v3.6.3
v3.6.0
What's Changed
📦 Changes
🆙 Dependencies
- ⬆️ npm: Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group by @dependabot in #109
- ⬆️ npm: Bump the npm group across 1 directory with 3 updates by @dependabot in #110
Full Changelog: v3.5.1...v3.6.0
v3.5.2-alpha
What's Changed
🆙 Dependencies
- ⬆️ npm: Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group by @dependabot in #109
- ⬆️ npm: Bump the npm group across 1 directory with 3 updates by @dependabot in #110
Full Changelog: v3.5.1...v3.5.2-alpha