Version history of spotify-api.js since v4.0.5.
--
- fix: properly reject the promise in client initialisation. #167
- fix: handle The access token expired api error and refresh token. #189 #190
- feat: add a parameter to getPlaylists to fetch all playlists at once. #168
Released: 11th November 2022
Status: Recommended to use
Released: 31st July 2022
Status: Recommended to use
- fix: fix several playlist create/edit API by using request body.
Released: 14th July 2022
Status: Recommended to use
- fix(refreshToken): fix refresh token regeneration using only
refreshToken
field. #83
Released: 31st May 2022
Status: Recommended to use
- fix(refreshToken): fix [Client.refreshFromMeta] error. #83
Released: 10th May 2022
Status: Recommended to use
- feat(options): allow to input access token with refresh options in
token
field ofClientOptions
.
Example:
const client = await Client.create({
userAuthorizedToken: true,
refreshToken: true,
token: {
token: "access token here",
// other details required to refresh the token...
clientID: "client id",
clientSecret: "client secret",
redirectURL: "redirect url here",
},
});
Released: 9th May 2022
Status: Recommended to use
- fix(struct): fix undefined error while creating [CurrentlyPlaying] struct. #107.
- feat(struct): [CurrentlyPlaying.context] may be null.
Released: 31st December 2021
Status: Recommended to use
- fix(clientCreate): made [Client.create] function a public static function #102
Released: 26th December 2021
Status: Good for use.
- fix(refreshToken): fixed a security vulnerability on exposing the credentials in
Client.refreshMeta
(Especially for browser clients). #68.
Released: 2nd September 2021
Status: Good for use.
- feat(compaitability): added compaitability for web and deno.
- feat(recommendations): added
Get Recommendations
api #58. - fix(errors): made a better error handler to manage 429 requests and retry on rate limit.
- perf(refreshToken): auto updaing refresh token feature by handelling 401 requests.
- perf(cache): made cache global for all clients and used
Map
instead of custom instances. - refactor(getters): used readonly properties instead of using getters.
- refactor(options): changed client options structure so that they can even enter clientID and clientSecret.
- refactor(structures): made structures lightweight and removed client functions from it.
- docs(*): rewrote all the docs and used typedoc with custom theme.
Released: 26th August 2021
Status: Good for use. (Has a security vulnerablity for browser client)
Root PR: #56
- fix(body): fixed json body for
PlaylistManager.removeItems
method. #38.
Released: 22nd July 2021
Status: Good for use.
- fix(refreshToken): fixed
refreshToken
field inAuthManager
methods. #32. - fix(playlist): fixed
PlaylistManager.create
from creating the playlist public always #35.
Released: 23rd June 2021
Status: Good for use.
- refactor(*): rewrote the whole package code. (reference).
Released: 24th March 2021
Status: Good for use.
- docs(*): rewrote docs.
- fix(typings): rewrote typings.
- feat(deprecate): deprecated unwanted functions.
Released: 18th February 2021
Status: Not recommended for use but can work.
- feat(cache): added flexible cache manager.
- fix(uri): fixed encoded uri errors #5.
- fix(bugs): v5 bug fixes.
- fix(security): axios security fix update.
Released: 28th January 2021
Status: Not recommended for use.
- feat(managers): added Browse, Episode, Search and Show methods to the client and default exports
- fix(contribution): updated
contributing.md
. - perf(libs): removed unwanted
Client.libs
property. - feat(user): added user and player api with
UserClient
andUserPlayer
class. - perf(token): no need of
Auth.build
to generate token, it can be built directly fromClient
constructor. - perf(options):
Auth.refresh
token parameter needs to be used in options in the name of codeoptions.code
.
Released: 6th November 2020
Status: Not good for use as it has major bugs.
- style(unwantedCode): removed unwanted code from
v4.0.5
. - feat(exports): exports library files directly.
- feat(options): "NO TOKEN" (default token option) which is no more required.
- Default export will be a object containing all exports rather than Client!
- docs(readme): Readme has es6 example.
- feat(contributingGuide): added
contributing.md
.
Released: 31st August 2020
Status: Not good for use.
- style(indents): changed code indents from 2 indents to 4 indents.
- docs(*): recreated documentation.
- fix(bugs): fixed major bugs.
Released: 30th August 2020
Status: Not good for use.