Releases: infinum/eightshift-libs
Releases · infinum/eightshift-libs
11.0.3
20 Oct 07:04
Compare
Sorry, something went wrong.
No results found
Fixed
getAttrsOutput helper for not escaping the attributes if the value is 0.
11.0.2
02 Oct 07:38
Compare
Sorry, something went wrong.
No results found
Fixed
convertMediaToWebPByPath helper now correctly throws an error if the media origin does not exist.
11.0.1
25 Sep 07:34
Compare
Sorry, something went wrong.
No results found
Fixed
Memory leak in MediaTrait helper.
11.0.0
15 Sep 11:08
Compare
Sorry, something went wrong.
No results found
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
10.12.1
25 Aug 11:36
Compare
Sorry, something went wrong.
No results found
Added
pathUrl to the getApiRouteUrlData helper
Screenshots / Videos
10.12.0
28 Jul 08:14
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Added
Added addEditorBodyDebugClass method for debugging tailwindClasses for usage with Eightshift Frontend Libs Tailwind
10.11.1
22 Jul 12:55
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Added
New I18nThemeCli and I18nPluginCli commands for creating i18n service classes for theme and plugin.