qwikdev/partytown v0.11.0 → v0.13.2

This range is a small but useful update for Partytown. The main themes are better third-party script compatibility in the worker, a new opt-in proxy behavior for scripts that rely on in checks, and expanded Drupal documentation.

What's new

  • Adds full attribute-method support to the worker-side HTMLImageElement, including getAttribute(), setAttribute(), hasAttribute(), removeAttribute(), and toggleAttribute(). This fixes third-party scripts that call setAttribute() on Image instances inside Partytown, and src handling is wired into the new attribute storage as part of the implementation. (#681)

  • Introduces a new strictProxyHas configuration option for more accurate in operator checks on the window proxy. This is useful for scripts like FullStory loaded through Google Tag Manager, where namespace conflict detection depends on if (!("FS" in window)); when enabled, Partytown uses Reflect.has() instead of always returning true, and the default stays false for backwards compatibility. (#692)

  • Adds Drupal integration documentation, including installation, configuration, and Drupal-specific ways to Partytown user scripts. The docs also cover manual module installation cases where sites do not use Composer but still want to manage Partytown through the Drupal module UI. (#701, #703)

Fixes

  • Fixes document.adoptedStyleSheets access in the worker by adding adoptedStyleSheets.get() to the patched document, which resolves integration issues such as Microsoft Clarity reading that property. (#674)

  • Fixes Lighthouse deprecation warnings triggered during window introspection by skipping Chrome Privacy Sandbox properties like sharedStorage and attributionReporting, avoiding warning noise that could drag down scores. (#697)

Other notable changes

  • Repository metadata now points at QwikDev/partytown, and the publishing setup was updated to use Node 24.x for OIDC trusted publishing.

Contributors

@AlexJohnSadowski, @mws19901118, @chadgauth, @yeskunall, @quickshiftin, @gioboa, @leeroybrun, @github-actions[bot], @codr, @ghsamm, @thejackshelton, @OulipianSummer