Skip to content

Latest commit

 

History

History
107 lines (66 loc) · 3.48 KB

CHANGELOG.md

File metadata and controls

107 lines (66 loc) · 3.48 KB

Release Notes for Anchors

3.4.0 - 2024-03-15

  • Added Craft 5 compatibility.

3.3.0 - 2023-07-02

  • Added the useAdditionalTagToAnchorTo config setting which allows you to opt out of a tag being added and used to link to, in favour of using heading's id. (#21)
  • Fixed a couple of URL formatting bugs around case sensitivity and punctuation. (#31)

3.2.0 - 2023-01-09

  • Added the @anchors GraphQL directive. (#18)

3.1.0 - 2022-12-16

  • Removed unnecessary tab spots. (#21)
  • Fixed a bug where headings that spanned multiple lines were ignored. (#20)

3.0.0 - 2022-05-03

Added

  • Added Craft 4 compatibility.

Changed

  • The parser component can now be configured via craft\services\Plugins::$pluginConfigs.

2.4.0 - 2022-12-16

  • Removed unnecessary tab spots. (#21)
  • Fixed a bug where headings that spanned multiple lines were ignored. (#20)

2.3.1 - 2022-02-25

Fixed

  • Fixed an error that could occur if the |anchors filter was used on a null variable. (#13)

2.3.0 - 2021-04-15

Added

  • Added the anchorLinkPosition setting. (#12)

Changed

  • Anchors now requires Craft CMS 3.6 or later.

2.2.0 - 2019-02-23

Changed

  • The |anchors filter now converts non-ASCII characters to ASCII when generating anchor names. (#9)
  • The |anchors filter now has a language argument, which can be set to specify which language the ASCII character mappings should be pulled from. (The current site language is used by default.)

2.1.1 - 2019-02-04

Changed

  • The |anchors filter is now available to templates rendered on console requests. (#8)

2.1.0 - 2018-07-16

Changed

  • Anchors now use the id attribute instead of name. (#4)

2.0.3 - 2017-12-04

Changed

  • Loosened the Craft CMS version requirement to allow any 3.x version.

2.0.2 - 2017-09-28

Changed

  • The plugin no longer forces Twig to be loaded on requests where it wasn’t needed.

Fixed

  • Fixed a bug where HTML tags within headings were not getting stripped for the anchor link title text. (#5)

2.0.1 - 2017-09-15

Added

  • Craft 3 Beta 27 compatibility.

2.0.0 - 2017-05-17

Added

  • Added support for Craft 3.

1.3.1 - 2016-07-03

Fixed

  • Fixed a bug where non-breaking spaces within headings could result in named anchors with “nbsp” in the name.

1.3.0 - 2016-07-03

Added

  • Added anchorClass, anchorLinkClass, anchorLinkText, and anchorLinkTitleText config settings.
  • The plugin now creates separate named anchor elements that are placed before the headings, rather than adding an id attribute to the headings.

1.2.0 - 2015-12-20

Changed

  • Updated to take advantage of new Craft 2.5 plugin features.

1.1.0 - 2014-11-28

Added

  • Added AnchorsService, available globally from craft()->anchors, with two public methods, parseHtml() and generateAnchorName().

1.0.0 - 2013-09-23

Initial release.