Skip to content

Latest commit

 

History

History
110 lines (64 loc) · 4.68 KB

File metadata and controls

110 lines (64 loc) · 4.68 KB

@qwik.dev/partytown

0.14.0

Minor Changes

  • ✨ add logForwardedEvents config flag to enable debug logging for forwarded events and triggers (by @mws19901118 in #704)

Patch Changes

  • 🐞🩹 initialise ErrorObject to Error instead of null to prevent instanceof crash (by @gioboa in #714)

0.13.2

Patch Changes

  • 🐞🩹 update repository metadata to QwikDev/partytown and bump Node to 24.x for OIDC trusted publishing (by @thejackshelton in 1b34fe1)

0.13.1

Patch Changes

  • Fix Lighthouse deprecated API warnings by skipping Chrome Privacy Sandbox properties (SharedStorage, AttributionReporting) during window introspection (by @AlexJohnSadowski in #697)

0.13.0

Minor Changes

  • ✨ add new documentation for Drupal integration (by @OulipianSummer in #701)

    This commit adds a new section to the integrations section of the documentation, detailing how to install, configure, and use the Drupal integration for PartyTown.

Patch Changes

  • patch: expand docs on manual Drupal module installation, fix typos (by @OulipianSummer in #703)

    Although uncommon, some Drupal web sites do install all of their third-party modules without composer. In these cases, it is still possible to use the contributed PartyTown module to manage PartyTown from a GUI, though the setup does require some extra explanation. I've added some notes on this uncommon setup in the hope it will be helpful to those users.

0.12.0

Minor Changes

  • Add strictProxyHas configuration option for accurate namespace conflict detection (by @chadgauth in #692)

    Summary:

    This release adds a new configuration option strictProxyHas that enables accurate property existence checks using the in operator. This is required for scripts like FullStory that check for namespace conflicts when loaded via Google Tag Manager (GTM).

    Key Changes:

    • Add strictProxyHas?: boolean config option to enable accurate in operator behavior
    • Update window proxy's has trap to use Reflect.has() when strictProxyHas: true
    • Default is false for backwards compatibility
    • Add FullStory GTM integration test with production-ready snippet
    • Document the configuration and provide usage guide

    Usage:

    <script>
      partytown = {
        forward: ['FS.identify', 'FS.event'],
        strictProxyHas: true, // Enable for FullStory via GTM
      };
    </script>

    Backwards Compatibility:

    This is a non-breaking change. The default behavior remains unchanged (strictProxyHas: false), so existing implementations will continue to work without modifications.

0.11.2

Patch Changes

  • ✨ Implement full attribute methods for HTMLImageElement (by @mws19901118 in #681)

    Implemented complete attribute handling for HTMLImageElement class including getAttribute(), setAttribute(), hasAttribute(), removeAttribute(), and toggleAttribute() methods. Added attributes Map to store element attributes and enhanced setAttribute() to properly handle src attribute. Includes comprehensive unit tests covering all attribute methods.

0.11.1

Patch Changes

  • Add adoptedStyleSheets.get() to patched document in worker. (by @leeroybrun in #674)

0.11.0

Minor Changes

  • Bunch of fixes and a new release system.. (by @shairez in #652)

    Here's a list of the changes:

    FEATURES

    • add config fallback timeout (#620)

    FIXES

    • Same-origin iframe set/get cookie/localStorage bug (#600)
    • make sure unknown is mapped to HTMLUnknownElement cstr (#606)

    DOCS

    • making install commands consistent (#638)
    • Add example reverse proxy handler for Facebook Pixel (#648)
    • add integration module for Magento 2 (#594)
    • add clarification that the worker strategy is not supported with app directory (#625)
    • use dummy web property ID (#621)
    • revert recent incorrect change to SvelteKit destination (#622)