Releases: nystudio107/craft-typogrify
Releases · nystudio107/craft-typogrify
Version 1.1.4
Changed
- Set
set_french_punctuation_spacing
tofalse
by default to avoid spaces before punctuation
Version 1.1.3
Added
- Added
truncate
,truncateOnWord
, andstringy
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
Changed
singularize
andpluralize
now both accept an optionalnumber
parameterhumanFileSize
now defaults to1000
as the unit of measure, with nicer looking human abbreviations
Version 1.1.1
Added
- Added
humanDuration()
andhumanRelativeTime()
Version 1.1.0
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
Changed
- Set
set_ignore_parser_errors
totrue
to make it more lenient at parsing invalid HTML from Redactor - Synced up the
config.php
andSettings
model with the updatedphp-typography
lib
Version 1.0.2
Changed
- Switched to the more modern and maintained
mundschenk-at/php-typography
package
Version 1.0.1
Added
- Switched to
nystudio107\PhpTypography
to avoid minimum-stability issues
Version 1.0.0
- Initial release