Skip to content

Releases: brianluby/brew-parser

v0.3.0

Choose a tag to compare

@brianluby brianluby released this 13 Sep 18:51

v0.3.0 — Streamlined default flow + pipx-ready

Added

  • Default flow runs "changes since last run" and prints Markdown; initializes baseline on first run
  • Output formats via --format md|table|json (default md) and --limit N per-category
  • Table UX prints a summary before details for faster scanning
  • Console script entry brew-parser for pipx install . and global CLI usage
  • Docs updated: README (new default flow, formats, pipx), AGENTS.md

Changed

  • Saves new snapshot only on successful fetch/diff/output

Removed

  • --days option (API lacks creation dates; will revisit with local history)

Compatibility

  • Legacy commands remain: update (manual snapshot), diff (show changes only), new (added only)

Validation

  • black, flake8, mypy (strict) pass; pytest: all tests green

v0.2.1

Choose a tag to compare

@brianluby brianluby released this 13 Sep 18:07
acadba0

Release 0.2.1

Added

  • AGENTS.md contributor guide with structure, commands, style, and PR tips

Fixed

  • Tests aligned with stored JSON wrapper format ({"formulas": [...]})
  • No functional changes; documentation and test expectations only

v0.2.0 - Code Quality and Type Safety Improvements

Choose a tag to compare

@brianluby brianluby released this 13 Sep 16:36

What's Changed

Added

  • Comprehensive type annotations for all methods
  • MyPy strict mode compliance
  • Specific exception handling for different error types
  • Consistent data storage format with wrapper dictionary
  • Code quality standards documentation in CLAUDE.md

Changed

  • Improved error messages to be more specific about failure types
  • User-Agent header now uses actual GitHub repository URL
  • Data storage format now uses {"formulas": [...]} wrapper for consistency
  • Updated shebang line to proper format with space after #

Removed

  • Unused click dependency from requirements
  • Unused imports: timedelta, Set, os

Fixed

  • Type safety issues with API response handling
  • Data format inconsistency between save and load operations
  • Test compatibility with new data format
  • Line length issues for flake8 compliance

Developer Experience

  • All code now formatted with Black (88-character line limit)
  • Flake8 compliance with no warnings
  • MyPy strict mode passes with no errors
  • All 31 tests pass successfully

Breaking Changes

⚠️ Data Format Change: The storage format has changed in v0.2.0. After upgrading, users must run brew_parser.py update to rebuild their local formula database.

Installation

git clone https://github.com/bluby/brew-parser.git
cd brew-parser
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Full Changelog

See CHANGELOG.md for complete details.

🤖 Generated with Claude Code