|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [v2.1.0] - 2024-12-26 |
| 4 | + |
| 5 | +### **Compatibility Updates** |
| 6 | +- Updated **Python Compatibility**: |
| 7 | + - Lowered the minimum Python version requirement from 3.11 to 3.8 in `setup.py`. |
| 8 | + - Updated `README.md` to reflect compatibility with Python 3.8 and later. |
| 9 | + - Added `tox.ini` configuration to test across Python versions 3.8 to 3.11. |
| 10 | + - Added `.python-version` file specifying supported Python versions: 3.6.15, 3.7.12, 3.8.10, 3.9.16, 3.10.12, and 3.11.4. |
| 11 | + |
| 12 | +### **Dependency Management** |
| 13 | +- Split development dependencies: |
| 14 | + - Moved development-specific dependencies to `requirements-dev.txt`. |
| 15 | + - Removed redundant dependencies from `requirements.txt`. |
| 16 | +- Added `tox` as a development dependency in `requirements-dev.txt`. |
| 17 | + |
| 18 | +### **Testing Enhancements** |
| 19 | +- Introduced `tox` for managing tests across multiple Python versions. |
| 20 | +- Refactored GitHub Actions workflow (`codecov.yml`): |
| 21 | + - Updated to install dependencies from `requirements-dev.txt`. |
| 22 | + - Expanded testing configuration to include Python 3.8 compatibility. |
| 23 | + |
| 24 | +### **Documentation Updates** |
| 25 | +- Enhanced **README.md**: |
| 26 | + - Updated Python badge to reflect compatibility with Python 3.8+. |
| 27 | + - Included a clear statement of compatibility with Python 3.8 and later versions. |
| 28 | + |
| 29 | +### **Other Improvements** |
| 30 | +- Added classifiers in `setup.py` for Python 3.8, 3.9, and 3.10. |
| 31 | +- Improved project structure with the addition of `tox.ini` for environment management. |
| 32 | + |
| 33 | +--- |
| 34 | + |
3 | 35 | ## [v2.0.1] - 2024-12-25 |
4 | 36 | - Added **CITATION.cff** file for citation information. |
5 | | -- Removed the GitHub sponsor badge from the README |
| 37 | +- Removed the GitHub sponsor badge from the README. |
6 | 38 |
|
7 | 39 | ## [v2.0] - 2024-12-25 |
8 | 40 |
|
9 | 41 | ### **New Features** |
10 | | - |
11 | 42 | - Introduced **CLI Interface**: |
12 | | - - Added `cli.py` for command-line usage of the GSP algorithm. |
13 | | - - Supports input in JSON and CSV formats. |
14 | | - - Allows configuration of the `min_support` threshold via CLI arguments. |
| 43 | + - Added `cli.py` for command-line usage of the GSP algorithm. |
| 44 | + - Supports input in JSON and CSV formats. |
| 45 | + - Allows configuration of the `min_support` threshold via CLI arguments. |
15 | 46 | - Added **Parallel Processing for Support Calculation**: |
16 | | - - Optimized support calculation using multiprocessing for better performance on large datasets. |
| 47 | + - Optimized support calculation using multiprocessing for better performance on large datasets. |
17 | 48 | - Enhanced **Logging**: |
18 | | - - Configurable logs to monitor progress and debugging. |
| 49 | + - Configurable logs to monitor progress and debugging. |
19 | 50 |
|
20 | 51 | ### **Improved Documentation** |
21 | | - |
22 | 52 | - Comprehensive updates to the `README.md`: |
23 | | - - Detailed explanation of GSP with examples. |
24 | | - - Added "What is GSP?" and "Planned Features" sections. |
25 | | - - Expanded installation and usage guides. |
| 53 | + - Detailed explanation of GSP with examples. |
| 54 | + - Added "What is GSP?" and "Planned Features" sections. |
| 55 | + - Expanded installation and usage guides. |
26 | 56 | - Added `CONTRIBUTING.md`: |
27 | | - - Clear guidelines for contributing code, documentation, and bug reports. |
| 57 | + - Clear guidelines for contributing code, documentation, and bug reports. |
28 | 58 | - Added badges for PyPI, code coverage, and security metrics. |
29 | 59 |
|
30 | 60 | ### **Testing** |
31 | | - |
32 | 61 | - Added a robust test suite: |
33 | | - - Moved test cases to the `gsppy/tests` directory. |
34 | | - - Comprehensive unit tests for the CLI, GSP algorithm, and utility functions. |
35 | | - - Tests include edge cases, large datasets, and benchmarking. |
| 62 | + - Moved test cases to the `gsppy/tests` directory. |
| 63 | + - Comprehensive unit tests for the CLI, GSP algorithm, and utility functions. |
| 64 | + - Tests include edge cases, large datasets, and benchmarking. |
36 | 65 |
|
37 | 66 | ### **Utilities** |
38 | | - |
39 | 67 | - Introduced helper utilities for GSP: |
40 | | - - `split_into_batches`: Efficiently split candidates into manageable batches. |
41 | | - - `is_subsequence_in_list`: Improved subsequence matching logic. |
| 68 | + - `split_into_batches`: Efficiently split candidates into manageable batches. |
| 69 | + - `is_subsequence_in_list`: Improved subsequence matching logic. |
42 | 70 |
|
43 | 71 | ### **Workflow and Configuration** |
44 | | - |
45 | 72 | - Integrated GitHub Actions workflows: |
46 | | - - Added workflows for testing, linting, and publishing to PyPI. |
| 73 | + - Added workflows for testing, linting, and publishing to PyPI. |
47 | 74 | - Added `.editorconfig` for consistent code formatting. |
48 | 75 | - Integrated Dependabot for automated dependency updates. |
49 | 76 |
|
|
52 | 79 | ## **[v1.1]** - 2020-05-01 |
53 | 80 |
|
54 | 81 | ### **Features** |
55 | | - |
56 | 82 | - Initial release of the **GSP-Py** library. |
57 | 83 | - Basic implementation of the Generalized Sequential Pattern (GSP) algorithm: |
58 | | - - Single-threaded support calculation. |
59 | | - - Basic candidate generation and pruning. |
| 84 | + - Single-threaded support calculation. |
| 85 | + - Basic candidate generation and pruning. |
60 | 86 | - Test cases for supermarket transactions. |
61 | 87 |
|
62 | 88 | ### **Documentation** |
63 | | - |
64 | 89 | - Basic `README.md` with: |
65 | | - - Installation instructions. |
66 | | - - Example usage of the GSP algorithm. |
| 90 | + - Installation instructions. |
| 91 | + - Example usage of the GSP algorithm. |
67 | 92 |
|
68 | 93 | ### **Miscellaneous** |
69 | | - |
70 | 94 | - Added setup files (`setup.py`, `setup.cfg`) for publishing to PyPI. |
71 | 95 | - Licensed under MIT. |
72 | 96 |
|
73 | 97 | --- |
74 | 98 |
|
75 | 99 | ## **Summary of Changes** |
76 | 100 |
|
77 | | -### From v1.1 to v2.0 |
78 | | - |
79 | | -- **Performance**: Introduced parallel processing for faster support calculation. |
80 | | -- **Usability**: Added CLI and extensive logging. |
81 | | -- **Documentation**: Improved and expanded documentation. |
82 | | -- **Testing**: Robust test suite added. |
83 | | -- **Workflow**: Automated CI/CD workflows integrated. |
| 101 | +### From v2.0 to v2.1.0 |
| 102 | +- Enhanced compatibility with earlier Python versions (3.8+). |
| 103 | +- Improved testing and dependency management. |
| 104 | +- Updated workflows and documentation for broader support and clarity. |
0 commit comments