Skip to content

Releases: BenjaminHoegh/ParsedownToc

v1.5.4

14 Jul 04:57
5495e00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.3...v1.5.4

v1.5.3 Release - Hotfix

03 Feb 19:41
Compare
Choose a tag to compare

What's Changed

  • Fixes a bug where uniquifyAnchorID didn't keep track of anchors
  • Fixes a bug where headings still generated toc data for disabled levels

Full Changelog: v1.5.2...v1.5.3

v1.5.2

02 Feb 21:45
Compare
Choose a tag to compare

What's Changed

  • Code quality improvements
  • Added option for custom logic for anchors.
  • Added back transliterate, was missing, whoops
  • Added PHP version check
  • Fixed a deprecation issue in php 8

Full Changelog: 1.5.1...v1.5.2

1.5.1 Hotfix

16 Aug 07:23
7fa5c8e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5...1.5.1

1.5

13 Aug 06:02
7dc0e82
Compare
Choose a tag to compare
1.5

Added:

  1. Introduced a new method setOptions($options) to allow users to update or set new configurations for the parser.
  2. Explicit declaration for the $options property to ensure compatibility with PHP 8.2's deprecation of dynamic properties.
  3. Added setters for each option

Modified:

  1. Updated the __construct() method to initialize default options.
  2. Replaced DynamicClass to a new class alias ParsedownExtendedParentAlias to refer to the parent class, either ParsedownExtra or Parsedown, based on their availability. Thanks to @raffaelj #15
  3. Enhanced the createAnchorID method:
    • Integrated the iconv function for transliteration of header text to ASCII.
  4. Changed Transliterate to use the PHP build-in iconv

1.4.3

18 Jan 11:23
31550a0
Compare
Choose a tag to compare

What's Changed

  • fix: Using ${var} in strings is deprecated by @pjbakker in #11

1.4.2

25 Oct 07:58
cf79902
Compare
Choose a tag to compare

Option to prefix anchor with an URL #10

1.4.1

24 Nov 13:21
2576c43
Compare
Choose a tag to compare

fix: phpdoc of text() function #8

1.4

26 Jul 16:08
2b6a5fc
Compare
Choose a tag to compare
1.4

Fixed issue #7

1.3

19 Aug 14:58
Compare
Choose a tag to compare
1.3
1.3