v0.12.0
🎉 Important information
For the past few months, nuxt-open-fetch was unmaintained. During that time, @Norbiros created a fork called nuxt-open-fetch-x with minor improvements. Now, both projects have been merged into nuxt-open-fetch, and the fork is no longer maintained.
⚠️ Breaking Change Notice
The openapi directory is now relative to rootDir instead of srcDir. With Nuxt 4, the app/ folder is the new source directory.
If you were using compatibilityVersion: 4, update your config like this:
api: {
baseURL: backendAddress,
- schema: '../openapi/api/openapi.json',
+ schema: 'openapi/api/openapi.json',
},Your directory structure should look like this:
app/
components/
app.config.ts
openapi/
nuxt.config.ts
This aligns with Nuxt 4 conventions.
🚀 Enhancements
- Rebrand to
nuxt-open-fetch-x(d63207e) - Added type helper for request path (#84)
- Update copyright years (f96ea95)
🩹 Fixes
- Prevent duplicated requests (#83)
- Manually generate keys to prevent double fetching (d4e4b2e)
- Add header parameters to headers (#80)
- Type helpers bug fixes (#89)
- Proper module builder configuration (f48d0cf)
- Key generation not taking path parameters into account (c96f2ca)
- Properly allow Nuxt
v4(951bc97) - Resolve schema dir from rootDir (8cc014b)
- docs: Update
openapidirectory (0229098)
📖 Documentation
🏡 Chore
- Update to Nuxt 3.15 (3fce4d7)
- Run
eslint(c3b3360) - release: V0.9.6 (87df9e4)
- release: V0.9.7 (47af5f6)
- Rebrand to
nuxt-open-fetch-xin more places (cbe8753) - Update to nuxt
3.16.1(a1eaf0a) - release: V0.10.0 (eacb1a1)
- Update dependencies (37360b6)
- release: V0.10.1 (d366fc9)
- release: V0.10.2 (1f68254)
- Allow Nuxt
v4(94fd7dc) - Update
packageManagerto pnpm10.11.1(f1bf6e5) - Update all project dependencies (a9458d3)
- release: V0.10.3 (efc8152)
- release: V0.10.4 (036e043)
- release: V0.11.0 (635424a)
- Revert rebranding to
nuxt-open-fetch(7aac0cf)
❤️ Contributors
- Norbiros (@Norbiros)
- Julien Huang (@huang-julien)
- Anthony Aslangul anthony.aslangul@gmail.com
- Enkot (@enkot)