wiki-grav/plugins/page-toc/CHANGELOG.md
2022-06-06 18:16:01 +02:00

2.9 KiB

v3.2.0

02/23/2022

    • Support for HTML or Shortcode based headers with custom id attributes to specify an anchor
    • Added German translation

v3.1.3

01/03/2022

    • Require Grav v1.7.26 to make use of built in Plugin::inheritedConfigOption()
    • NOTE: page-toc v3.1.2 was released prior to Grav v1.7.26 and has been removed
    • Don't force inclusion of <html> or <body> tags to reduce chance of invalid HTML
    • Improved README.md

v3.1.1

12/16/2021

    • Fixed some blueprint errors that caused errors on save
    • Force start and depth to be integers #17

v3.1.0

12/09/2021

    • NEW Added option to automatically copying to clipboard an anchor URL when clicking on it

v3.0.0

12/03/2021

    • NEW Support built-in anchors with customization of icon/classes/css etc.
    • NEW [anchor] shortcode for creating manual anchors for easy linking to page content
    • Moved the vendor-based TOC functionality in-plugin to provide more flexibility and additional features
    • Added several more Twig functions for increased flexibility
    • Ability to limit the length of a fragment link
    • Ability to set a custom prefix for anchor links
    • Added languages.yaml file for text translations
    • Independent control over the levels of anchors that should be built and the TOC displayed
    • page-toc: page-level configuration can be set in parent pages and trickles down to child pages
    • Removed dependency on HTML5 library and use the faster PHP DOMDocument class
    • Translated text for the "Table of Contents" in the page-toc.html.twig template

v2.0.0

11/24/2021

    • Added new components/page-toc.html.twig that can be extended and the HTML output modified
    • Updated core TOC library to latest 3.0.2 version
    • Requires PHP 7.3.6
    • Requires Grav 1.7+
    • Added Shortcode-like in-page syntax support. e.g. [toc]

v1.1.2

06/01/2021

    • Added page-toc blueprints under "Advanced" tab for admin
    • Updated to latest knplabs/knp-menu library
    • Added |raw filter to twig output in README.md

v1.1.1

12/02/2020

    • Updated to latest masterminds/html5 and knplabs/knp-menu libraries

v1.1.0

04/01/2019

    • Updated to latest caseyamcl/toc library
    • Fixes relative levels #6
    • Fixes incorrect reference to end when it should be depth #7

v1.0.1

03/19/2017

    • Fixed issue with end not being valid, should be depth. Updated README

v1.0.0

08/01/2017

    • ChangeLog started...