Releases: nuxt/bridge
v3.4.0
👉 Changelog
🚀 Enhancements
- Add
open
option innavigateTo
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
indefineNuxtComponent
(#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
❤️ Contributors
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)
v3.3.1
v3.3.0
👉 Changelog
🚀 Enhancements
- Port
clear
andclearNuxtData
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
useRuntimeConfig
composables (#1230)
✅ Tests
- Refactor page-meta test (#1224)
🤖 CI
- Add release workflow (#1225)
- Do not cache playwright binaries (23d9bd7)
- Remove caching for playwright (e9a923a)
❤️ Contributors
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)
v3.2.1
👉 Changelog
🩹 Fixes
- Port additional fixes/changes in upstream
navigateTo
(#1197) - Expose
defineAsyncComponent
/proxyRefs
from legacy runtime (#1205)
🏡 Chore
- Update renovate config (#1199)
❤️ Contributors
- Ryota Watanabe (@wattanx)
- gangan (@shinGangan)
v3.2.0
👉 Changelog
🚀 Enhancements
- Pass nuxt instance to
getCachedData
(#1156) - Port upstream
useLazyFetch
(#1137) - Add option not to use
@vitejs/plugin-legacy
(#1164) - Support async
transform
inuseAsyncData
(#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
andfrom
inbeforeEach
(#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
- Ryota Watanabe (@wattanx)
- Danila Rodichkin (@daniluk4000)
- Daniel Roe (@danielroe)
v3.1.0
👉 Changelog
🚀 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 includeundefined
(#1089) - Prevent duplicate manifest generation (#1070)
- Support
script setup
andscript
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
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)
v3.0.0
👀 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
🚀 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
- Ryota Watanabe (@wattanx)
- Daniel Roe (@danielroe)
- Andrey Yolkin (@AndreyYolkin)
- Bobbie Goede (@BobbieGoede)
- Kon Karin (@konkarin)
v3.0.0-rc.4
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
🚀 Enhancements
imports:context
hook for unimport context (#983)⚠️ Port upstreamuseLazyAsyncData
(#975)⚠️ Port upstreamuseCookie
(#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 whenmeta: false
(#976)
💅 Refactors
- Relocate group of functions for clarity (#965)
📦 Build
- Import version from
@nuxt/bridge
not workspace root (2e0b043)
🤖 CI
- Bump to node 18 in ci (086bff3)
⚠️ Breaking Changes
❤️ Contributors
- Ryota Watanabe (@wattanx)
- Daniel Roe (@danielroe)
v3.0.0-rc.3
👉 Changelog
🩹 Fixes
- Avoid using shared global state for head (#916)
- Allow use with script tag (#956)
- Proper
runtimeConfig
andpublicRuntimeConfig
declaration (#950)
❤️ Contributors
- Andrey Yolkin (@AndreyYolkin)
- Ryota Watanabe (@wattanx)