Releases: Norbiros/nuxt-open-fetch
v0.13.1
v0.13.0
🚨 Highlights
New nuxt-open-fetch
docs are available at nuxt-open-fetch.norbiros.dev.
Thanks to @Eschricht, there is a new system for customizing your fetch calls - Nuxt Hooks. This is the recommended way to implement custom and not very complex modifications like adding auth headers, logging errors, showing toasts, etc.
Plugins are and will be still available, so there are no breaking changes in this release.
🚀 Enhancements
-
Do not require type stubs on install (7622068)
-
Add contributors to
package.json
(3dfb1a8) -
Add Nuxt runtime hooks for fetch client hooks (9bb2cde)
-
ci: Add CI configuration for linting and testing (cc3e587)
-
Watch schemas directory in development mode (f88f2fb)
-
Add major release script to package.json (840ac40)
🩹 Fixes
-
docs: Add missing
better-sqlite3
(ecddddf) -
docs: Update link to Nuxt hooks in custom client documentation (155255a)
-
ci: Temporary disable
test
checks (368ace8) -
Resolve a lot of TypeScript issues (9388a9c)
-
Add TypeScript type checking to the
release
script (69fc9f4)
🏡 Chore
-
docs: Update to Nuxt UI & Nuxt Content
v3
(77b6599) -
Update dependencies + Nuxt v4 (8a6e11b)
-
Run formatter (9658c46)
❤️ Contributors
-
Norbiros (@Norbiros)
-
Johannes Eschricht (@Eschricht)
v0.12.2
v0.12.1
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
openapi
directory (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-x
in 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
packageManager
to 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 [email protected]
- Enkot (@enkot)
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
🩹 Fixes
- Tsconfig paths (cd0fe57)
📖 Documentation
- Fixed and simplified custom client example (797c374)
❤️ Contributors
- Adam DeHaven [email protected]
- Enkot (@enkot)