Skip to content

Releases: infinum/eightshift-libs

11.0.3

20 Oct 07:04
f98ae6d

Choose a tag to compare

Fixed

  • getAttrsOutput helper for not escaping the attributes if the value is 0.

11.0.2

02 Oct 07:38
bd0e4bd

Choose a tag to compare

Fixed

  • convertMediaToWebPByPath helper now correctly throws an error if the media origin does not exist.

11.0.1

25 Sep 07:34
500c683

Choose a tag to compare

Fixed

  • Memory leak in MediaTrait helper.

11.0.0

15 Sep 11:08
5e190f4

Choose a tag to compare

Removed

  • WebPMediaColumnCli, WebPMediaColumnExample, MediaWebPTrait, UseWebPMediaCli as it is not used anymore.

Changed

  • WebP helpers are now using totally different approach with different hooks and methods. We are no longer creating a new image on upload and using the helper method to detect the extension but we are creating a new image on upload and using using native WordPress functions.

Updated

  • composer packages.

10.12.1

25 Aug 11:36
63e11bc

Choose a tag to compare

Added

  • pathUrl to the getApiRouteUrlData helper

Screenshots / Videos

10.12.0

28 Jul 08:14
9ab60f2

Choose a tag to compare

Added

  • New getApiResponse helper for better API response output.
  • API response codes constants.

Deprecated

  • getApiSuccessPublicOutput helper.
  • getApiWarningPublicOutput helper.
  • getApiErrorPublicOutput helper.
  • API_RESPONSE_CODE_SUCCESS constant.
  • API_RESPONSE_CODE_ERROR constant.
  • API_RESPONSE_CODE_ERROR_MISSING constant.
  • API_RESPONSE_CODE_ERROR_FORBIDDEN constant.
  • API_RESPONSE_CODE_SUCCESS_RANGE constant.

10.11.2

22 Jul 14:39
93436a4

Choose a tag to compare

Added

  • Added addEditorBodyDebugClass method for debugging tailwindClasses for usage with Eightshift Frontend Libs Tailwind

10.11.1

22 Jul 12:55
8fff461

Choose a tag to compare

Fixed

  • Replace $attributes check with $part for tailwindClasses helper method because component can be without attributes.

Updated

  • Replace deprecated classnames helper with clsx

Added

  • Output block/component title in tailwindClasses if WP_DEBUG is true

10.11.0

09 Jul 07:25
7a87d33

Choose a tag to compare

Added

  • Added ServiceCliInterface to custom post type and taxonomy abstract methods so that they are available in the CLI commands when flushing permalinks.

10.10.0

08 Jul 07:27
f2431ae

Choose a tag to compare

Added

  • New I18nThemeCli and I18nPluginCli commands for creating i18n service classes for theme and plugin.