Changelog
v1.0.2 (2025-07-25)
Improvements & Refactors:
- Refactored all pattern modules to remove redundant
require('./utils.js')
calls; now use imported utilities directly. - Consolidated duplicate
isEngulfed
logic: only the utility version is used across the codebase. - Added
paramCount
to all multi-candle patterns inpatternChain
for correct match length in results. - Refactored
patternChain
to precompute candle properties once per call, improving efficiency and consistency. - Expanded and clarified tests:
- Direct tests for all utility functions, including edge cases (doji, no range, negative/extreme values).
- Added/updated tests for multi-candle pattern matches and edge cases in
patternChain
.
- Updated documentation:
- README now includes explicit technical thresholds for patterns, performance tips, and a new FAQ.
- Clarified that the library does not mutate input data.
- Documented multi-candle match behavior and
paramCount
in pattern chaining.
- Cleaned up packaging:
- Removed
test/
and non-existentHISTORY.md
from npm package files. - Ensured only relevant documentation and source files are included.
- Removed
Other:
- All tests pass and coverage is 100%.
v1.0.1 (2025-07-24)
v1.0.0 (2025-07-24)
Implemented enhancements:
0.0.7 (2024-04-02)
Fixed bugs:
- Some Patterns return undefined #12
- Merge Conflicts in Your Package.json #5
- isEngulfed function #3
- Non installation fix & possible script error on test? #1
Merged pull requests:
- chore(deps): bump glob-parent from 5.1.1 to 5.1.2 #8 (dependabot[bot])
- [Snyk] Fix for 1 vulnerable dependencies #4 (snyk-bot)
* This Changelog was automatically generated by github_changelog_generator