nuxt-api-party

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

MIT License

Downloads
5.2K
Stars
249
Committers
5

Bot releases are visible (Hide)

nuxt-api-party - v2.0.9

Published by github-actions[bot] about 2 months ago

   🚀 Features

  • Upgrade openapi-typescript-helpers  -  by @johannschopplich (fb620)
    View changes on GitHub
nuxt-api-party - v2.0.8 Latest Release

Published by github-actions[bot] 3 months ago

   🚀 Features

  • Upgrade openapi-typescript-helpers  -  by @johannschopplich (3d95a)

   🐞 Bug Fixes

  • Prerendering with Nuxt in v4 compat mode  -  by @johannschopplich (1c193)
    View changes on GitHub
nuxt-api-party - v2.0.7

Published by github-actions[bot] 4 months ago

   🐞 Bug Fixes

  • Pin openapi-typescript-helpers  -  by @johannschopplich (5c5e4)
    View changes on GitHub
nuxt-api-party - v2.0.6

Published by github-actions[bot] 4 months ago

No significant changes

    View changes on GitHub
nuxt-api-party - v2.0.5

Published by github-actions[bot] 5 months ago

No significant changes

    View changes on GitHub
nuxt-api-party - v2.0.4

Published by github-actions[bot] 5 months ago

No significant changes

    View changes on GitHub
nuxt-api-party - v2.0.3

Published by github-actions[bot] 5 months ago

   🚀 Features

  • Export OpenAPI TypeScript helper types  -  by @johannschopplich (4cb4a)

   🐞 Bug Fixes

  • Augment runtime config types  -  by @johannschopplich (d7783)
    View changes on GitHub
nuxt-api-party - v2.0.2

Published by github-actions[bot] 5 months ago

   🐞 Bug Fixes

  • Interop default export  -  by @johannschopplich (f9098)
    View changes on GitHub
nuxt-api-party - v2.0.1

Published by github-actions[bot] 5 months ago

   🐞 Bug Fixes

    View changes on GitHub
nuxt-api-party - v2.0.0

Published by github-actions[bot] 6 months 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
nuxt-api-party - v1.1.2

Published by github-actions[bot] 7 months ago

   🏎 Performance

  • Use globalThis for atob and btoa methods  -  by @johannschopplich (64ebd)
    View changes on GitHub
nuxt-api-party - v1.1.1

Published by github-actions[bot] 7 months ago

No significant changes

    View changes on GitHub
nuxt-api-party - v1.1.0

Published by github-actions[bot] 7 months ago

   🐞 Bug Fixes

   🏎 Performance

  • Use import.meta.server over process.server  -  by @johannschopplich (d62cc)
    View changes on GitHub
nuxt-api-party - v1.0.1

Published by github-actions[bot] 9 months ago

   🐞 Bug Fixes

  • Default async data fallback type  -  by @johannschopplich (03d04)
    View changes on GitHub
nuxt-api-party - v1.0.0

Published by github-actions[bot] 10 months ago

No significant changes

    View changes on GitHub
nuxt-api-party - v0.23.0

Published by github-actions[bot] 10 months ago

   🚨 Breaking Changes

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

   🚀 Features

    View changes on GitHub
nuxt-api-party - v0.22.3

Published by github-actions[bot] 10 months ago

   🐞 Bug Fixes

    View changes on GitHub
nuxt-api-party - v0.22.2

Published by github-actions[bot] 11 months ago

   🐞 Bug Fixes

  • Error message if no endpoints are set  -  by @johannschopplich (bac9e)
    View changes on GitHub
nuxt-api-party - v0.22.1

Published by github-actions[bot] 11 months ago

No significant changes

    View changes on GitHub
nuxt-api-party - v0.22.0

Published by github-actions[bot] 11 months ago

   🐞 Bug Fixes

  • server:
    • Limit which options can be passed to ofetch  -  by @johannschopplich (8c26a)
    • Block bypassing absolute URL with leading whitespace  -  by @johannschopplich (72762)
    View changes on GitHub
Package Rankings
Top 4.85% on Npmjs.org
Badges
Extracted from project README
Nuxt API Party module