The format of this file is based on "Keep a Changelog". This project adheres to Semantic Versioning. Version numbers follow the pattern: MAJOR.FEATURE.BUGFIX
- Added basic support for applying Wordsmith functions via the
@wordsmithdirective.
- Wordsmith no longer provides
md,markdown, orwidontfilters when Craft is rendering a template incpmode, to avoid conflicts with Craft's native filters.
- Wordsmith now requires Craft 4.5 or greater.
- Updated Emoji definitions to Unicode version 15 (September 2022).
- Bumped the CraftCMS requirement to 4.2.5, to ensure support for fluent config models.
- Fixed a missing-constant bug caused by insufficient/inconsistent emoji name normalization.
- Added
vimeoIdfunction.
- Improved
apTitleizehandling for a few corner cases, including international characters (#14), quotes, mixed alpha-numeric tokens, multiple sentences, punctuation other than periods, and words containing multiple apostrophes.
- Settings can now be constructed using the fluent config style.
- Added
protectedTitleWordsconfig, for words that should not be transformed when formatting titles with theapTitleizefunction. (#41) apTitleizenow leaves common known acronyms alone if they're already uppercase in the source string — e.g. "CPR", "KFC", "USA", and "YOLO!"
- Renamed the
apTitleProtectedWordsconfig tominorTitleWords, indicating words that should usually be lowercased in titles when usingapTitleize. - Refactored
APTitleCapitalizerconstructor to remove dependency on Wordsmith plugin for getting settings.
- Fixed a bug where
typogrifyfilter would throw an error if the argument was null. This now fails silently and returns an empty string, like in Craft 3. (#54)
- Update string access syntax in Full Name Parser library, to fix PHP 8 support. (#45)
- Fixed changelog formatting.
- Wordsmith is ready for Craft 4!
- Updated Emoji definitions to Unicode version 14 (September 2021).
- Fully typed
Settingsproperties. - Moved
Settingsmodel to the root namespace. - Moved
WordsmithTwigExtensionto theviewnamespace.
- Removed
Wordsmith::$pluginstatic accessor; usegetInstance()instead.
- Increased the
widontline length threshold, to makewidonta bit more liberal in closing up widowed lines. (#5) - Updated the version constraint for Stringy to make Wordsmith compatible with Craft 3.5. (#33)
- (Wordsmith 3.3.0.1 is a re-tag of version 3.3.0 with more flexible dependency constraints to avoid errors when updating to Craft 3.5.)
- The static
$pluginaccessor will be removed in v4. UseWordsmith::getInstance()instead.
- Updated Emoji definitions to Unicode version 12.1 (October 2019).
- Updated the version constraint for Parsedown Extra. (#29)
- Internalized the SubStringy library, to resolve dependency conflicts between different forks of Stringy.
- Updated Wordsmith's Stringy dependency to be consistent with Craft's updated dependency. (#25)
- Updated the version constraint for Parsedown Extra to allow
0.8.0-beta-1, which resolves a potential dependency version conflict with Doxter. (#22) (Projects can useprefer-stableto keep their Parsedown versions on the stable track in cases where Doxter is not also required.)
- Added legacy parameters to the
hacksaw()method for better backwards compatibility. (#2)
- Add
craftcms/cmsas a requirement (Required by plugin store)
- Fixed order-of-loading conflicts that could generate an error when Wordsmith tried to add Twig functions/globals. (#6)
- Fixed a bug where an extra paragraph was prepended to the input of the
chopfunction in paragraph mode. (#7)
- Initial release!