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
- Wordsmith is ready for Craft 5!
- Added basic support for applying Wordsmith functions via the
@wordsmith
directive. (#46, #58)
- Updated Emoji definitions to Unicode version Emoji 15.1 (September 2023).
- Wordsmith no longer handles Markdown parsing, as Craft offers this functionality natively. The
md
,markdown
,parsedown
,parsedownExtra
, andpde
functions have been removed. (#61)
- Updated Emoji definitions to Unicode version Emoji 15.1 (September 2023).
- Wordsmith no longer provides
md
,markdown
, orwidont
filters when Craft is rendering a template incp
mode, 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
vimeoId
function.
- Improved
apTitleize
handling 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
protectedTitleWords
config, for words that should not be transformed when formatting titles with theapTitleize
function. (#41) apTitleize
now leaves common known acronyms alone if they're already uppercase in the source string — e.g. "CPR", "KFC", "USA", and "YOLO!"
- Renamed the
apTitleProtectedWords
config tominorTitleWords
, indicating words that should usually be lowercased in titles when usingapTitleize
. - Refactored
APTitleCapitalizer
constructor to remove dependency on Wordsmith plugin for getting settings.
- Fixed a bug where
typogrify
filter 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
Settings
properties. - Moved
Settings
model to the root namespace. - Moved
WordsmithTwigExtension
to theview
namespace.
- Removed
Wordsmith::$plugin
static accessor; usegetInstance()
instead.
- Increased the
widont
line length threshold, to makewidont
a 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
$plugin
accessor 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-stable
to 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/cms
as 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
chop
function in paragraph mode. (#7)
- Initial release!