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, and pde functions have been removed. (#61)

Version 4.5.0

June 22, 2024

Added

  • 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).

Version 4.4.0

December 20, 2023

Changed

  • Wordsmith no longer provides md, markdown, or widont filters when Craft is rendering a template in cp 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 the apTitleize 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 to minorTitleWords, indicating words that should usually be lowercased in titles when using apTitleize.
  • 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 the view namespace.

Removed

  • Removed Wordsmith::$plugin static accessor; use getInstance() instead.

Version 3.3.1

May 15, 2022

Improved

  • Updated the version constraint for Inflector to allow 2.0, which fixes PHP 7.4 compatibility. (#34)

Version 3.3.0.1

August 7, 2020

Improved

  • Increased the widont line length threshold, to make widont 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. Use Wordsmith::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

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

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 use prefer-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

  • 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)

Version 3.0.1

November 11, 2017

Added

  • Initial release!