The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- (structured) Enhanced patch parsing logic with flexible configuration options.
Details
Allows user-defined processing of dates and diff structures. (666eeb5af094f21f049d5ffaa7c08b24b809005d) - (parse) Implemented functionality to parse Git diff strings into structured object arrays.
Details
Includes file changes, each hunk, and line types (additions, deletions, context). (2ea4bb4453594b73a05ddb9a804c6a7df6f0da2e)
- (parser) Improved type safety and modularity in parsing logic.
Details
Centralized parsing-related constants, introduced generic types for `ParseOptions` and `ParsedCommit`, and updated `parseGitPatch` to use these enhanced types. (d3a6d9572b5b3986166bb360134499ed49dbe8af) - (script) Replaced
rm -rf distin build script with a cross-platform Node.js script.Details
The new script ([`scripts/cleanDist.ts`](scripts/cleanDist.ts:1)) enhances compatibility. (317c061f504bce58d68af66860fbd83161aa824b) - (parse/patch) Improved readability and organization of
parseGitPatchtests.Details
Moved mock data to a separate file ([`src/mocks/patch.ts`](src/mocks/patch.ts:1)) and updated `tsconfig.json` include paths. (20d72cc2efa8f36750519a15f66470c9a27ed8cf) - (parser) Refactored core parsing logic file structure.
Details
Moved core parsing logic files ([`src/logics/parse/patch.ts`](src/logics/parse/patch.ts:1) and [`src/logics/parse/patch.test.ts`](src/logics/parse/patch.test.ts:1)) to `src/logics/parse/`. Created new index files ([`src/index.ts`](src/index.ts:1), [`src/logics/index.ts`](src/logics/index.ts:1)) for re-exporting and added [`src/types.ts`](src/types.ts:1) for type definitions. (40900db843c36adb05f5e4e52f1c197acd186a03)
- (test) Adjusted import order in
src/logics/parse/patch.test.ts. (4cb8a65b3ac9132794bfc107f1c56fc927355c5b)
- Initial state.