Skip to content

Commit 2bb262e

Browse files
committed
Release v1.0.2: refactors, improved tests, updated docs, packaging cleanup
1 parent 8a3e9c2 commit 2bb262e

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## [v1.0.2](https://github.com/cm45t3r/candlestick/tree/v1.0.2) (2025-07-25)
4+
5+
[Full Changelog](https://github.com/cm45t3r/candlestick/compare/v1.0.1...v1.0.2)
6+
7+
**Improvements & Refactors:**
8+
9+
- Refactored all pattern modules to remove redundant `require('./utils.js')` calls; now use imported utilities directly.
10+
- Consolidated duplicate `isEngulfed` logic: only the utility version is used across the codebase.
11+
- Added `paramCount` to all multi-candle patterns in `patternChain` for correct match length in results.
12+
- Refactored `patternChain` to precompute candle properties once per call, improving efficiency and consistency.
13+
- Expanded and clarified tests:
14+
- Direct tests for all utility functions, including edge cases (doji, no range, negative/extreme values).
15+
- Added/updated tests for multi-candle pattern matches and edge cases in `patternChain`.
16+
- Updated documentation:
17+
- README now includes explicit technical thresholds for patterns, performance tips, and a new FAQ.
18+
- Clarified that the library does not mutate input data.
19+
- Documented multi-candle match behavior and `paramCount` in pattern chaining.
20+
- Cleaned up packaging:
21+
- Removed `test/` and non-existent `HISTORY.md` from npm package files.
22+
- Ensured only relevant documentation and source files are included.
23+
24+
**Other:**
25+
- All tests pass and coverage is 100%.
26+
27+
---
28+
329
## [v1.0.1](https://github.com/cm45t3r/candlestick/tree/v1.0.1) (2025-07-24)
430

531
[Full Changelog](https://github.com/cm45t3r/candlestick/compare/v1.0.0...v1.0.1)

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "candlestick",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "JavaScript library for candlestick patterns detection.",
55
"homepage": "https://github.com/cm45t3r/candlestick",
66
"author": {
@@ -35,8 +35,7 @@
3535
],
3636
"files": [
3737
"src/",
38-
"test/",
39-
"HISTORY.md",
38+
"CHANGELOG.md",
4039
"index.js",
4140
"LICENSE",
4241
"package-lock.json",

0 commit comments

Comments
 (0)