From 200a957a2a080e587a7d75894fe517d5ef831bec Mon Sep 17 00:00:00 2001 From: akadeepesh Date: Sat, 16 May 2026 01:19:09 +0530 Subject: [PATCH] Update CHANGELOG for version 0.2.1: fix exclusion pattern handling and improve folder exclusion support --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3623438..522893f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,4 +63,16 @@ This project uses [Semantic Versioning](https://semver.org/). ### Developer Notes - Introduced new `contextzip.git` module for git integration and porcelain parsing - Added `resolve_files_from_git()` pipeline for pre-selected file resolution -- Added structured `GitChanges` and `GitError` models for cleaner error handling and extensibility \ No newline at end of file +- Added structured `GitChanges` and `GitError` models for cleaner error handling and extensibility + +--- + +## [0.2.1] — 2026-05-16 + +### Fixed +- `--exclude` / `-e` patterns containing Windows-style paths (e.g. `.\CHANGELOG.md`) were silently ignored due to backslash and leading `.\` — patterns are now normalized to forward-slash posix paths before matching +- Files passed to `-e` were not being excluded from the ZIP despite appearing in the exclusion list + +### Improved +- `-e` now accepts multiple space-separated patterns in a single flag invocation: `-e file1 file2 folder/` in addition to the existing repeatable form `-e file1 -e file2` +- Folder exclusion via `-e folder/*` is now supported and normalized to `folder/` automatically \ No newline at end of file