Better check for the permissions when showing the table of content in the table of content block. Check that the user can actually see the node of which the table of content is being shown. If not the block remains empty. SA-CONTRIB-2012-166 - Table of Contents - Access Bypass.
* Issue #1250974: No ToC in revision by henkiejan: Fixed the case when viewing a node with a specific module (i.e. node/%/view/...)
* Fixed the block configuration (i.e. hid unused flags, save all used flags.)
* Fixed the block cache (i.e. cache per page.)
* Fixed the rendering so some states do not prevent the block table of content from being defined as expected.
* Removed the appearance of ?> in strings.
* Fixed "appeneded".
* Issue #1139212 by tangent: added two theme functions.
* Added support for ndash.
* Safe title gets tags removed.
* Prevent TOC in body when block flag is set.
* Removed the drupal_unpack() for the comments since that's only for the $user->data field which we do not load (not necessary!)
* Fix for translation. #839922: Some missed translations texts
* Made the Table of Contents Back to Top Links use plurial for the links.
* Coder fix adding the file info.
* Fixed an E_NOTICE error.
* Put the case 'list' back in so users don't get errors for unsupported param.
* Fixed letter N with half circle from 'i' to 'y'.
* Fixed the lower to upper case on Russian letters #678406: Incorrect (uppercased) transliteration for cyrillic letters in i18n-ascii.txt -- Use Transliteration instead?
* Added missing $Id:$ in the CSS file (does not apply anymore though!)
* Group the administration flags with fieldset.
* Removed unused widget.
* Added an option to choose whether the [toc title=...;] accepts tags.
* Removed the List Type selector (moved to Numbering.)
This release includes all the changes made on the TOC since 2008-Aug-18. The primary author had not done new releases since then so there are certainly tons of changes! If you were still using 2.2, it is not totally unlikely that it will not update right as is... But I'm about to make heavy changes so I wanted to have a main version of the current code.