#1833 MathLive 0.87.0 dropped support for UMD. It turns out, there are
some use cases that still require it, sadly. This release should restore the
UMD support.
As background for this, there are many ways to package a JavaScript library
so it can be used in different contexts. The modern packaging supported by
both the browsers and Node ecosystem is the JavaScript module. Files in the
/dist directory with a .mjs extension are packaged as modules and can be
used with a JavaScript import statement or a <script type=module> tag.
The files with a .js extension are packaged to be used with a regular
<script> tag (no type=module). This format is called IIFE and declares a
MathLive global variable from which the MathLive API can be accessed.
Another convention was in use before the universal support for JavaScript
modules, which used a require() API. This was implemented in Node, but
also supported by some toolchains, such as WebPack. Unfortunately, some of
those older toolchains are still in use and difficult to move away from. In
order to support require() the library needs to be packaged using the UMD
format. The UMD format is not supported by modern bundling tools, such as
esbuild, which is what MathLive uses since 0.87.0. In this release, the
support for UMD is re-introduced by implementing it manually in MathLive,
rather than relying on the bundler.
0.89.0 (2023-02-12)
Improvements
#1150 Deleting the empty numerator or denominator of a fraction now
behaves more intuitively. The behavior now matches the Desmos graphing
calculator.
#1806 Support for speaking matrices and other LaTeX environments.
Contribution from @androettop. Thanks, Pablo!
Bug Fixes
#1802 MathML markup for expressions like a(b)^2 was invalid.
0.87.1 (2023-01-26)
Improvements
Better MathML serialization of \operatorname{} and \mathrm{}
Bug Fixes
#1772 Typing / after f(x) will now consider f(x) as the numerator,
instead of (x)
#1797 The result type of makeSharedVirtualKeyboard() was incorrectly
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 mathlive from 0.79.0 to 0.89.2.
Changelog
Sourced from mathlive's changelog.
... (truncated)
Commits
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)