Version 5.0.0
June 22, 2024
Added
- Wordsmith is ready for Craft 5!
- Added basic support for applying Wordsmith functions via the
@wordsmith
directive. (#46, #58)
Changed
- Updated Emoji definitions to Unicode version Emoji 15.1 (September 2023).
Removed
- Wordsmith no longer handles Markdown parsing, as Craft offers this functionality natively. The
md
,markdown
,parsedown
,parsedownExtra
, andpde
functions have been removed. (#61)
Version 4.4.0
December 20, 2023
Changed
- Wordsmith no longer provides
md
,markdown
, orwidont
filters when Craft is rendering a template incp
mode, to avoid conflicts with Craft's native filters.
Security
- Wordsmith now requires Craft 4.5 or greater.
Version 4.3.0
November 25, 2023
Improved
- Updated Emoji definitions to Unicode version 15 (September 2022).
Changed
- Bumped the CraftCMS requirement to 4.2.5, to ensure support for fluent config models.
Fixed
- Fixed a missing-constant bug caused by insufficient/inconsistent emoji name normalization.
Version 4.2.0
December 11, 2022
Added
- Added
vimeoId
function.
Improved
- 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.
Version 4.1.0
December 10, 2022
Added
- 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!"
Changed
- 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
- 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)
Version 4.0.1
June 5, 2022
Fixed
- Update string access syntax in Full Name Parser library, to fix PHP 8 support. (#45)
Version 4.0.0.1
May 16, 2022
Fixed
- Fixed changelog formatting.
Version 4.0.0
May 15, 2022
Improved
- Wordsmith is ready for Craft 4!
- Updated Emoji definitions to Unicode version 14 (September 2021).
Changed
- Fully typed
Settings
properties. - Moved
Settings
model to the root namespace. - Moved
WordsmithTwigExtension
to theview
namespace.
Removed
- Removed
Wordsmith::$plugin
static accessor; usegetInstance()
instead.
Version 3.3.0.1
August 7, 2020
Improved
- 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.)
Deprecated
- The static
$plugin
accessor will be removed in v4. UseWordsmith::getInstance()
instead.
Version 3.2.0
April 20, 2020
Improved
- Updated Emoji definitions to Unicode version 12.1 (October 2019).
Version 3.1.2
February 17, 2020
Fixed
- Updated the version constraint for Parsedown Extra. (#29)
Version 3.1.1
September 20, 2019
Fixed
- Internalized the SubStringy library, to resolve dependency conflicts between different forks of Stringy.
Version 3.1.0
September 20, 2019
Changed
- Updated Wordsmith's Stringy dependency to be consistent with Craft's updated dependency. (#25)
Version 3.0.5
May 20, 2019
Improved
- 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.)
Version 3.0.4
November 5, 2018
Fixed
- Added legacy parameters to the
hacksaw()
method for better backwards compatibility. (#2)
Version 3.0.3
September 4, 2018
Changed
- Add
craftcms/cms
as a requirement (Required by plugin store)
Fixed
Version 3.0.1
November 11, 2017
Added
- Initial release!