Skip to content

Releases: nuxt/bridge

v3.5.0

29 May 14:08
f9326ec
Compare
Choose a tag to compare

👉 Changelog

compare changes

🩹 Fixes

  • ⚠️ Remove resolve option (#1480)
  • deps: Update dependency ohash to v2 (#1470)
  • Migrate from unenv to mocked-exports (#1475)
  • bridge: Call build:manifest for vite builder (#1497)
  • Ensure error in useAsyncData has correct type (#1515)
  • Only mock source-map in production (5bbf3b6)
  • Transpile node-mock-http (3bace50)

📦 Build

  • Pull in types from @unhead/schema (134eb69)
  • deps: Bump vite from 6.2.3 to 6.2.4 (#1490)
  • deps: Bump vite from 6.2.4 to 6.2.5 (#1495)
  • deps: Bump vite from 6.2.5 to 6.2.6 (#1498)
  • deps: Bump vite from 6.2.6 to 6.2.7 (#1510)

🏡 Chore

  • Dedupe deps + lint project (0f68f1e)
  • Bump to latest unhead patch (a08d962)
  • Remove @types/node-fetch (stub) (120a97e)
  • Pin h3 to 1.14 and upgrade it separately (6d40450)
  • Lint (fceecd6)
  • config: Migrate renovate config (#1530)

🤖 CI

⚠️ Breaking Changes

  • ⚠️ Remove resolve option (#1480)

❤️ Contributors

v3.4.0

07 Jan 23:07
cad16fd
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • Add open option in navigateTo helper (#1257)
  • Support import.meta.* for vite (#1297)
  • Support import.meta.* for webpack (#1298)

🔥 Performance

  • Remove unused dependencies with knip (#1422)

🩹 Fixes

  • Flag async data promise as cancelled only if defined (#1252)
  • Add cookie-es to transpiles (#1283)
  • Support definePageMeta in defineNuxtComponent (#1288)
  • Fouc on dev ssr (#1308)
  • Use legacy property publicPath for the assets url. (#1303)
  • Correct return type of useRequestFetch (#1389)

🏡 Chore

  • Add execa to dev dependencies (7b257f7)
  • Use installed-check to confirm node version support (508515b)

🤖 CI

  • Nightly release with pkg.pr.new (#1299)
  • Rename + restrict pr release workflow (f5c608f)

❤️ Contributors

v3.3.1

14 Jun 10:11
d05d57a
Compare
Choose a tag to compare

👉 Changelog

compare changes

🩹 Fixes

  • Include toArray in runtime (#1240)

❤️ Contributors

v3.3.0

11 Jun 16:58
043f1c9
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • Port clear and clearNuxtData from upstream (#1212)

🩹 Fixes

  • Clear timeout when asyncData request finishes and aborts (#1220)
  • Skip node for which definePageMeta does not exist (#1223)
  • vite: Enable preventAssignment in rollup replace plugin (997e348)
  • vite: Don't set available port when hmr.server is set (569906c)
  • Match signature for nitro/nuxt useRuntimeConfigcomposables (#1230)

✅ Tests

  • Refactor page-meta test (#1224)

🤖 CI

  • Add release workflow (#1225)
  • Do not cache playwright binaries (23d9bd7)
  • Remove caching for playwright (e9a923a)

❤️ Contributors

v3.2.1

14 May 16:27
dd1c3e4
Compare
Choose a tag to compare

👉 Changelog

compare changes

🩹 Fixes

  • Port additional fixes/changes in upstream navigateTo (#1197)
  • Expose defineAsyncComponent/proxyRefs from legacy runtime (#1205)

🏡 Chore

  • Update renovate config (#1199)

❤️ Contributors

v3.2.0

22 Apr 21:40
07ef19e
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • Pass nuxt instance to getCachedData (#1156)
  • Port upstream useLazyFetch (#1137)
  • Add option not to use @vitejs/plugin-legacy (#1164)
  • Support async transform in useAsyncData (#1173)
  • Add opts param to useRequestURL (#1182)

🔥 Performance

  • Unsubscribe from watch when scope is disposed (#1172)
  • nuxt: Unsubscribe from asyncData watch when unmounting (#1185)

🩹 Fixes

  • Handle failure creating BroadcastChannel (#1155)
  • Watch custom cookieRef values deeply (#1162)
  • Use route and from in beforeEach (#1166)

📖 Documentation

  • Add deprecated to pending (#1184)

🏡 Chore

  • Remove base prepack script (aafa250)

✅ Tests

  • Unbreak test:fixtures:webpack (f0b2ea4)

🤖 CI

  • Enable browser option (#1141)

❤️ Contributors

v3.1.0

05 Mar 13:12
1c760de
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • Port upstream dedupe options (#1082)
  • Add useRequestURL to match upstream (#1110)
  • Add esbuild option for webpack + typescript (#1065)

🩹 Fixes

  • Change isTSX option to opt-in (#1064)
  • Resolve hookable to installed version (#1086)
  • Update return for useRequestEvent to include undefined (#1089)
  • Prevent duplicate manifest generation (#1070)
  • Support script setup and script together in webpack (#1104)
  • Ignore CallExpression other than defineComponent (#1109)
  • Early return from transform when no arguments (#1124)
  • Align error param in showError/createError with H3 (#1127)

🏡 Chore

  • Use workspace version of bridge-schema (#1068)
  • Add release script (cffcd07)
  • Mention contributors in release changelog/notes (977d55f)

❤️ Contributors

v3.0.0

12 Jan 14:21
72fdd5b
Compare
Choose a tag to compare

👀 Highlights

It gives us very great pleasure to announce the stable release of Nuxt Bridge, thanks to incredible work from the broader team and community.

Nuxt Bridge is a forward-compatibility layer that allows you to experience many of the new Nuxt 3 features by simply installing and enabling a Nuxt module. Its aim s to help reduce the differences with Nuxt 3 and reduce the burden of migration to Nuxt 3.

Using Nuxt Bridge, you can make sure your project is (almost) ready for Nuxt 3 and you can gradually proceed with the transition to Nuxt 3.

🌱 Note: If you're starting a fresh Nuxt project, please skip this module and directly go to the Nuxt 3 Installation.

📖 For more about how to migrate to Nuxt Bridge in a Nuxt 2 app, see the documentation.

👉 Changelog

compare changes

🚀 Enhancements

  • Support build:manifest hook for webpack (#1015)

🩹 Fixes

  • Typing legacy capi defineComponent (#994)
  • Polyfill event for useRequestEvent when nitro is disabled (#999)
  • Make errors returned by useLazyAsync reactive (#1004)
  • Type correction for loading, loadingIndicator, transpile (#1023)
  • Add compatibility with hable (#1025)
  • Allow passing options to vueApp.use (#1037)
  • Allow jsx/tsx with webpack (#1046)
  • Clone cookie to detect changes within object (#1044)
  • Inject head into template in spa renderer (#1052)

🤖 CI

  • Don't skip release based on body of commit (#996)
  • Add label option (#1009)
  • Allow notification of upstream changes (#1013)
  • Fix client_payload key (#1022)
  • Update changelog with non prerelease version 🙌 (#1043)
  • Rework test matrix (#912)

❤️ Contributors

v3.0.0-rc.4

30 Nov 10:43
14a9143
Compare
Choose a tag to compare
v3.0.0-rc.4 Pre-release
Pre-release

3.0.0-rc.4 is the next release candidate.

👀 Highlights

RC4 comes with some breaking changes to align with upstream Nuxt 3, particularly to useLazyAsyncData and useCookie.

We have also now updated to Vite 5, which might be a significant change for some Nuxt modules.

👉 Changelog

compare changes

🚀 Enhancements

  • imports:context hook for unimport context (#983)
  • ⚠️ Port upstream useLazyAsyncData (#975)
  • ⚠️ Port upstream useCookie (#988)

🔥 Performance

  • Use granular imports for auto-importing composables (#964)

🩹 Fixes

  • Handle null init in page meta plugin (#963)
  • Do not inject #head auto imports when meta: false (#976)

💅 Refactors

  • Relocate group of functions for clarity (#965)

📦 Build

  • Import version from @nuxt/bridge not workspace root (2e0b043)

🤖 CI

⚠️ Breaking Changes

  • ⚠️ Port upstream useLazyAsyncData (#975)
  • ⚠️ Port upstream useCookie (#988)

❤️ Contributors

v3.0.0-rc.3

07 Nov 16:53
Compare
Choose a tag to compare
v3.0.0-rc.3 Pre-release
Pre-release

👉 Changelog

compare changes

🩹 Fixes

  • Avoid using shared global state for head (#916)
  • Allow use with script tag (#956)
  • Proper runtimeConfig and publicRuntimeConfig declaration (#950)

❤️ Contributors