|
| 1 | +# Change Log |
| 2 | +All notable changes to this project will be documented in this file. |
| 3 | + |
| 4 | +## [Unreleased] - 2024-11-19 |
| 5 | + |
| 6 | +### Added |
| 7 | +- Integrated Happydom for DOM-based testing |
| 8 | + Introduced Happydom to enable DOM-like testing, improving test reliability and ensuring compatibility with DOM APIs in a controlled testing environment. |
| 9 | + |
| 10 | +- Unit tests for element class checks and sibling comparisons |
| 11 | + Enhanced test coverage for DOM element class validation and sibling order comparison logic. |
| 12 | + |
| 13 | +- Unit tests for wrapper and element selection functions |
| 14 | + Added new tests to verify the correct behavior of wrapper and element selection utilities. |
| 15 | + |
| 16 | +- More tests for scroll and parent detection functions |
| 17 | + Improved test coverage for scroll-related and parent detection functions to ensure proper behavior. |
| 18 | + |
| 19 | +- Tests for scrollable element and parent detection functions |
| 20 | + Created unit tests to specifically target the functionality of detecting scrollable elements and their parent containers. |
| 21 | + |
| 22 | +- Unit tests for more utility functions |
| 23 | + Included additional test cases for various utility functions, improving overall test reliability. |
| 24 | + |
| 25 | +- Expanded tests for deep merge functionality |
| 26 | + Enhanced the test suite for the `deepMerge` function to ensure its correctness. |
| 27 | + |
| 28 | +### Changed |
| 29 | +- Improved swipe scroll compatibility on mobile for multiple browsers |
| 30 | + Resolved an issue where swipe scrolling was functional only in |
| 31 | + Firefox. Adjusted the implementation to support smooth scrolling |
| 32 | + behavior across additional browsers. |
| 33 | + |
| 34 | +- Added tolerance to scroll detection to prevent rounding errors |
| 35 | + Introduced a tolerance value to improve detection of scroll start |
| 36 | + and end, addressing rounding issues in certain browsers and ensuring |
| 37 | + consistent behavior across environments. |
| 38 | + |
| 39 | +### Fixed |
| 40 | +- Corrected position logic in `isElementBeforeOrAfter` function |
| 41 | + Fixed the logic in the `isElementBeforeOrAfter` function to ensure accurate comparison of DOM elements based on their position. |
| 42 | + |
| 43 | +- Improved depth handling in utility functions |
| 44 | + Fixed issues with depth management, ensuring utility functions handle nested structures properly. |
| 45 | + |
| 46 | +- Validated parent before adding standalone slides |
| 47 | + Ensured that standalone slides are validated for their parent elements before being added to the slider, preventing errors and redundancy. |
| 48 | + |
| 49 | +- Corrected regex logic in `extractClassName` function |
| 50 | + Fixed a bug in the regular expression for extracting class names, ensuring proper functionality across different cases. |
| 51 | + |
| 52 | +- Corrected deep merge logic |
| 53 | + Fixed issues in the `deepMerge` function, ensuring deep merging of objects is performed accurately. |
| 54 | + |
| 55 | +## [0.1.0-alpha] - 2024-11-18 |
| 56 | + |
| 57 | +### Added |
| 58 | +- **Smooth Scrolling:** Navigate between sections with fluid transitions for an enhanced user experience. |
| 59 | +- **Customizable Options:** Configure scroll speed, easing functions, and navigation controls effortlessly. |
| 60 | +- **Swipe Support:** Users can click and drag to navigate between sections on PCs and swipe on touch devices. |
| 61 | +- **Zero Dependencies:** No external libraries required for basic usage. |
0 commit comments