Skip to content

Releases: johannschopplich/nuxt-api-party

v2.0.4

14 May 05:38
Compare
Choose a tag to compare

No significant changes

    View changes on GitHub

v2.0.3

14 May 05:33
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v2.0.2

13 May 10:10
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.1

13 May 10:01
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.0

18 Apr 06:10
Compare
Choose a tag to compare

   🚨 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

06 Apr 15:50
Compare
Choose a tag to compare

   🏎 Performance

    View changes on GitHub

v1.1.1

20 Mar 06:48
Compare
Choose a tag to compare

No significant changes

    View changes on GitHub

v1.1.0

18 Mar 16:51
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Remove extension from import sources  -  by @killjoy1221 in #67 (8c471)

   🏎 Performance

    View changes on GitHub

v1.0.1

07 Feb 09:27
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v1.0.0

07 Jan 15:38
Compare
Choose a tag to compare

No significant changes

    View changes on GitHub