Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 2.35 KB

File metadata and controls

50 lines (40 loc) · 2.35 KB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • (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)

Changed

  • (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 dist in 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 parseGitPatch tests.
    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)

Style

[0.1.4] - 2024-12-19

  • Initial state.