Skip to content

Releases: Norbiros/nuxt-open-fetch

v0.12.2

19 Jun 09:39
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Correct module build process (once again) (a11f21f)

🏡 Chore

❤️ Contributors

v0.12.1

18 Jun 18:15
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Resolve multiple bugs in auto key generation (#97)
  • playground: Rewrite playground code (3abd499)

❤️ Contributors

v0.12.0

07 Jun 20:31
Compare
Choose a tag to compare

compare changes

🎉 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

❤️ Contributors

v0.9.5

01 Nov 00:24
Compare
Choose a tag to compare

compare changes

💅 Refactors

  • Remove redundant "defu" merge (3e9e8c9)

📖 Documentation

  • Impoved configuration docs (4d8d7de)
  • Fixes configuration docs (66524df)

🏡 Chore

❤️ Contributors

v0.9.4

31 Oct 22:29
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Ref type for query params (a0c7d71)

📖 Documentation

  • Added "Type helpers" section (5e0f815)

🏡 Chore

❤️ Contributors

v0.9.3

31 Oct 18:17
Compare
Choose a tag to compare

compare changes

🩹 Fixes

❤️ Contributors

v0.9.2

07 Sep 16:06
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • docs: $[client] usage example inside Nitro handler (546f656)
  • github: Added bug and feature requests (6c7182a)
  • Expose request and response types (bd8bd43)

🩹 Fixes

  • docs: Custom Nitro client example (0d73421)
  • docs: Improved custom client docs (b9a48d3)

❤️ Contributors

v0.9.1

21 Jun 20:08
Compare
Choose a tag to compare

compare changes

🩹 Fixes

📖 Documentation

  • Fixed and simplified custom client example (797c374)

❤️ Contributors

v0.9.0

18 Jun 19:06
Compare
Choose a tag to compare

compare changes

🩹 Fixes

🚨 This is likely to need code changes in your project 🚨

If you use custom plugins for NuxtOpenFetch, please check the https://nuxt-open-fetch.vercel.app/advanced/custom-client docs.

📖 Documentation

🏡 Chore

❤️ Contributors

v0.8.0

28 Apr 22:22
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

🩹 Fixes

  • Use TS file for openAPI TS files (4df36bb)
  • Use alias for schemas (b9cc181)
  • Mark "pathe" as external dep (96a5122)

💅 Refactors

  • Rename to open-fetch-schemas (6f68599)
  • Simplified merging layers logic (41a5631)

❤️ Contributors