Nuxt Api Party Versions Save

🐬 Securely connect to any API with a server proxy and generated composables

v2.0.0

1 month ago

   🚨 Breaking Changes

   ℹ️ Migration

[!TIP] Breaking changes are limited to using typed OpenAPI clients. If you don't require typed clients in your Nuxt application, you can skip this migration section.

With Nuxt API Party v2, the OpenAPI support has been refactored to conform to the upcoming version of the openapi-types package (v7). This change introduces a few breaking changes to the API Party OpenAPI client:

  • Dropped support for OpenAPI 2.0 (Swagger).
  • Previously, you could omit the leading slash in the API path. This is no longer possible. You must now include the leading slash in the path, just like in the OpenAPI specification.
  • The pathParams fetch option has been renamed to path to better align with the OpenAPI specification and allow for more flexibility in the future.
const { data } = await usePetStoreData(
-  'user/{username}',
+  '/user/{username}', 
  {
-    pathParams: { username: 'user1' }, 
+    path: { username: 'user1' }, 
  }
)
    View changes on GitHub

v1.1.2

1 month ago

   🏎 Performance

  • Use globalThis for atob and btoa methods  -  by @johannschopplich (64ebd)
    View changes on GitHub

v1.1.1

1 month ago

No significant changes

    View changes on GitHub

v1.1.0

2 months ago

   🐞 Bug Fixes

   🏎 Performance

  • Use import.meta.server over process.server  -  by @johannschopplich (d62cc)
    View changes on GitHub

v1.0.1

3 months ago

   🐞 Bug Fixes

  • Default async data fallback type  -  by @johannschopplich (03d04)
    View changes on GitHub

v1.0.0

4 months ago

No significant changes

    View changes on GitHub

v0.23.0

4 months ago

   🚨 Breaking Changes

  • Throw NuxtError for async data composables  -  by @johannschopplich (7576c)

   🚀 Features

    View changes on GitHub

v0.22.3

4 months ago

   🐞 Bug Fixes

    View changes on GitHub

v0.22.2

5 months ago

   🐞 Bug Fixes

  • Error message if no endpoints are set  -  by @johannschopplich (bac9e)
    View changes on GitHub

v0.22.1

5 months ago

No significant changes

    View changes on GitHub