| 1 |
== Changelog == |
| 2 |
|
| 3 |
= 7.3.1 = |
| 4 |
* 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. |
| 5 |
|
| 6 |
= 7.3.0 = |
| 7 |
* Changed: Box is now a native Gutenberg block style in the Styles tab. |
| 8 |
* Added: Native text, link, background color, margin, and padding controls. |
| 9 |
* Added: theme.json styling support for colors, spacing, and typography. |
| 10 |
* Added: WordPress 7.1 support and automated compatibility tests. |
| 11 |
* Changed: Existing box-style blocks and the global Force box style setting remain compatible. |
| 12 |
* Thanks: Lovro Hrust (@lovor) for the theme.json and block styling feedback. |
| 13 |
|
| 14 |
= 7.2.0 = |
| 15 |
* Changed: SimpleTOC now always uses the standard Gutenberg block wrapper so themes can style it through theme.json. |
| 16 |
* Removed: Obsolete block and global wrapper settings because the standard wrapper is now always active. |
| 17 |
* Added: Native Gutenberg typography controls for font size and line height. |
| 18 |
|
| 19 |
= 7.1.1 = |
| 20 |
* Fixed: Prevented WordPress HTML API notices when nested block content is not a string. |
| 21 |
* Fixed: Escaped TOC links and titles before rendering them. |
| 22 |
* Fixed: Preserved legacy SimpleTOC block validity in the WordPress editor. |
| 23 |
|
| 24 |
= 7.1.0 = |
| 25 |
* Fixed: Avoid DOMDocument HTML parsing for highlighted heading markup by using the WordPress HTML API. |
| 26 |
* Changed: Minimum required WordPress version is now 6.2. |
| 27 |
* Added: PHPUnit coverage for core rendering helpers and an editor e2e smoke test. |
| 28 |
|
| 29 |
= 7.0.10 = |
| 30 |
* Fixed: Prevent the SimpleTOC editor preview from collapsing during WordPress autosaves. |
| 31 |
* Changed: Automatic editor refresh now runs after manual post saves and keeps the previous TOC visible while updating. |
| 32 |
|
| 33 |
= 7.0.9 = |
| 34 |
* Fixed: Restored WordPress 7.0 editor previews for existing SimpleTOC blocks that contain legacy editor-only attributes. |
| 35 |
* Fixed: The "Hide SimpleTOC" editor toggle no longer stores a redundant helper attribute. |
| 36 |
|
| 37 |
= 7.0.8 = |
| 38 |
* Fixed: Prevent editor preview errors when another plugin adds editor-only attributes to blocks, for example Noted! block notes. Thanks Hans-Gerd Gerhards (@hage). |
| 39 |
|
| 40 |
= 7.0.7 = |
| 41 |
* Fix invalid frontend TOC list markup when excluded heading levels appear between included headings. |
| 42 |
|
| 43 |
= 7.0.6 = |
| 44 |
* Prepared release for WordPress 7.0 compatibility. |
| 45 |
|
| 46 |
= 7.0.5 = |
| 47 |
* Fixed: GenerateBlocks dynamic tags in heading links keep working when SimpleTOC adds heading IDs. |
| 48 |
* Fixed: GenerateBlocks dynamic heading text is resolved consistently in the TOC and matching heading anchors. |
| 49 |
* Maintenance: Added automated GitHub README generation from the WordPress.org `readme.txt`. |
| 50 |
|
| 51 |
= 7.0.4 = |
| 52 |
* Fixed: GenerateBlocks dynamic tags in heading links keep working when SimpleTOC adds heading IDs. |
| 53 |
* Fixed: GenerateBlocks dynamic heading text is resolved consistently in the TOC and matching heading anchors. |
| 54 |
|
| 55 |
= 7.0.3 = |
| 56 |
* Fixed: Removed an invalid `aria-labelledby` reference from hidden TOC `<details>` markup and now rely on native `<summary>` labeling. |
| 57 |
|
| 58 |
= 7.0.2 = |
| 59 |
* Fixed: Removed an invalid `aria-labelledby` reference from hidden TOC `<details>` markup and now rely on native `<summary>` labeling. |
| 60 |
|
| 61 |
= 7.0.1 = |
| 62 |
* Added: Direct link from the Advanced Features sidebar to the global SimpleTOC settings. |
| 63 |
* Fixed: Global settings link now appears reliably in the editor sidebar. |
| 64 |
* Changed: Wrapper toggle now reflects the automatic wrapper state while box style is active. |
| 65 |
|
| 66 |
= 7.0.0 = |
| 67 |
* Added: Box style option in the block sidebar with a color picker and default gray background. |
| 68 |
* Added: Global setting to force the default gray box style for all SimpleTOC blocks. |
| 69 |
* Added: Frontend box-style CSS registered through block metadata. |
| 70 |
|
| 71 |
= 6.9.8 = |
| 72 |
* Updated: Dependencies and house-keeping. |
| 73 |
* Fix: corrected dependency declarations. |
| 74 |
|
| 75 |
= 6.9.7 = |
| 76 |
* Fixed: GeneratePress Dynamic Tags work again - hopefully. If not, please report here https://github.com/mtoensing/simpletoc/issues/79#issuecomment-3745650464 Thanks @jhanten |
| 77 |
|
| 78 |
= 6.9.6 = |
| 79 |
* Added: Coding standards cleanup with improved rules, cleaner code, safer output, and consistent naming. Thanks @ronalfy |
| 80 |
* Added: Minimum PHP version requirement set to 7.3 |
| 81 |
|
| 82 |
= 6.9.4 = |
| 83 |
* Added: Introduced proper PHP namespaces to avoid class and function name conflicts and improve overall code robustness. Thanks @ronalfy. |
| 84 |
* Added: Improved sidebar sub-menu for the "Hide SimpleTOC" option |
| 85 |
|
| 86 |
= 6.9.3 = |
| 87 |
* Fix: Fix Multiple IDs in Table of Contents Thanks @ronalfy |
| 88 |
* Added: Support for GenerateBlocks 2.1.0 Thanks @ronalfy |
| 89 |
|
| 90 |
= 6.9.1 = |
| 91 |
* Added: Support for the new V3 block api. |
| 92 |
* Added: Tested compatibility with WordPress 6.9 |
| 93 |
|
| 94 |
= 6.7.3 = |
| 95 |
* Added: Tested compatibility with WordPress 6.8 |
| 96 |
|
| 97 |
= 6.7.2 = |
| 98 |
* Added: Support for GenerateBlocks 2.0. Thanks @blronaldhuereca |
| 99 |
* Added: Included an accessibility statement in the plugin description. Thanks Gen Herres. |
| 100 |
|
| 101 |
= 6.6.1 = |
| 102 |
* 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 |
| 103 |
|
| 104 |
= 6.6.0 = |
| 105 |
* Added: Tested compatibility with WordPress 6.7 |
| 106 |
|
| 107 |
= 6.5.6 = |
| 108 |
* Fixed: All script versions have been updated to prevent caching issues. |
| 109 |
* Fixed: Legacy Accordion was always expanded. Thanks Francesco Palmieri. |
| 110 |
* Added: Updated dependencies for improved performance and stability. |
| 111 |
* Added: Tested compatibility with WordPress 6.6 |
| 112 |
|
| 113 |
= 6.4.3 = |
| 114 |
* Added: A pointer cursor on hover for the hidden TOC |
| 115 |
|
| 116 |
= 6.4.3 = |
| 117 |
* Added: Utilizes the browser's built-in details tag for a collapsible interface. Thanks @infinitnet |
| 118 |
* Compatibility with WordPress 6.5 |
| 119 |
* Fixed: Minor localization problems. |
| 120 |
|
| 121 |
= 6.3.2 = |
| 122 |
* Fixed: Option for automatic refresh did not work in some instances. |
| 123 |
|
| 124 |
= 6.3.0 = |
| 125 |
* Added: Option for automatic refresh. This can be disabled in the blocks advanced settings. |
| 126 |
* Added: Option to globally disable automatic refresh in the WordPress SimpleTOC settings. |
| 127 |
|
| 128 |
= 6.2.0 = |
| 129 |
* Added: Implemented smooth animation for improved user interaction in the accordion menu. |
| 130 |
* Added: Upgraded styling of the accordion menu for a more visually appealing and modern user experience. |
| 131 |
|
| 132 |
= 6.1.0 = |
| 133 |
* Fixed: Broken markup when tags closed for headers below minimum. Thanks @harmoney ! |
| 134 |
|
| 135 |
= 6.0.10 = |
| 136 |
* Added aria-hidden attribute to icon in accordion. Thanks Alex Stine! |
| 137 |
|
| 138 |
= 6.0.9 = |
| 139 |
* Added ARIA accessibility labels for the accordion. Thanks Amber Hinds! |
| 140 |
* Fixed: Caching of accordion JavaScript. Thanks jghitchcock! |
| 141 |
* Added correct ARIA controls attribute. |
| 142 |
|
| 143 |
= 6.0.4 = |
| 144 |
* Fix: specific min/max values for could result in merged headlines. |
| 145 |
|
| 146 |
= 6.0.2 = |
| 147 |
* Fix: "Update failed" with error 500 when Rank Math is installed. |
| 148 |
|
| 149 |
= 6.0.0 = |
| 150 |
* Feature: Added SimpleTOC global settings to override individual block configuration. |
| 151 |
* Fix: Better output with well-formed HTML and consistent double quotation marks. |
| 152 |
* Fix: Refactored php code using GPT-4. |
| 153 |
|
| 154 |
= 5.0.56 = |
| 155 |
* Feature: Optional div wrapper with role=navigation and ARIA attributes. |
| 156 |
* Fix: Removed deprecated php function 'utf8_decode'. |
| 157 |
|
| 158 |
= 5.0.55 = |
| 159 |
* Feature: Better smooth-scrolling support. Thanks Clarus Dignus! |
| 160 |
|
| 161 |
= 5.0.53 = |
| 162 |
* Fix: Prevent direct access to plugin files. Thanks rafaucau! |
| 163 |
|
| 164 |
= 5.0.52 = |
| 165 |
* Fix: wp_set_script_translations undefined in older WordPress installations. |
| 166 |
|
| 167 |
= 5.0.51 = |
| 168 |
* Fix: Accordion menu CSS alignment. |
| 169 |
|
| 170 |
= 5.0.50 = |
| 171 |
* Fix: Identifier 'i' has already been declared |
| 172 |
* Fix: SimpleTOC will not nag the user about changed content in the editor anymore. Therefore I removed the corresponding option from the settings. |
| 173 |
* Fix: Minor changes to accordion css. |
| 174 |
|
| 175 |
= 5.0.45 = |
| 176 |
* Feature: Option to render SimpleTOC heading as paragraph. |
| 177 |
* Fix: Added margin to the bottom of the accordion menu. |
| 178 |
|
| 179 |
= 5.0.43 = |
| 180 |
* Compatibility with WordPress 6.1 |
| 181 |
* Feature: Hide SimpleTOC in an accordion menu. Adds minimal JavaScript and css styles if enabled. |
| 182 |
* Feature: Option to change SimpleTOC block heading level. |
| 183 |
* Fix: Accordion menu can now be added multiple times. |
| 184 |
* Fix: Accordion styling in Gutenberg editor. |
| 185 |
* Fix: Minor accordion styling fixes. |
| 186 |
* Fix: Added JavaScript and CSS for the accordion menu by using standard methods. |
| 187 |
|
| 188 |
= 5.0.36 = |
| 189 |
* Feature: [Spin up](https://demo.tastewp.com/simpletoc) a new WordPress instance with the SimpleTOC plugin already installed. |
| 190 |
* Fix: Better handling for `simpletoc-hidden` class to hide headings. Thank you blronaldhuereca! |
| 191 |
|
| 192 |
= 5.0.34 = |
| 193 |
* Feature: Moved list controls to toolbar and rearranged settings to fit block order. |
| 194 |
* Feature: Filter for developers to wrap toc with a div tag. Thank you rafaucau! |
| 195 |
* Fix: Minor localization tweaks. |
| 196 |
|
| 197 |
= 5.0.31 = |
| 198 |
* Feature: Filter for developers to exclude specific blocks. See faq for details. Thanks rafaucau! |
| 199 |
* Feature: Easier development with @wordpress/env to start a dev environment. Thanks rafaucau! |
| 200 |
|
| 201 |
= 5.0.28 = |
| 202 |
* Feature: Change the TOC headline in the block options. Thank you Philipp Stracker! |
| 203 |
|
| 204 |
= 5.0.17 = |
| 205 |
* Feature: Support for custom Anchor IDs in headings. Thank you Matthias Altmann! |
| 206 |
|