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

Bump twinkle-core from 3.0.7-beta to 3.1.2 #5

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 12, 2021

Bumps twinkle-core from 3.0.7-beta to 3.1.2.

Release notes

Sourced from twinkle-core's releases.

3.1.2

No release notes provided.

3.1.1

No release notes provided.

3.1.0

Please see the CHANGELOG for changes and to-dos while updating.

Changelog

Sourced from twinkle-core's changelog.

3.1.0

Breaking changes/deprecations:

Please apply a patch like this to your twinkle due to these changes:

  • mediawiki.storage is added as a new dependency. Edit your gadget definition and dev-loader.js file to include it.
  • loadAdditionalMediaWikiMessages() is deprecated. Instead of using it, set extra messages in Twinkle.extraMwMessages array, which would cause init() to fetch those too. That is, replace Twinkle.preModuleInitHooks = [ () => loadAdditionalMediaWikiMessages(mwMessageList) ]; with Twinkle.extraMwMessages = mwMessageList;. This change reduces the number of network requests needed to fetch all messages.

Notable improvements:

  • This version brings significant performance improvements in:
    • i18n messages fetched from Gerrit for non-English languages is now cached in the LocalStorage to avoid repeated, slow and mostly uncached requests to Gerrit on every page load.
    • The overall bundle size is greatly reduced due to tree-shaking. The config property to enable this was missing earlier.
    • The i18n library no longer bundles data like language fallbacks, plural rules and digit transforms for all languages. Rather these are now part of the i18n messages files and thus are retrieved only for the active language, without an additional network request.
Commits

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 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 [twinkle-core](https://github.com/wikimedia-gadgets/twinkle-core) from 3.0.7-beta to 3.1.2.
- [Release notes](https://github.com/wikimedia-gadgets/twinkle-core/releases)
- [Changelog](https://github.com/wikimedia-gadgets/twinkle-core/blob/master/CHANGELOG.md)
- [Commits](wikimedia-gadgets/twinkle-core@3.0.7-beta...3.1.2)

---
updated-dependencies:
- dependency-name: twinkle-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 12, 2021
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.

0 participants