Skip to content

πŸš€ Dynamic Configuration & IDE Support - v1.2.0

Latest

Choose a tag to compare

@dev-kraken dev-kraken released this 20 Jun 20:19
· 1 commit to main since this release

πŸŽ‰ What's New in v1.2.0

⚑ Dynamic Configuration System

  • Real-time config updates: Changes to .commitlintrc.json now take effect immediately without reinstalling hooks
  • No more manual sync: Eliminated the need to run php bin/php-commitlint install --force after config changes
  • Smart hook generation: Pre-commit hooks now read configuration at runtime

🧠 IDE Support with JSON Schema

  • GitHub-hosted schema: Added comprehensive JSON schema at docs/schema.json
  • Auto-completion: IDEs now provide intelligent suggestions for .commitlintrc.json files
  • Validation: Real-time validation and error highlighting in configuration files
  • Schema URL: https://raw.githubusercontent.com/dev-kraken/php-commitlint/main/docs/schema.json

πŸ”§ Configuration Improvements

  • Consistent format: Fixed pre_commit_commands to use object format {} consistently
  • Better defaults: Empty configurations now properly initialize as objects
  • Enhanced error handling: Improved graceful handling of missing/invalid config files

πŸ› οΈ Developer Experience

  • Instant feedback: Configuration changes are immediately active
  • IDE integration: Better development experience with schema validation
  • Simplified workflow: One less step in the development process

πŸ“¦ Installation

composer global require dev-kraken/php-commitlint

πŸ”„ Upgrading from v1.1.x

No breaking changes! Simply update and enjoy the new features:

composer global update dev-kraken/php-commitlint

Your existing configurations will continue to work, and you'll immediately benefit from the dynamic configuration system.

πŸš€ Try it out

  1. Update your .commitlintrc.json
  2. Make a commit - changes are instantly active!
  3. No reinstallation needed ✨

Full Changelog: v1.1.0...v1.2.0