Skip to content

Releases: stoe/action-reporting-cli

v4.0.1

01 Jul 06:38
v4.0.1
3932eb4
Compare
Choose a tag to compare

What's Changed

🆙 Dependencies

Full Changelog: v4.0.0...v4.0.1

v4.0.0

21 Jun 11:02
v4.0.0
ab29bdf
Compare
Choose a tag to compare

What's Changed

💥 Breaking Changes

  • Complete rewrite of the codebase architecture by @stoe in #120
  • Changed entry point from index.js to cli.js
  • Modified module exports structure in package.json
  • Removed deprecated utils/ directory in favor of organized src/ 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
  • 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 interactions
      • src/report/: Report generation logic
      • src/util/: Utility functions
  • 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 indicators
    • winston (v3.17.0) for advanced logging
  • Updated Core Dependencies

  • Updated Dev Dependencies

    • 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:

  1. Update Node.js to version 20 or later and npm to version 10 or later

  2. 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'
  3. Review the updated CLI options and parameters

  4. 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

21 Jun 10:33
v4.0.0-rc.0
e9b3be6
Compare
Choose a tag to compare
v4.0.0-rc.0 Pre-release
Pre-release

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 to cli.js
  • Modified module exports structure in package.json
  • Organized codebase into logical directories:
    • src/github/: GitHub API interactions
    • src/report/: Report generation logic
    • src/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 indicators
    • winston (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.7
    • csv to v6.3.11
    • meow to v13.2.0
    • normalize-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:

  1. Update Node.js to version 20 or later and npm to version 10 or later

  2. 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'
  3. Review the updated CLI options and parameters

  4. Update any code that directly uses the library's exports

See the documentation for detailed migration instructions.

v4.0.0-alpha.1

04 Jun 11:58
v4.0.0-alpha.1
2cd5c0d
Compare
Choose a tag to compare
v4.0.0-alpha.1 Pre-release
Pre-release

v4.0.0-alpha.0

03 Jun 08:15
v4.0.0-alpha.0
2d38546
Compare
Choose a tag to compare
v4.0.0-alpha.0 Pre-release
Pre-release

What's Changed

💥 Breaking Changes

  • Complete rewrite of the codebase architecture
  • Changed entry point from index.js to cli.js
  • Modified module exports structure in package.json
  • Removed deprecated utils/ directory in favor of organized src/ 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
  • 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 spinners
      • winston (v3.17.0) for advanced logging
    • Updated Octokit packages to latest versions
  • Code Organization

    • Reorganized codebase into logical directories:
      • src/github/: GitHub API interactions
      • src/report/: Report generation logic
      • src/util/: Utility functions
  • 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

05 May 16:01
v3.7.0-alpha.1
8b08d66
Compare
Choose a tag to compare
v3.7.0-alpha.1 Pre-release
Pre-release
v3.7.0-alpha.1

v3.7.0-alpha.0

05 May 16:00
v3.7.0-alpha.0
53b7acc
Compare
Choose a tag to compare
v3.7.0-alpha.0 Pre-release
Pre-release
v3.7.0-alpha.0

v3.6.3

27 Mar 10:25
v3.6.3
cde5f5d
Compare
Choose a tag to compare

Full Changelog: v3.6.0...v3.6.3

v3.6.0

06 Jul 09:27
v3.6.0
bc7a82a
Compare
Choose a tag to compare

What's Changed

📦 Changes

  • Overhaul of the project's linting and formatting setup by @stoe in #111

🆙 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

06 Jul 08:51
1378d48
Compare
Choose a tag to compare
v3.5.2-alpha Pre-release
Pre-release

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