Version 1.2.8

July 29, 2026
  • Fix: Same-document links (fragment-only #anchor / #/spa/route and query-only ?foo=bar hrefs) are no longer rewritten with a language prefix on translated pages; they now stay relative to the current page instead of being rebased onto the language root (e.g. #/booking/step-1? no longer becomes /fr/#/booking/step-1?), fixing in-page and SPA navigation.
  • Fix: Restores translation of the srcset attribute on <img> in translated pages. The responsible checker was dropped in the library split, so a translated src could previously coexist with original-language srcset URLs.
  • Fix: The media_enabled and external_enabled options now correctly disable translation of media attributes (src, data-src, srcset) and external links respectively; a class-name matching bug previously made both toggles silent no-ops.
  • Improvement: Migrates the bundled Weglot PHP library to weglot-php 1.9.9, whose parsing layer is now extracted into a separate weglot-parser-php 0.1.1 dependency; the scoped vendor and the DOM/regex checker wiring were updated accordingly, with no change to translation output.
  • Improvement: Updates locked dependencies to clear all reported security advisories — guzzlehttp/guzzle 7.15.2, guzzlehttp/psr7 2.13.0, and craftcms/cms 5.10.12 (pulling fixed phpoffice/phpspreadsheet and web-auth/webauthn-lib) — all within the existing version constraints.

Version 1.2.7

July 13, 2026
  • Fix: URLs using non-navigational schemes (mailto:, tel:, sms:, javascript:, data:, ...) are no longer rewritten with a language prefix; only http/https links go through language rewriting and slug translation.

Version 1.2.6

June 23, 2026
  • Improvement: Adds htmx attribute URL rewriting support, extending the existing URL replacement pipeline to translate URLs found in hx-* attributes.
  • Improvement: Reverses the release order and adds dates to each entry to improve display in the Craft CMS Plugin Store.

Version 1.2.5

June 18, 2026
  • Fix: Language switcher links and original_path in the weglot-data payload are now computed from the source-language slug instead of the current translated slug, so every switcher link resolves to the correct per-language URL when browsing a translated page.
  • Fix: Slug translation now matches every path segment against the slug maps instead of only the first one, so nested URLs (e.g. blog articles under blog/) are correctly redirected to their translated slug and resolved back to the source entry — fixing missing redirects and 404s on translated article URLs.
  • Fix: In-memory slug-map memoization is now keyed by the requested destination-language set, preventing languages from being dropped within a single request depending on call order.

Version 1.2.4

May 18, 2026
  • Improvement: Adds an opt-in Algolia integration (enableAlgolia) that injects a new frontend script to intercept Algolia search requests via xhook, reverse-translate the query parameter through the Weglot API (with caching/debouncing), and route the request through the Weglot proxy.
  • Improvement: Upgrades craftcms/cms from 5.9.5 to 5.9.15 and removes the thamtech/yii2-ratelimiter-advanced dependency from composer.lock.
  • Improvement: Updates ParserService::getParser() to propagate a sanitized incoming wg-editor-session request header as an outbound editor-session header (when present) and to always include a weglot-integration: Craft CMS Plugin header on Weglot HTTP requests.
  • Improvement: Introduces a large set of new unit tests covering helpers, settings validation, URL eligibility/path rewriting, link replacement, hreflang generation, redirect language selection, slug translation, option parsing/excludes, and translation rendering/error handling; older targeted tests are removed/reworked into broader suites.

Version 1.2.3

March 9, 2026
  • Improvement: ReplaceLinkService::replaceUrl() now detects when an input URL points to a different host than the current request and returns it unchanged, preventing Weglot language rewriting/slug translation from affecting external links.

Version 1.2.2

March 2, 2026
  • No public release notes.

Version 1.2.1

February 19, 2026
  • Improvement: merge all dynamic selectors into the whitelist before injecting Weglot scripts in the DynamicsService.

Version 1.2.0

February 16, 2026
  • Improvement: Use navigator.sendBeacon instead of fetch when supported by the browser for sending data in the background.
  • Improvement: Add slug translation support for better handling of translated URLs.
  • Improvement: Add a new “dynamics” option in the admin interface to give more control over dynamic content behavior.
  • Improvement: Add reverse translation support for Craft’s search base to improve multilingual search handling.

Version 1.0.0

January 12, 2026
  • Add auto-redirect feature
  • Add Pageviews feature
  • Remove credentials, keepalive and header content type from header

Version 0.2.2-beta

November 27, 2025
  • Update cookieValidationKey and csrfParam configuration directly on construct

Version 0.2.1-beta

November 27, 2025
  • Update cookieValidationKey and csrfParam configuration

Version 0.2.0-beta

November 20, 2025
  • Update admin-design

Version 0.1.5-alpha

November 6, 2025
  • Update CI add classmap directly on composer.json

Version 0.1.4-alpha

November 3, 2025
  • Update CI add classmap directly on composer.json

Version 0.1.3-alpha

October 31, 2025
  • Update CI add classmap directly on composer.json

Version 0.1.2-alpha

October 31, 2025
  • Add classmap for autoload

Version 0.1.1-alpha

October 31, 2025
  • Use intermediate build directory for php-scoper output

Version 0.1.0-alpha

October 28, 2025
  • Initial alpha release