Skip to content

Releast 2.2.0

Choose a tag to compare

@SkyLundy SkyLundy released this 23 Dec 20:52
· 1 commit to main since this release

Critical update. New features, Bugfixes/Compatability. Required for users of DeepL.

Critical: All users employing DeepL as the translation service must upgrade. DeepL API authentication requirements will change in January 2025 with previous methods deprecated. Using Fluency with DeepL after 2025-12-15 will cause all translations to fail with a translation service error displayed in the UI.

  • Update DeepL authentication method to Auth header from deprecated URL paramter. More information in the DeepL API documentation here
  • Add clarification to requirement of AdminThemeUikit to use Fluency in README
  • Add 'name' property to ConfiguredLangaugeData object that makes the ProcessWire name of the
    language available
  • Fix deprecated PHP 8.4 deprecated implicit null parameters in FluencyMarkup class. Credit to @BernhardBaumrock for finding/reporting
  • Add jQuery change event trigger when translated values are inserted in addition to native JavaScript change event. See note on change detection in RockPageBuilder fields below
  • Add additional TinyMCE compatability.
  • Replace Gulp with Parcel for asset bundling.
  • Replace Sass with CSS, replace Sass transpiler with PostCSS
  • Add compatibility with new AdminThemeUikit 3 theme and theme features. Remains backwards compatible with previous versions
  • UI design updates.
  • Updated README.md with documentation for theming Fluency
  • API usage table now shows used/limit/remaining numbers formatted with commas to more easily read when they're large
  • Remove legacy/unused code and files. Code cleanup. A little more docblocking.
  • Change console warnings about unrecognized fields when attempting to initialize translation to only show when debug is enabled so we aren't junking up the browser console
  • Added additional documentation for contributing and the tech stack for asset bundling

This release addresses issues with change detection in RockPageBuilder fields. Links to issues reported here, and here.

This release also contains the fix for incorrect href and hreflang when outputting language meta tags using $fluency->renderAltLinkLanguageMetaTags(). Pull Request credit to @WebWorkingMan for reporting and bugfix