Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump mwn from 1.11.5 to 2.0.1 #299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2023

Bumps mwn from 1.11.5 to 2.0.1.

Release notes

Sourced from mwn's releases.

2.0.1

What's Changed

  • oresQueryRevisions() has been deprecated, since the ORES service is being deprecated in favour of Lift Wing. While it exists, the function has been fixed to take into account the new service limitation of not allowing >20 scores per request.

New Contributors

Full Changelog: siddharthvp/mwn@2.0.0...2.0.1

2.0.0

Breaking Changes

  • Class names now follow the standard PascalCase convention. The older names are deprecated.
    • mwn -> Mwn
      • The library should now be imported as import {Mwn} from 'mwn' instead of import {mwn} from 'mwn'
    • bot.title -> bot.Title (where bot is an instance of Mwn)
    • bot.page -> bot.Page
    • bot.category -> bot.Category
    • bot.file -> bot.File
    • bot.user -> bot.User
    • bot.wikitext -> bot.Wikitext
    • bot.date -> bot.Date
    • mwn.table -> Mwn.Table
  • Class for querying Wikimedia EventStreams have been removed. Consider using the dedicated library wikimedia-streams instead.
  • set* methods on MwnDate objects (eg. setUTCDate) used to be chainable as they returned this. Because MwnDate extends the native Date, the change in return values was not possible to represent in TypeScript types (Liskov substitution principle). This undocumented feature has now been removed for the sake of accurate types.
  • printYaml logging config option is no longer supported in Mwn.setLoggingConfig() method.
  • mwn#queryAuthors() which had been deprecated has now been removed. Instead, please use queryAuthors() method on page objects.

New Contributors

Full Changelog: siddharthvp/mwn@1.11.5...2.0.0

Changelog

Sourced from mwn's changelog.

2.0.1

  • oresQueryRevisions() has been deprecated, since the ORES service is being deprecated in favour of Lift Wing.

2.0.0

  • Class names now follow the standard PascalCase convention. The older names are deprecated.
    • mwn -> Mwn
      • The library should now be imported as import {Mwn} from 'mwn' instead of import {mwn} from 'mwn'
    • bot.title -> bot.Title (where bot is an instance of Mwn)
    • bot.page -> bot.Page
    • bot.category -> bot.Category
    • bot.file -> bot.File
    • bot.user -> bot.User
    • bot.wikitext -> bot.Wikitext
    • bot.date -> bot.Date
    • mwn.table -> Mwn.Table
  • Class for querying Wikimedia EventStreams have been removed. Consider using the dedicated library wikimedia-streams instead.
  • set* methods on MwnDate objects (eg. setUTCDate) used to be chainable as they returned this. Because MwnDate extends the native Date, the change in return values was not possible to represent in TypeScript types (Liskov substitution principle). This undocumented feature has now been removed for the sake of accurate types.
  • printYaml logging config option is no longer supported in Mwn.setLoggingConfig() method.
  • mwn#queryAuthors() which had been deprecated has now been removed. Instead, please use queryAuthors() method on page objects.

0.11.0

  • mwn#queryAuthors() now requires getSiteInfo() to have run first. Also, it is deprecated in favour of using the queryAuthors() method on a page object.

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 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 is different.
    • Earlier: error.response was the API response data along with response and request objects, the former making it a cyclic object.
    • Now: error.response is an object with fields {data, headers, status, statusText}

0.8.0

BREAKING CHANGES:

  • For imports in JavaScript, use const {mwn} = require('mwn'); instead of const mwn = require('mwn');
Commits
  • f37a887 fix ORES querying, and mark it as deprecated
  • b83b0ae Fix section content type (#64)
  • f768777 Fix section header type (#63)
  • 4442b4a CHANGELOG: fix typo
  • 3e936ea rename Mwn.table class to Mwn.Table
  • 8a99adc core: add test for network errors
  • f06ce4c log: drop undocumented printYaml config option
  • 311bcaf CHANGELOG: note removal of bot.stream()
  • 67262d7 core: avoid logging entire error object
  • 3c63fe4 log: fix handling of stringification in case of circular objects
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mwn](https://github.com/siddharthvp/mwn) from 1.11.5 to 2.0.1.
- [Release notes](https://github.com/siddharthvp/mwn/releases)
- [Changelog](https://github.com/siddharthvp/mwn/blob/master/CHANGELOG.md)
- [Commits](siddharthvp/mwn@1.11.5...2.0.1)

---
updated-dependencies:
- dependency-name: mwn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants