git2dart 0.5.2
git2dart: ^0.5.2 copied to clipboard
Dart bindings to libgit2, provides ability to use libgit2 library in Dart and Flutter.
Changelog #
0.5.2 - 2026-06-29 #
Features #
- Expand libgit2 binding coverage across repository, remote, status, tree, tag, signature, submodule, config, diff, index, ODB, reference, and related APIs.
- Add public wrappers for extended repository opening, basic repository initialization, annotated HEAD detaching, remote instance URL overrides, remote autotag configuration, tree walking, tree updates, status callbacks, and annotation-only tag creation.
Testing #
- Add focused tests for the newly exposed binding wrappers.
- Include binding files in coverage by removing file-level coverage ignores.
0.5.1 - 2026-06-29 #
Fixed #
- Require
git2dart_binaries>=1.11.2 <1.12.0to pick up the latest packaged libgit2 binaries and generated bindings. - Add a remote
certificateCheckcallback so SSH clients can supply host key trust decisions without relying onknown_hostslookup.
Documentation #
- Document the
git2dart_binaries1.11.2dependency baseline in the README.
0.5.0 - 2026-05-30 #
Features #
- Update
git2dart_binariesconstraint to>=1.11.0 <1.12.0. - Add public APIs for commit graphs, ignore rules, messages, and pathspec matching.
- Extend config, diff, oid, repository, and tree APIs with additional libgit2-backed helpers.
- Add Flutter iOS platform support and shared
PlatformSpecific.initialize().
Documentation #
- Refresh public API documentation for consistency.
- Add platform setup documentation for iOS.
0.4.0 - 2025-11-20 #
Features #
- Add
PlatformSpecific.androidInitializeto wire up libgit2 SSL certificates automatically on Flutter/Android before cloning or fetching. - Re-export the platform helper from
git2dart.dartso Flutter apps can call it without touching internals.
Documentation #
- Introduce a dedicated Android guide (
doc/types/android.md) covering prerequisites, initialization flow, and troubleshooting tips. - Expand
README.mdanddoc/README.mdwith Flutter-on-Android quick start notes, including supportedarm64-v8aandx86_64ABIs.
0.3.0 - 2025-06-11 #
Features #
- Add
BlobWriteStreamfor streaming blob writes. - Introduce
FilterAPI with options. - Expose additional
Worktreeoperations. - Add repository attribute helpers and
AttrOptions. - Expand bindings for ODB, Oid, Packbuilder, Patch and Rebase.
- Improve tag and tree builder callbacks.
Fixes #
- Stabilize remote tests.
0.2.1 - 2025-05-29 #
Changes #
- Add missing API sections to README:
- Remote
- Reset
- Blame
- Describe
- Note
- Rebase
- Mailmap
- Credentials
- ODB
- Packbuilder
- Signature
- RevParse
- AnnotatedCommit
- Add system dependencies section to README for Linux, macOS and Windows
0.2.0 - 2025-05-17 #
Breaking Changes #
- Migrate to Dart 3
- Migrate to 1.9.0 version libgit2
- Migrate actual api, remove depricated api calls