Skip to content

Bump mathjax from 2.7.9 to 4.1.1#1

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mathjax-4.1.1
Open

Bump mathjax from 2.7.9 to 4.1.1#1
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mathjax-4.1.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 6, 2026

Bumps mathjax from 2.7.9 to 4.1.1.

Release notes

Sourced from mathjax's releases.

MathJax v4.1.1

This is mainly a bug fix release that resolves a number of issues from v4.1.0. The key fixes include:

  • Fixed CS for positioning dialogs so that they appear at the proper location in a scrolled window, and so that page doesn't scroll to the top.
  • A new ui/no-dark-mode extension has been added to disable MathJax's dark-mode color scheme for those pages that don't implement a dark-mode color set.
  • Handling of clicks in form elements embedded within an expression are now better handled by the expression explorer, and tabbing will include embedded form elements.
  • The expression explorer now passes mouse clicks and other events on to the surrounding parent tags, so that math within a <button> element, for example, will allow the button to receive the click event when you click on the math.
  • A number of speech improvements have been made, including better handling of phantom elements, better speech for over/under constructions, and better handling of the speech for tables.
  • Speech is now properly added to inline elements in SVG output when automatic in-line line-breaks are allowed.

See the v4.1.1 release notes for additional details.

MathJax v4.1.0

This release adds a number of new or improved features to MathJax, and fixes several issues in version 4.0.0. These are described in detail in the MathJax v4.1.0 release notes, but among the more important are:

  • Changes to make v4.1 more compatible with older browsers (v4.0 used modern CSS and javascript functions that are not available in some older browsers).
  • Support for a dark-mode color scheme.
  • Movable and sizable dialog boxes (both via the mouse and by keyboard arrow keys).
  • Ability to tab to hyperlinks within typeset expressions.
  • More accurate highlighting of some expressions during exploration.
  • Better handling of tactile Braille output devices in Windows.
  • Better handling of speech for tables and tagged expressions.
  • Better voicing of European-style open interval notation.
  • Fixed arrows in mhchem that were swapped accidentally.
  • More reliable data-latex attributes for TeX output.
  • Better positioning of some accents (e.g., the vector arrow) in Safari and other WebKit-based browsers in CHTML output.
  • Several new configuration options, e.g., to make font loading easier.
  • Improvements to the build system to allow MathJax to be built in Windows power shell.

MathJax v4.0.0

This is the long-awaited 4.0.0 release of MathJax, which has been several years in the making. Among the many new features in this release are:

  • Extended font support (11 new fonts)
  • A new default font with much greater character coverage.
  • Line-breaking support (for in-line as well as displayed equations)
  • An updated expression explorer that is now on by default.
  • Separation of speech generation into a webworker thread for better performance.
  • Support for HTML embedded in TeX and MathML expressions.
  • Availability as ES6 modules as well as CommonJS modules.
  • New TeX extensions, including the begingroup extension from v2 (with more features), and several font-related extensions.
  • Inclusion of the textmacros extension in all combined component files.
  • Updated mathtools package to include the changes from 2022 and 2024.
  • Improvements in the baseline alignment of text in CHTML output in WebKit-based browsers.
  • Improved stretchy delimiters in CHTML output.
  • More promise-based conversion and typesetting calls at the document level.

For many sites, the only change that will be needed to use v4 is to change the URL where you load MathJax to refer to version 4 rather than version 3, and to remove the /es5 directory from the URL. Most v3 configurations should still work with v4; but if you use the startup.ready() function to modify MathJax or create new TeX extensions, there may be some adjustments needed. One important change of note is that, since the number of TeX packages has grown, the all-packages extension and the "-full" components have been removed, so if you are using those, you will need to change to a component without the "-full" and either rely on the autoload extension to load the needed packages, or load them explicitly.

The MathJax documentation has been substantially updated for version 4, and now includes the missing or limited sections on using MathJax in node, including many examples and details. See the What's New in V4.0 section (more than 50 pages long) for much more information about the features described above, and in particular, check the Breaking Changes section for any changes that may affect your usage.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for mathjax since your current version.


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 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 [mathjax](https://github.com/mathjax/MathJax) from 2.7.9 to 4.1.1.
- [Release notes](https://github.com/mathjax/MathJax/releases)
- [Commits](mathjax/MathJax@2.7.9...4.1.1)

---
updated-dependencies:
- dependency-name: mathjax
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 6, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 6, 2026

Deploy Preview for fuyukawa ready!

Name Link
🔨 Latest commit 39ba1e6
🔍 Latest deploy log https://app.netlify.com/projects/fuyukawa/deploys/69aaca69cc739b00080ea631
😎 Deploy Preview https://deploy-preview-1--fuyukawa.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants