Skip to content

Improved license white-labeling, enhanced PHP 8 support and various housekeeping

Compare
Choose a tag to compare
@swashata swashata released this 07 Apr 07:00
· 62 commits to master since this release
9fc7bd5

Version 2.7.0 brings various improvements and bug fixes. Please find them below:

Improved license white-labeling

The license keys will no longer be printed in the HTML form. This enhances the experience of white-labeled licenses.

PHP 8.* enhancements

  • We noticed some translated languages broke the placeholders used in printf family of functions. We have fixed the translations directly in our Transifex project.
  • We have added some annotations in the source code to suppress some dynamic property-related issues, happening on extreme edge cases.
  • Lifetime add-on license was also triggering PHP 8.1 deprecation notice in some cases. This issue was fixed as well.

Garbage Collector enhancements

We discovered an edge case where the garbage collector could delete data, in case the slug of the product was changed from the Freemius Developer Dashboard. We have introduced a fix for this.

Other bug fixes & housekeeping

  • The SDK now properly checks for connectivity state when multiple Freemius-powered plugins or themes are used.
  • In some cases, the SDK would promote "hidden" plans for trials. This has now been fixed.
  • Fixed the incorrect signature of the fs_enqueue_local_script function.
  • We have improved the asset (CSS & JS) build process to be used against the latest NodeJS LTS.
  • We have fixed the gettext extractor library to work for various types of custom gettext functions used in the project.
  • We have created another system to upload pot files from our SDK directly to our Transifex project and then update the po and mo files.

For the build-tooling changes, please see the new CONTRIBUTING.md file.