
strapi
Go to documentationDesign APIs fast and manage content easily using REST or GraphQL.
v1.9.2 by
benjamincanac
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.9.1...v1.9.2
v1.9.1 by
benjamincanac
What's Changed
- chore(deps): update all non-major dependencies by @renovate in nuxt-modules/strapi#330
- chore(deps): update actions/setup-node action to v3 by @renovate in nuxt-modules/strapi#231
- chore(deps): update actions/cache action to v3 by @renovate in nuxt-modules/strapi#238
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.9.0...v1.9.1
v1.9.0 by
benjamincanac
What's Changed
- chore(auth): allow user refetch by @jiblett1000 in nuxt-modules/strapi#324
- feat: add option to add Strapi admin in Nuxt Devtools by @Atinux in nuxt-modules/strapi#323
- docs: deprecated usage of
useStrapi4
+ missing old tailwind classes by @jiblett1000 in nuxt-modules/strapi#327
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.8.1...v1.9.0
v1.8.0 by
benjamincanac
What's Changed
- feat: module config to pick user fields by @ChristopheCVB in nuxt-modules/strapi#314
- useNuxtApp variable name consistency by @jiblett1000 in nuxt-modules/strapi#317
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.7.1...v1.8.0
v1.7.1 by
benjamincanac
What's Changed
- fix(useStrapi): handle single types by @benjamincanac in nuxt-modules/strapi#310
- feat(useStrapiAuth): add
changePassword
method by @benjamincanac in nuxt-modules/strapi@00b7915
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.7.0...v1.7.1
v1.7.0 by
benjamincanac
What's Changed
- feat(docs): upgrade to latest Docus by @Tahul in nuxt-modules/strapi#297
- docs: various improvements by @Atinux in nuxt-modules/strapi#306
- feat(composables): add
useStrapiMedia
by @oritwoen in nuxt-modules/strapi#298 - fix: useStrapiClient params stringify for v3 by @ChristopheCVB in nuxt-modules/strapi#300
New Contributors
- @Tahul made their first contribution in nuxt-modules/strapi#297
- @oritwoen made their first contribution in nuxt-modules/strapi#298
- @ChristopheCVB made their first contribution in nuxt-modules/strapi#300
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.6.3...v1.7.0
v1.6.0 by
benjamincanac
What's Changed
- chore(types): improve StrapiUser type by @kuizuo in nuxt-modules/strapi#280
- feat: add
useStrapi
composable with correct types by @harlan-zw in nuxt-modules/strapi#279
New Contributors
- @kuizuo made their first contribution in nuxt-modules/strapi#280
- @harlan-zw made their first contribution in nuxt-modules/strapi#279
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.5.1...v1.6.0
v1.5.1 by
benjamincanac
What's Changed
chore: upgrade nuxt to https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.9 in nuxt-modules/strapi@6767cf0
Full Changelog: https://github.com/nuxt-modules/strapi/compare/v1.5.0...v1.5.1
v1.5.0 by
benjamincanac
What's Changed
- feat(module): add
auth.populate
option forfetchUser
by @benjamincanac in #260 - fix(docs): renamed buildModules to modules by @Intevel in #263
- feat: make cookie name configurable by @Intevel in #265
New Contributors
- @smarroufin made their first contribution in #256
- @Intevel made their first contribution in #263
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.4.0...v1.5.0
v1.4.0 by
benjamincanac
What's Changed
- feat(module): support server-specific runtime configuration by @doseofted in #247
- feat(useStrapiGraphQL): support for imported graphql files by @doseofted in #249
- docs: migrate to latest docus by @benjamincanac in #252
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.3.2...v1.4.0
v1.3.2 by
benjamincanac
Bug Fixes
- module:
defu
default import after v6 upgrade (97dcc4e) - module: update runtime config override (#244) (b7adc16)
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.3.1...v1.3.2
v1.3.1 by
benjamincanac
What's Changed
- docs(advanced): update auth middleware by @larbish in #228
- fix: don't override vite config by @danielroe in #232
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.3.0...v1.3.1
v1.3.0 by
benjamincanac
What's Changed
- feat(types): custom payload properties for registration by @luke-z in #218
- fix(useStrapiAuth):
getProviderAuthenticationUrl
fails to concat with prefix by @benjamincanac in2f087f1
- fix(useStrapiClient): improve returned error by @larbish in #222
- fix(module): improve bridge compatibility by @benjamincanac in
70f73af
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.2.0...v1.3.0
v1.2.0 by
benjamincanac
What's Changed
- feat: add cookie config by @luke-z in #208
- fix: use strapi v4 format for query with
qs
by @larbish in #212 - refactor: split runtime types by @pi0 in #213
- chore: migrate to
@nuxt/module-builder
by @benjamincanac in #214
New Contributors
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.1.0...v1.2.0
v1.1.0 by
benjamincanac
What's Changed
- feat: add
useStrapiGraphQL
composable
Documentation
- Async data example https://strapi.nuxtjs.org/advanced#async-data
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v1.0.0...v1.1.0
v1.0.0 by
benjamincanac
What's Changed
- feat: migrate module to nuxt3 + support strapi v4 by @benjamincanac in #183
- feat: module improvements by @pi0 in #188
Old documentation for nuxt 2 module available at https://strapi-v0.nuxtjs.org/
Full Changelog: https://github.com/nuxt-community/strapi-module/compare/v0.3.4...v1.0.0
v0.3.0 by
Atinux
TypeScript
The module has been rewritten with TypeScript and using Siroc as bundler.
Session options
This PR also add a properties into the module to configure the session:
export default { strapi: { key: 'strapi_jwt', expires: 'session', cookie: {} }}
key
- Type:
String
- Default:
'strapi_jwt'
Key used for the cookie name as well as LocalStorage/SessionStorage key.
expires
- Type:
String
orNumber
or'session'
- Default: 'session'
When expires === 'session'
, the sessionStorage will be used to act like the cookie.
Otherwise, the value is a string, it will be parsed using ms, ex: expires: '7d'
A number can also be provided as milliseconds, ex: expires: 7 * 24 * 3600 * 1000
It would be possible also to configure during runtime the expiration, example:
if (form.rememberMe) { this.$strapi.options.expires = 31 * 24 * 3600 * 1000; // Only number is possible}await this.$strapi.login({ identifier: '...', password: '...' })
cookie
- Type:
Object
- Default:
{}
Options to forward to the cookie#options module, the expires
property will be overwritten.
Resolved #70
Misc
- The error returned by
$strapi
also include.original
to list the error code, resolves #89
Learn more at https://strapi.nuxtjs.org
v0.1.8 by
benjamincanac
🐛 Bug Fixes
#68 Prevent user fetch on server with target static
v0.1.7 by
benjamincanac
v0.1.6 by
benjamincanac
🚀 Features
- #37 Add
userUpdated
hook
v0.1.5 by
benjamincanac
🚀 Features
- #35 Handle Single Type entities
🐛 Bug Fixes
- #34 Reactivity of
$strapi.user
on client-side hydratation
v0.1.4 by
benjamincanac
🚀 Features
- #28 New method to make requests to GraphQL API
🐛 Bug Fixes
- #29 Authorization header not present in request object
v0.1.3 by
Atinux
🐛 Bug Fixes
- Avoid redefine property if exists (4ac979c)
v0.1.2 by
Atinux
🚀 Features
- Support Nuxt runtimeConfig so you can change your
process.env.STRAPI_URL
in production without having to runnuxt build
✨ (4442467)
v0.1.1 by
benjamincanac
🐛 Bug Fixes
fetchUser
now uses correct method
v0.1.0 by
benjamincanac
The official version is out ✨
Read more on https://strapi.nuxtjs.org