Releases
v2.3.2
๐ทโโ๏ธ Build
Full Changelog
https://github.com/Stun3R/strapi-sdk-js/compare/v2.3.1...v2.3.2
v2.3.1
๐ทโโ๏ธ Build
Full Changelog
https://github.com/Stun3R/strapi-sdk-js/compare/v2.3.0...v2.3.1
v2.3.0
๐ Bug Fixes
- add options
prefix
togetProviderAuthenticationUrl
method (3b90446), closes #140 - remove URL constructor to allow relative URL (e6b9022), closes #145
๐ Features
- add
change-password
request added in strapi v.4.3.3 (7c2242a) @AnnikenYT
๐ทโโ๏ธ Build
- switch from
siroc
torollup
since siroc is no longer maintained (76d798c)
๐ก Chore
- deps: update dependency
axios
to ^0.27.0 (4dcbe9b) - deps: update dependency
defu
to v5.0.1 (f3c86e2) - deps: update dependency
js-cookie
to v3.0.5 (844af89) - deps: update dependency
qs
to v6.11.2 (080f39c)
Full Changelog
https://github.com/Stun3R/strapi-sdk-js/compare/v2.2.0...v2.3.0
v2.2.0
โป๏ธ Refactor
- user: remove user's property
setter
&getter
for better readability &setUser
method. #130 - token: remove
syncToken
and replace it via axios interceptors. JWT Token should be added into intoaxios
headers at every request now. #131
v2.1.5
๐ทโโ๏ธ Build
- Seems to have some issue as some project doesn't recognise ES module so I removed es.js & replace it by .mjs (16106d8)
v2.1.4
๐ฅBREAKING CHANGES
- Since
process
usage is mainly fornode.js
, we decided to removeprocess.env.STRAPI_URL
usage from default options in order to make this SDK compatible with way more Framework & Tools (aaa162d)
v2.1.3
๐ Bug Fixes
- deps: pin dependencies (2e6e5a9)
- deps: update dependency @nuxt/content-theme-docs to v0.11.1 (1541e39)
- deps: update dependency axios to ^0.24.0 (4e2a41d)
v2.1.2
๐ Bug Fixes
๐Docs
- add integrations (439b292)
v2.1.1
๐ Docs
- update link to follow v4 latest changes
v2.0.0-beta.2
๐ Features
- chore: Support of Strapi v4 #76
- request: v4 error handling support (4d0eb3f)
- types: handling new types based on Strapi v4 (
StrapiError
,StrapiLocale
,StrapiResponse
,StrapiRequestParams
...)
โป๏ธ Refactor
- params:
_locale
query param is nowlocale
๐ฅBREAKING CHANGES
- SDK supports Strapi v4. Every CRUD methods response changed & more. Please refer to documentation
- GraphQL is no longer supported since v1.1.0
v1.1.0
๐ Bug Fixes
- request: use AxiosError type on error (1140bbb)
- deps: update dependency @types/js-cookie to v3 (88483aa)
- deps: update dependency axios to ^0.23.0 (854e84e)
โป๏ธ Code Refactoring
- methods: drop of graphql support (eebd7a3)
๐ฅ BREAKING CHANGES
- GraphQL is no longer supported in v1.1.0
v1.0.2
๐ Bug Fixes
- deps: update dependency js-cookie to v3 (54be993)
v1.0.1
๐ Bug Fixes
- npm: dist folder is missing when installing package (8629d3d) @lhillebrandt
- dist: change path in order to take dist inside npm package (b494a35)
- package.json: remove trailing slash from dist folder in files (7d3000c)