|
4 | 4 | // ├───────────────────────────────────────────────────────────────┘ |
5 | 5 | // │ |
6 | 6 | // ├──┐Changelog - toc |
| 7 | +// │ ├──┐[2.3.0] - 2024-02-02 |
| 8 | +// │ │ ├── Added |
| 9 | +// │ │ ├── Documentation |
| 10 | +// │ │ ├── Fixed |
| 11 | +// │ │ ├── Performance |
| 12 | +// │ │ └── Testing |
7 | 13 | // │ ├──┐[2.2.0] - 2024-01-29 |
8 | 14 | // │ │ ├── Added |
9 | 15 | // │ │ ├── Documentation |
|
20 | 26 |
|
21 | 27 | # Changelog - toc |
22 | 28 |
|
| 29 | +## [2.3.0] - 2024-02-02 |
| 30 | +### Added |
| 31 | + |
| 32 | +- If `-o outputFile` is specified, toc will write there even if the inputFile's toc is already up-to-date |
| 33 | +- Support for rstudio foldable sections |
| 34 | + |
| 35 | +### Documentation |
| 36 | + |
| 37 | +- Added useful tools to CONTRIBUTING.md |
| 38 | +- Explaining better what _prettify_connector() does |
| 39 | + |
| 40 | +### Fixed |
| 41 | + |
| 42 | +- Not stripping lines to preserve cobol indentation |
| 43 | +- Avoiding printing twice the same error or warning message |
| 44 | + |
| 45 | +### Performance |
| 46 | + |
| 47 | +- Drastic performance improvements by reducing regex replacements, loops, and list comprehensions |
| 48 | +- Simplified and explained _prettify_connectors() |
| 49 | +- Unified comment replacement in _replace_comment() |
| 50 | +- Defining toc multiline regex pattern once |
| 51 | +- Centralized file opening function |
| 52 | +- Storing toc pieces in lists until _generate_toc() |
| 53 | + |
| 54 | +### Testing |
| 55 | + |
| 56 | +- Added complex toc nexting |
| 57 | +- Added more unit tests to toc.py |
| 58 | +- Added check for missing reference file |
| 59 | + |
23 | 60 | ## [2.2.0] - 2024-01-29 |
24 | 61 | ### Added |
25 | 62 |
|
|
42 | 79 | - Limiting re.sub to 1 also if toc needs to be added |
43 | 80 | - Avoid re.sub if first line is empty |
44 | 81 | - Sanitizing input file type to str |
45 | | -- Fixed a bug that may lead to multiple tocs being added |
| 82 | +- Fixed a bug thay may lead to multiple tocs being added |
46 | 83 |
|
47 | 84 | ### Testing |
48 | 85 |
|
|
0 commit comments