| @@ -1,6 +1,39 @@ | ||
| 1 | 1 | == Changelog == |
| 2 | 2 | |
| 3 | += 7.4.0 = | |
| 4 | +* Added: Optional CSS-only scroll spy to underline the current section link in supporting browsers. Enable Highlight current section in the block settings or enforce it globally under Settings > SimpleTOC. No JavaScript or polyfill is added. | |
| 5 | + | |
| 6 | += 7.3.1 = | |
| 7 | +* Fixed: Heading anchors for non-Latin scripts (Japanese, Chinese, Korean, Cyrillic, etc.) were double URL-encoded, breaking externally shared or hand-written fragment links. Props to the reporter of issue #89. | |
| 8 | + | |
| 9 | += 7.3.0 = | |
| 10 | +* Changed: Box is now a native Gutenberg block style in the Styles tab. | |
| 11 | +* Added: Native text, link, background color, margin, and padding controls. | |
| 12 | +* Added: theme.json styling support for colors, spacing, and typography. | |
| 13 | +* Added: WordPress 7.1 support and automated compatibility tests. | |
| 14 | +* Changed: Existing box-style blocks and the global Force box style setting remain compatible. | |
| 15 | +* Thanks: Lovro Hrust (@lovor) for the theme.json and block styling feedback. | |
| 16 | + | |
| 17 | += 7.2.0 = | |
| 18 | +* Changed: SimpleTOC now always uses the standard Gutenberg block wrapper so themes can style it through theme.json. | |
| 19 | +* Removed: Obsolete block and global wrapper settings because the standard wrapper is now always active. | |
| 20 | +* Added: Native Gutenberg typography controls for font size and line height. | |
| 21 | + | |
| 22 | += 7.1.1 = | |
| 23 | +* Fixed: Prevented WordPress HTML API notices when nested block content is not a string. | |
| 24 | +* Fixed: Escaped TOC links and titles before rendering them. | |
| 25 | +* Fixed: Preserved legacy SimpleTOC block validity in the WordPress editor. | |
| 26 | + | |
| 27 | += 7.1.0 = | |
| 28 | +* Fixed: Avoid DOMDocument HTML parsing for highlighted heading markup by using the WordPress HTML API. | |
| 29 | +* Changed: Minimum required WordPress version is now 6.2. | |
| 30 | +* Added: PHPUnit coverage for core rendering helpers and an editor e2e smoke test. | |
| 31 | + | |
| 32 | += 7.0.10 = | |
| 33 | +* Fixed: Prevent the SimpleTOC editor preview from collapsing during WordPress autosaves. | |
| 34 | +* Changed: Automatic editor refresh now runs after manual post saves and keeps the previous TOC visible while updating. | |
| 35 | + | |
| 3 | 36 | = 7.0.9 = |
| 4 | 37 | * Fixed: Restored WordPress 7.0 editor previews for existing SimpleTOC blocks that contain legacy editor-only attributes. |
| 5 | 38 | * Fixed: The "Hide SimpleTOC" editor toggle no longer stores a redundant helper attribute. |
| 6 | 39 | |
| @@ -6,8 +39,14 @@ | ||
| 6 | 39 | |
| 7 | 40 | = 7.0.8 = |
| 8 | 41 | * Fixed: Prevent editor preview errors when another plugin adds editor-only attributes to blocks, for example Noted! block notes. Thanks Hans-Gerd Gerhards (@hage). |
| 9 | 42 | |
| 43 | += 7.0.7 = | |
| 44 | +* Fix invalid frontend TOC list markup when excluded heading levels appear between included headings. | |
| 45 | + | |
| 46 | += 7.0.6 = | |
| 47 | +* Prepared release for WordPress 7.0 compatibility. | |
| 48 | + | |
| 10 | 49 | = 7.0.5 = |
| 11 | 50 | * Fixed: GenerateBlocks dynamic tags in heading links keep working when SimpleTOC adds heading IDs. |
| 12 | 51 | * Fixed: GenerateBlocks dynamic heading text is resolved consistently in the TOC and matching heading anchors. |
| 13 | 52 | * Maintenance: Added automated GitHub README generation from the WordPress.org `readme.txt`. |
| @@ -20,8 +59,48 @@ | ||
| 20 | 59 | * Fixed: Removed an invalid `aria-labelledby` reference from hidden TOC `<details>` markup and now rely on native `<summary>` labeling. |
| 21 | 60 | |
| 22 | 61 | = 7.0.2 = |
| 23 | 62 | * Fixed: Removed an invalid `aria-labelledby` reference from hidden TOC `<details>` markup and now rely on native `<summary>` labeling. |
| 63 | + | |
| 64 | += 7.0.1 = | |
| 65 | +* Added: Direct link from the Advanced Features sidebar to the global SimpleTOC settings. | |
| 66 | +* Fixed: Global settings link now appears reliably in the editor sidebar. | |
| 67 | +* Changed: Wrapper toggle now reflects the automatic wrapper state while box style is active. | |
| 68 | + | |
| 69 | += 7.0.0 = | |
| 70 | +* Added: Box style option in the block sidebar with a color picker and default gray background. | |
| 71 | +* Added: Global setting to force the default gray box style for all SimpleTOC blocks. | |
| 72 | +* Added: Frontend box-style CSS registered through block metadata. | |
| 73 | + | |
| 74 | += 6.9.8 = | |
| 75 | +* Updated: Dependencies and house-keeping. | |
| 76 | +* Fix: corrected dependency declarations. | |
| 77 | + | |
| 78 | += 6.9.7 = | |
| 79 | +* Fixed: GeneratePress Dynamic Tags work again - hopefully. If not, please report here https://github.com/mtoensing/simpletoc/issues/79#issuecomment-3745650464 Thanks @jhanten | |
| 80 | + | |
| 81 | += 6.9.6 = | |
| 82 | +* Added: Coding standards cleanup with improved rules, cleaner code, safer output, and consistent naming. Thanks @ronalfy | |
| 83 | +* Added: Minimum PHP version requirement set to 7.3 | |
| 84 | + | |
| 85 | += 6.9.4 = | |
| 86 | +* Added: Introduced proper PHP namespaces to avoid class and function name conflicts and improve overall code robustness. Thanks @ronalfy. | |
| 87 | +* Added: Improved sidebar sub-menu for the "Hide SimpleTOC" option | |
| 88 | + | |
| 89 | += 6.9.3 = | |
| 90 | +* Fix: Fix Multiple IDs in Table of Contents Thanks @ronalfy | |
| 91 | +* Added: Support for GenerateBlocks 2.1.0 Thanks @ronalfy | |
| 92 | + | |
| 93 | += 6.9.1 = | |
| 94 | +* Added: Support for the new V3 block api. | |
| 95 | +* Added: Tested compatibility with WordPress 6.9 | |
| 96 | + | |
| 97 | += 6.7.3 = | |
| 98 | +* Added: Tested compatibility with WordPress 6.8 | |
| 99 | + | |
| 100 | += 6.7.2 = | |
| 101 | +* Added: Support for GenerateBlocks 2.0. Thanks @blronaldhuereca | |
| 102 | +* Added: Included an accessibility statement in the plugin description. Thanks Gen Herres. | |
| 24 | 103 | |
| 25 | 104 | = 6.6.1 = |
| 26 | 105 | * Added: Initialize the JavaScript for the TOC accordion on page load or after the document has fully loaded. Thanks blronaldhuereca https://github.com/mtoensing/simpletoc/pull/63 |
| 27 | 106 | |