- ✨ add
logForwardedEventsconfig flag to enable debug logging for forwarded events and triggers (by @mws19901118 in #704)
- 🐞🩹 update repository metadata to QwikDev/partytown and bump Node to 24.x for OIDC trusted publishing (by @thejackshelton in
1b34fe1)
- Fix Lighthouse deprecated API warnings by skipping Chrome Privacy Sandbox properties (SharedStorage, AttributionReporting) during window introspection (by @AlexJohnSadowski in #697)
-
✨ 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: 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.
-
Add
strictProxyHasconfiguration option for accurate namespace conflict detection (by @chadgauth in #692)Summary:
This release adds a new configuration option
strictProxyHasthat enables accurate property existence checks using theinoperator. This is required for scripts like FullStory that check for namespace conflicts when loaded via Google Tag Manager (GTM).Key Changes:
- Add
strictProxyHas?: booleanconfig option to enable accurateinoperator behavior - Update window proxy's
hastrap to useReflect.has()whenstrictProxyHas: true - Default is
falsefor 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. - Add
-
✨ 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.
- Add adoptedStyleSheets.get() to patched
documentin worker. (by @leeroybrun in #674)
-
Bunch of fixes and a new release system.. (by @shairez in #652)
Here's a list of the changes:
- add config fallback timeout (#620)
- Same-origin iframe set/get cookie/localStorage bug (#600)
- make sure unknown is mapped to HTMLUnknownElement cstr (#606)
- 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)