Skip to content

Releases: nystudio107/craft-typogrify

Version 1.1.4

08 Dec 22:09
Compare
Choose a tag to compare

Changed

  • Set set_french_punctuation_spacing to false by default to avoid spaces before punctuation

Version 1.1.3

08 Dec 05:07
Compare
Choose a tag to compare

Added

  • Added truncate, truncateOnWord, and stringy text manipulation functions

Changed

  • Updated to require craftcms/cms ^3.0.0-RC1
  • Switched to Craft::$app->view->registerTwigExtension to register the Twig extension

Version 1.1.2

15 Nov 01:38
Compare
Choose a tag to compare

Changed

  • singularize and pluralize now both accept an optional number parameter
  • humanFileSize now defaults to 1000 as the unit of measure, with nicer looking human abbreviations

Version 1.1.1

06 Nov 16:14
Compare
Choose a tag to compare

Added

  • Added humanDuration() and humanRelativeTime()

Version 1.1.0

06 Nov 02:09
Compare
Choose a tag to compare

Added

  • Added humanFileSize() to convert bytes to a human readable number, e.g.: 1024 becomes 1K
  • Added a number of useful inflector functions such as pluralize(), singularize(), transliterate(), etc.
  • Added a Variable so you can use craft.typogrify.smartypants, etc. if you wish

Changed

  • Code cleanup

Version 1.0.3

20 Oct 00:42
Compare
Choose a tag to compare

Changed

  • Set set_ignore_parser_errors to true to make it more lenient at parsing invalid HTML from Redactor
  • Synced up the config.php and Settings model with the updated php-typography lib

Version 1.0.2

18 Oct 18:18
Compare
Choose a tag to compare

Changed

  • Switched to the more modern and maintained mundschenk-at/php-typography package

Version 1.0.1

16 Oct 00:40
Compare
Choose a tag to compare

Added

  • Switched to nystudio107\PhpTypography to avoid minimum-stability issues

Version 1.0.0

14 Oct 16:25
Compare
Choose a tag to compare
  • Initial release