Skip to content

Releases: pixelgrade/style-manager

2.2.10-beta.1 - Safari font fix

12 Feb 12:23

Choose a tag to compare

Pre-release

Pre-release for testing

Fix

  • Safari: Font selection crash for multi-variant fonts (#47) — requestIdleCallback is not available in Safari < 16.4. Fonts with 2+ variants (e.g. Lato) would crash the Customizer, while single-variant fonts (e.g. Adamina) worked fine. Added setTimeout fallback.

Testing

  • Open Customizer in Safari
  • Change any font field to "Lato" (or another multi-variant font)
  • Preview should update and Publish button should become active
  • Verify single-variant fonts (e.g. Adamina) still work
  • Verify Chrome is not affected (regression check)

Style Manager 2.2.9

10 Feb 06:33

Choose a tag to compare

PHP 8.5 Compatibility

Ensures full compatibility with PHP 8.1, 8.2, 8.3, 8.4, and 8.5 — zero deprecation notices at runtime.

Changes

  • Fix ${var} string interpolation deprecated in PHP 8.2
  • Fix implicit nullable parameters deprecated in PHP 8.4
  • Fix passing null to non-nullable internal function parameters deprecated in PHP 8.1 (14 locations in src/, 25 locations in Carbon Fields)
  • Fix PHP 4-style var class property declaration deprecated in PHP 8.2
  • Add null guard for $_GET['plugin'] in WUpdates update checker
  • Add PHP 8.1 downgrade set to Rector build pipeline
  • Update PHPCompatibility test version from 7.0 to 7.1
  • Update symfony polyfill dependency constraints to ^1.27
  • Document Carbon Fields compatibility patches for future reference

Minimum Requirements

  • WordPress 5.5+
  • PHP 7.1+ (tested up to PHP 8.5)

Full Changelog: 2.2.8...2.2.9

v2.2.8 — WordPress 6.9.1 compatibility

09 Feb 19:19
2c81bf3

Choose a tag to compare

What's Changed

Compatibility

  • Upgrade Carbon Fields library to version 3.6.9 for WordPress 6.2+ compatibility (React 18)
  • Fix Settings page not rendering fields on WordPress 6.2+
  • Fix PHP 8.2 ReturnTypeWillChange deprecation notices from Carbon Fields
  • Tested with WordPress 6.9.1

Security

  • Sanitize $_SERVER['REQUEST_URI'] in exception message
  • Replace $_SERVER['PHP_SELF'] with global $pagenow
  • Add capability check to AJAX migration handler
  • Cast sm_site_color_variation to integer in JS output
  • Escape RadioImage control colors, labels, and data attributes

Build

  • Fix production autoloader including dev dependency references (fatal error on activation)

Full Changelog: v2.2.7...v2.2.8

v2.2.7

16 Jun 13:50

Choose a tag to compare

  • Improvements to design assets handling.
  • Improvements to fonts handling on the frontend of your site.
  • Fix for fonts controls styling.
  • Fix site color variation controls.

v2.2.6

07 Jun 07:33

Choose a tag to compare

Fix for migrating customizations (theme_mods) between parent and child themes.

v2.2.5

03 Jun 21:02

Choose a tag to compare

  • Fix edge-case bug when the Customizer preview would not update with new fonts.
  • Styling fixes for Customizer controls.
  • Fix cache invalidation after Pixelgrade Care Starter Content import.
  • Test with the latest WordPress version (6.0).

v2.2.4

06 May 07:49

Choose a tag to compare

Styling fixes for the block editor.

2.2.3

20 Apr 08:26

Choose a tag to compare

  • Fix CSS output for legacy color palettes

v2.2.2

19 Apr 14:59

Choose a tag to compare

  • Ensure compatibility with PHP 8.0

v2.2.1

19 Apr 15:00

Choose a tag to compare

  • Improve backwards compatibility
  • Bug fixes and style improvements