lefthook_dart 1.0.8 copy "lefthook_dart: ^1.0.8" to clipboard
lefthook_dart: ^1.0.8 copied to clipboard

wrapper of lefthook (Git hooks manager) for flutter and dart

Changelog #

All notable changes to this project will be documented in this file.

This project adheres to Keep a Changelog and uses Semantic Versioning.


1.0.8 - 2025-08-04 #

Added #

Initial Windows support thanks to @NewblyAaron How to prepare and publish a new version of the package

1.0.7 - 2025-08-04 #

Added #

More advanced example of lefthook.yml config

1.0.6 - 2025-07-24 #

Fix #

additionally print stdout if lefthook_dart failed

1.0.5 - 2025-07-24 #

Fix #

pub.flutter-io.cn shows that /tmp/pana_DHGJDV/bin/lefthook_dart.dart doesn't match the Dart formatter.

1.0.4 - 2025-07-24 #

Added #

Example into example/ folder (see example/README.md) analysis_options.yaml to follow recommended lint rules by pub.flutter-io.cn

1.0.3 - 2025-07-24 #

Fixed #

if flutter installed using snap it tries to use git from snap that is old and not supported by lefthook as a solution we change PATH to pick git from /usr/bin instead of old git version from snap

1.0.2 - 2025-07-24 #

Fixed #

Use projectDir as workingDir and print git version

1.0.1 - 2025-07-22 #

Fixed #

  • Fixed the executables mapping in pubspec.yaml to ensure the lefthook command uses lefthook_dart, the Dart-based wrapper for Lefthook.

1.0.0 – 2025-07-21 #

Added #

  • Forked from project-cemetery/lefthook
  • Dart CLI wrapper for Lefthook
  • Full compatibility with modern Dart and Flutter projects
  • Usage examples and documentation
  • MIT license retained from original author

Changed #

  • Refactored and polished entire codebase for initial release
  • Upgraded all dependencies to work with Dart 3 and Flutter 3 (2025)

Fixed #

  • Bug with version parsing from pubspec.yaml
  • Removed unused public API for downloading (now internal)

Documentation #

  • Rewrote README for clarity
  • Added setup and usage instructions
  • Cleaned up pubspec metadata for pub.flutter-io.cn compliance
2
likes
150
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

wrapper of lefthook (Git hooks manager) for flutter and dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

archive, cli_util, system_info3

More

Packages that depend on lefthook_dart