2.3.2

Releases

v2.3.2

๐Ÿ‘ทโ€โ™‚๏ธ Build

  • deps: fix ufo import (03f3a5d), closes #181 thanks @flavienrako

Full Changelog

https://github.com/Stun3R/strapi-sdk-js/compare/v2.3.1...v2.3.2

v2.3.1

๐Ÿ‘ทโ€โ™‚๏ธ Build

  • update the build target to support webpack based frameworks (e8c10ef), closes #179

Full Changelog

https://github.com/Stun3R/strapi-sdk-js/compare/v2.3.0...v2.3.1

v2.3.0

๐Ÿ› Bug Fixes

  • add options prefix to getProviderAuthenticationUrl 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 to rollup 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 into axios 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 for node.js, we decided to remove process.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

  • params: change type to accept object for populate (bfa835c), closes #108

๐Ÿ“šDocs

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 now locale

๐Ÿ’ฅ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)

v1.0.0

๐Ÿš€ Features

  • user: add user object, getter, setter & fetch methods (e18089a)
  • auth: add auth & token methods (a554ee9)
  • core: add crud methods, typescript support & graphql method (cbe3b47)