Releases: nuxt/scripts
v0.8.1
🩹 Fixes
- Handle scripts missing
src
(510d7b9)
📖 Documentation
- Add learn section and carbon ads (f4de446)
❤️ Contributors
- Harlan [email protected]
v0.8.0
🚀 Enhancements
- Automatically
preload
andpreconnect
relevant scripts (a65a5e0) - useScriptTriggerElement: Pre-hydration event triggers (#237)
- googleMaps: Unified styling of static image and map (c85d278)
🩹 Fixes
- Soft-dependency on Unhead v1.10.4 (4a9fc40)
- Allow
useScript
to re-register trigger (9890124) - useScriptTriggerElement: Reject promises on scope dispose (7297783)
- googleAdsense: Broken validation input path (f198a80)
❤️ Contributors
- Harlan @harlan-zw
- Aman Desai @amandesai01
- Daniel Roe @danielroe
- Alfarish Fizikri @Gazoon007
- Alexander Lichter @manniL
New Contributors
- @manniL made their first contribution in #215
- @amandesai01 made their first contribution in #228
v0.7.1
🩹 Fixes
- Broken type generation (8282d6e)
- GoogleMaps: Ensure center marker is place when using mapOptions (45e6f24)
- GoogleMaps: Avoid losing marker reference (406968a)
📖 Documentation
🏡 Chore
❤️ Contributors
- Harlan [email protected]
- Alfarish Fizikri [email protected]
- Daniel Roe [email protected]
v0.7.0
Nuxt Scripts Is Officially Released 🎉
Read the official announcement.
In version 0.7.0 we move from a public preview to a beta release candidate for Nuxt Scripts.
In this update, the underlying useScript
API from Unhead has had several deprecations, for what we feel is a more robust, intuitive way of interacting with your scripts. If you'd like to learn more about these deprecations, please read the deprecate implicit proxy and $script and safer lifecycle hooks onLoaded, onError PRs or consult the updated documentation.
Additionally, some major improvements have been made to the Google Maps facade component.
With this version onwards, you can expect improved stability, active maintenance and documentation improvements until we get to a stable release. New scripts will be limited during this time, however, feel free to Request a new registry script.
⚠️ Breaking Changes
- Requires Unhead 1.10.0: You may need to run
nuxi cleanup --force
to upgrade. <ScriptGoogleMaps>
has had a major rework, please see (#191)<ScriptVimeo>
has had internal API changes, please see (#204)
🩹 Fixes
- Registry scripts bundling with
scriptOptions.bundle
(0c7906e) - vimeo:
⚠️ Broken player, refactor props (#204)
❤️ Contributors
- Harlan (@harlan-zw)
- Harlan Wilton (@harlan-zw)
- Lars Salling (@lsalling)
v0.6.6
🩹 Fixes
- tpc: Update TPC and fix GA (#186)
💅 Refactors
- Avoid module declaration augmentations (b27d4ee)
🏡 Chore
- Public release -> beta (debf873)
- Update import path for devtools port (#190)
- Bump deps (05f085e)
- Broken linting (3c46cff)
- Broken typechecking and linting (9285284)
- Bump deps (ea17d69)
✅ Tests
- E2e integration tests for ga and gtm (#189)
❤️ Contributors
- Harlan (@harlan-zw)
- Julien Huang (@huang-julien)
- Arash (@arashsheyda)
v0.6.5
🚀 Enhancements
- GA,GTM: Configurable dataLayer name (#163)
🩹 Fixes
- Fix google analytics category (#156)
- Use correct google analytics logo (#172)
- TPC: Use proper script keys (c607d72)
- TPC: Broken schema integration (ed115d8)
- Disallow overriding registry key name (2eedd4a)
- devtools: Support multiple of the same registry scripts (8794d74)
- ScriptYouTubePlayer: Missing default slot (#180)
- tpc: Support customizing dataLayer variable (09e3c2f)
📖 Documentation
- Broken tutorial, put some
use
intoscriptOptions
(#155) - Fix typo in js-confetti guide (#162)
- Fix typo in plausible analytics env var example (#161)
- Mention third-party-capital and aurora for tpc composables (#159)
- GoogleMaps: Added Places API to requirements of API key (#168)
🏡 Chore
- Add tsconfig to scripts and remove unused ts-expect-error (#158)
- Add issue template (669ed2a)
- Push to discussion (3c88385)
- Broken devtools when no scripts (c355da4)
- ci: Add docs link in Issue template (#178)
- github: Prefer no titles (97437c0)
❤️ Contributors
- Julien Huang [email protected]
- Harlan [email protected]
- Jules Hery
- Gangan
- Mick Lawitzke [email protected]
- Jonty Brook [email protected]
- Roman Nuritdinov [email protected]
v0.6.4
🚀 Enhancements
- Support manual script deduping (#148)
🩹 Fixes
- tpc: Custom feature detection flags (#113)
- Allow
use
with npm scripts (dfec3b4) - Support explicit
scriptInput.src
override (be2389f) - Safer top level await checks (#149)
- Prefer module build-time tpc (#153)
💅 Refactors
- tpc: Write only declaration files (#151)
❤️ Contributors
- Harlan (@harlan-zw)
- Harlan Wilton (@harlan-zw)
- Julien Huang (@huang-julien)
v0.6.3
🩹 Fixes
- tpc: Annotate return type of tpc composables (#141)
- tpc: Directly push tpc composables into registry (#139)
- tpc: Use mlly to resolve third-party-capital (#138)
❤️ Contributors
- Harlan (@harlan-zw)
- Julien Huang (@huang-julien)