Zurück zu Swatchv1.0.18 (23 Releases)

Changelog Swatch

Changelog für das verfügbaren WooCommerce-Plugin Swatch: Updates, Korrekturen und Funktionsentwicklung.

v1.0.18
  • Fixed: out-of-combination swatches were never disabled and the "Clear" link left the old swatches highlighted. WooCommerce fires its variation events through jQuery, which a native event listener never receives, so the swatches missed every update. They now subscribe through WooCommerce's own jQuery.
  • Fixed: adding or saving any attribute term stored a black swatch colour, because a colour field always submits a value. A term you never gave a colour then showed a black dot, and a colour attribute could no longer fall back to the dropdown. A "No colour" checkbox now keeps a term without one; picking a colour unticks it. Terms saved black by earlier versions keep that colour until you tick "No colour" on them.
v1.0.17
  • The upgrade notice's "Coming soon" and "Get notified" labels are English source strings for every language; Polish sites used to get their own Polish source text, which translators in other languages then saw untranslated.
v1.0.16
  • Display name drops the "Plogins " prefix. The slug, the text domain and every option key are unchanged, so nothing on an existing install moves.
v1.0.15
  • The sidebar upgrade promo now follows the same dismissal as the banner. Dismissing the banner used to leave a full-height advert on the settings screen for good, which is not what the WordPress.org guideline on upgrade prompts means by used with moderation.
v1.0.14
  • Security (low): swatch markup is now passed through `wp_kses()` with an explicit allowlist at the point it is printed. Every renderer escapes the values it writes, but each one ends in a filter, so what actually reached the page was whatever the last callback returned. An add-on, or anything else hooking those filters, could put unescaped markup on a storefront page. The allowlist covers the elements and attributes the swatches use, including `img` for the paid edition's image swatches and `data-*` for the values the script reads.
  • Note: an inline colour that is not a hex value is dropped by WordPress when the markup is filtered, so a callback returning `rgb(...)` loses that colour. Colours saved on an attribute term are unaffected: they go through `sanitize_hex_color()` on the way in and on the way out.
v1.0.13
  • Fixed: the PRO upgrade promo kept selling to people who had already bought the paid edition. Only the banner could be dismissed, so the sidebar promo and the locked feature cards followed a paying customer around for good. The promo now checks whether the paid edition is active and steps aside when it is.
  • Fixed: arrow glyphs in the admin menu paths, and in the strings handed to translators. An arrow inside a translatable string makes the glyph every translator's problem and changes the layout in any locale that drops it.
v1.0.12
  • Fixed: the installation steps told you to upload a `swatch` folder. The package has unpacked to `plogins-swatch` since the build started taking the folder name from the text domain, so following the readme put the plugin somewhere WordPress would not find it.
  • Fixed: the link to the attributes screen had an arrow glyph inside the translated string, which made the arrow every translator's problem rather than the layout's.
  • Changed: the features list now mentions swatches in shop and category listings. They arrived in 1.0.8 and the description never said so.
  • Changed: Polish, German and Spanish are complete again at 52 of 52 strings. Ten strings, the whole shop-listing section among them, had no translation in any locale.
v1.0.11
  • Fixed: deleting the plugin left the per-user "dismiss" flag from the PRO notice in the database. Uninstall now removes it for every user, not just the one who dismissed it.
v1.0.10
  • Fixed: the PRO notice on the settings screen still sold shop-loop swatches as a paid feature. They have been in the free plugin since 1.0.8, behind the Swatches in the shop loop checkbox. What PRO adds there is the term image in place of the colour chip, and the notice now says so.
v1.0.9
  • Changed: **Swatches in the shop loop** now shows that it hangs off the master switch above it. With **Enable swatches** off, the row goes quiet and says the listings will not render swatches yet, rather than taking a tick that does nothing. The state is rendered from the saved settings, so it is correct with JavaScript switched off, and the box stays reachable and saveable either way.
  • Changed: both switches in that section tie their help text to the checkbox with `aria-describedby`, so a screen reader reads the explanation with the control.
v1.0.8
  • New: **Swatches in the shop loop**, a setting on the Swatch screen. The archive renderer was always in this plugin, complete and working, but it was held shut by a hardcoded value that only the paid add-on ever flipped. That makes it a built-in feature the plugin refused to run, which the WordPress.org guidelines do not allow, so it is a setting now. Off by default, because it changes how your shop page looks.
  • Colour and label swatches render in listings exactly as they do on the product page. Image swatches in listings are what the paid edition adds on top.
v1.0.7
  • Renamed to Plogins Swatch - Variation Swatches for WooCommerce so the name leads with the brand rather than a generic word, which is what the WordPress.org plugin review team asks for. The plugin slug is unchanged.
v1.0.6
  • Tested against WordPress 7.1. Verified by activating this build on a clean 7.1 install with WooCommerce 11.1, not by editing the header.
v1.0.5
  • Fixed the PRO promo on the settings screen quoting a price in PLN. PRO is priced and charged in EUR, so an admin on a Polish site was shown a zloty amount and then billed in euro, and the zloty figure was a fixed conversion that drifted from the real charge as the rate moved. The promo now shows the euro price that is actually taken.
v1.0.3
  • Translations: completed Polish, German and Spanish for the PRO upgrade panel.
v1.0.2
  • Added bundled Polish, German and Spanish translations for the plugin interface.
v1.0.1
  • First stable release.
v0.1.5
  • Renamed to Plogins Swatch for WooCommerce for a more distinctive plugin name.
v0.1.4
  • Swatch group filters `swatch/swatch_group_vars` and `swatch/swatch_group_classes` for PRO sizing and shapes.
v0.1.3
  • Per-swatch filters (`swatch/product_swatch_html`, `swatch/archive_swatch_html`) and `swatch/swatch_items` for PRO tooltips and add-ons.
v0.1.2
  • Add optional archive-loop swatch preview via `swatch/archive_enabled` and `swatch/archive_html` filters for add-ons.
v0.1.1
  • Add `swatch/variation_gallery` filter and expose `swatch_variation_gallery` on variation JSON for add-ons.
v0.1.0
  • Initial release.