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.2 #1918

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2024

Bumps mwn from 1.11.5 to 2.0.2.

Release notes

Sourced from mwn's releases.

2.0.2

No release notes provided.

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.

Only breaking changes, deprecations and the like are documented in this change log.

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
  • 2437b38 workflows: split CodeQL, upgrade action packages
  • 9f91bd8 update tough-cookie, types-mediawiki
  • e3500dc minor documentation updates
  • 3f138c1 pageviews: fix test
  • c3f7bf7 batchOperation: fix for worklist having 0 entries
  • bf70db2 fix test broken due to MW parser change
  • c5d176d use full API url in login message
  • 2b26fc3 add test for bot.read() with empty array, add some TODOs
  • 5388018 Fix edit transform return type (#66)
  • f37a887 fix ORES querying, and mark it as deprecated
  • 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file, likely through dependabot label Jan 1, 2024
@NovemLinguae
Copy link
Member

@dependabot rebase

Bumps [mwn](https://github.com/siddharthvp/mwn) from 1.11.5 to 2.0.2.
- [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.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mwn-2.0.2 branch from 8d63551 to c171f53 Compare January 22, 2024 21:30
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 6, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mwn-2.0.2 branch September 6, 2024 03:18
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, likely through dependabot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant