From 54ee835810eedd833c8bc3b839931c0771f3fc7d Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Sun, 14 Feb 2021 22:32:12 +0530 Subject: [PATCH] Version 0.10 Version 1 is coming soon! --- CHANGELOG.md | 9 +++++++-- package-lock.json | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e03c25..5f1569b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ -Only breaking changes are documented in this change log. +Only breaking changes, deprecations and the like are documented in this change log. -### Breaking changes + +#### 0.10.0 +* `loginGetToken()` is now deprecated in favour of `login()` which will now fetch tokens as well. +* TypeScript source files are dropped from the npm package, per the standard practice followed in TypeScript libraries. This should not actually break anything. #### 0.9.0 +BREAKING CHANGES: * [mwn#rawRequest](https://tools-static.wmflabs.org/mwn/docs/classes/_bot_.mwn.html#rawrequest) now returns the `AxiosResponse` object directly, rather than the `data` part of `AxiosResponse`. * In cases of error, the shape of the error thrown by [mwn#request](https://tools-static.wmflabs.org/mwn/docs/classes/_bot_.mwn.html#request) is different. * Earlier: `error.response` was the API response data along with response and request objects, the former making it a cyclic object. @@ -10,4 +14,5 @@ Only breaking changes are documented in this change log. #### 0.8.0 +BREAKING CHANGES: * For imports in JavaScript, use `const {mwn} = require('mwn');` instead of `const mwn = require('mwn');` diff --git a/package-lock.json b/package-lock.json index a2c8426..22ded54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "mwn", - "version": "0.9.1", + "version": "0.10.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.9.1", + "version": "0.10.0", "license": "LGPL-3.0-or-later", "dependencies": { "@types/eventsource": "^1.1.4",