| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 |
|
| 8 |
## [Unreleased] |
| 9 |
|
| 10 |
### Added |
| 11 |
|
| 12 |
### Changed |
| 13 |
|
| 14 |
### Fixed |
| 15 |
|
| 16 |
## [0.0.4] - 2026-02-17 |
| 17 |
|
| 18 |
### Added |
| 19 |
|
| 20 |
- Improved documentation with CONTRIBUTING.md guide |
| 21 |
- Example programs in examples/ directory |
| 22 |
- Comprehensive API documentation in doc.go |
| 23 |
- ARCHITECTURE.md explaining design decisions |
| 24 |
- Additional test coverage for error handling |
| 25 |
- Better test coverage for edge cases |
| 26 |
- Support for onbranch conditional includes |
| 27 |
- Support for gitdir/i (case-insensitive) conditionals |
| 28 |
|
| 29 |
### Changed |
| 30 |
|
| 31 |
- Enhanced error messages |
| 32 |
- Improved parsing logic for edge cases |
| 33 |
- Better handling of escape sequences |
| 34 |
|
| 35 |
### Fixed |
| 36 |
|
| 37 |
- Improved stability in include file resolution |
| 38 |
- Better validation of key formats |
| 39 |
|
| 40 |
## [0.1.0] - 2024-01-01 |
| 41 |
|
| 42 |
### Added |
| 43 |
|
| 44 |
- Initial release with core gitconfig parsing |
| 45 |
- Support for multiple config scopes (system, global, local, worktree, env) |
| 46 |
- Config file mutation while preserving comments and whitespace |
| 47 |
- Support for include and conditional include |
| 48 |
- Environment variable override support (GIT_CONFIG_*) |
| 49 |
- Cross-platform support (Windows, macOS, Linux) |
| 50 |
- Comprehensive test suite |
| 51 |
|
| 52 |
### Features |
| 53 |
|
| 54 |
- Parse git configuration files without git CLI dependency |
| 55 |
- Read/write config values with scope management |
| 56 |
- Support for subsections and special characters in keys |
| 57 |
- Conditional includes based on gitdir and onbranch patterns |
| 58 |
- Value unescaping for standard escape sequences (\n, \t, \b, \\, \") |
| 59 |
- Config merging from multiple sources |
| 60 |
|
| 61 |
### Known Limitations |
| 62 |
|
| 63 |
- Worktree support is only partial |
| 64 |
- Bare boolean values not supported |
| 65 |
- includeIf support only includes gitdir and onbranch conditions |
| 66 |
- Does not support all git-config features (urlmatch, etc.) |
| 67 |
|
| 68 |
[Unreleased]: https://github.com/gopasspw/gitconfig/compare/v0.1.0...HEAD |
| 69 |
[0.1.0]: https://github.com/gopasspw/gitconfig/releases/tag/v0.1.0 |