Skip to content

Commit 4e6f9d9

Browse files
committed
docs: Update CHANGELOG.md and bump version to 0.2.0
- Updated CHANGELOG.md with recent changes. - Bumped package version to 0.2.0.
1 parent 4cb8a65 commit 4e6f9d9

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Changelog
2+
3+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
## [Unreleased]
7+
8+
### Added
9+
10+
- **(structured)** Enhanced patch parsing logic with flexible configuration options.
11+
<details>
12+
<summary>Details</summary>
13+
Allows user-defined processing of dates and diff structures. (666eeb5af094f21f049d5ffaa7c08b24b809005d)
14+
</details>
15+
- **(parse)** Implemented functionality to parse Git diff strings into structured object arrays.
16+
<details>
17+
<summary>Details</summary>
18+
Includes file changes, each hunk, and line types (additions, deletions, context). (2ea4bb4453594b73a05ddb9a804c6a7df6f0da2e)
19+
</details>
20+
21+
### Changed
22+
23+
- **(parser)** Improved type safety and modularity in parsing logic.
24+
<details>
25+
<summary>Details</summary>
26+
Centralized parsing-related constants, introduced generic types for `ParseOptions` and `ParsedCommit`, and updated `parseGitPatch` to use these enhanced types. (d3a6d9572b5b3986166bb360134499ed49dbe8af)
27+
</details>
28+
- **(script)** Replaced `rm -rf dist` in build script with a cross-platform Node.js script.
29+
<details>
30+
<summary>Details</summary>
31+
The new script ([`scripts/cleanDist.ts`](scripts/cleanDist.ts:1)) enhances compatibility. (317c061f504bce58d68af66860fbd83161aa824b)
32+
</details>
33+
- **(parse/patch)** Improved readability and organization of `parseGitPatch` tests.
34+
<details>
35+
<summary>Details</summary>
36+
Moved mock data to a separate file ([`src/mocks/patch.ts`](src/mocks/patch.ts:1)) and updated `tsconfig.json` include paths. (20d72cc2efa8f36750519a15f66470c9a27ed8cf)
37+
</details>
38+
- **(parser)** Refactored core parsing logic file structure.
39+
<details>
40+
<summary>Details</summary>
41+
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)
42+
</details>
43+
44+
### Style
45+
46+
- **(test)** Adjusted import order in [`src/logics/parse/patch.test.ts`](src/logics/parse/patch.test.ts:1). (4cb8a65b3ac9132794bfc107f1c56fc927355c5b)
47+
48+
## [0.1.4] - 2024-12-19
49+
50+
- Initial state.

0 commit comments

Comments
 (0)