Commit Graph

2108 Commits

Author SHA1 Message Date
renovate[bot]
5bff4754a7 chore(deps): update dependency stylelint to v14.1.0 [skip netlify] (#3417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 23:45:24 +00:00
renovate[bot]
d755811ce5 chore(deps): update dependency webpack-dev-server to v4.5.0 [skip netlify] (#3416)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 16:15:45 +00:00
renovate[bot]
b2354e038a chore(deps): update dependency rollup to v2.60.0 [skip netlify] (#3415)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 15:12:54 +00:00
renovate[bot]
351a3b51c7 chore(deps): update dependency caniuse-lite to v1.0.30001280 [skip netlify] (#3414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 14:04:46 +00:00
renovate[bot]
e7ebd0a096 chore(deps): update dependency webpack to v5.64.0 [skip netlify] (#3413)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-14 18:40:41 +00:00
renovate[bot]
4563488136 chore(deps): update linters [skip netlify] (#3411)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-13 14:17:20 +00:00
renovate[bot]
5f19d57704 chore(deps): update dependency terser-webpack-plugin to v5.2.5 [skip netlify] (#3407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 20:21:02 +00:00
renovate[bot]
94ce849b63 chore(deps): update dependency cssnano to v5.0.10 [skip netlify] (#3406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 02:00:10 +00:00
renovate[bot]
0b0e43ca44 chore(deps): update dependency eslint to v8.2.0 [skip netlify] (#3405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 04:14:13 +00:00
renovate[bot]
96c8157d21 chore(deps): update dependency webpack to v5.62.1 [skip netlify] (#3404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:56:03 +00:00
renovate[bot]
f4ade18998 chore(deps): update dependency mini-css-extract-plugin to v2.4.4 [skip netlify] (#3403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-07 18:09:35 +00:00
renovate[bot]
0dd817b17e chore(deps): update dependency css-loader to v6.5.1 [skip netlify] (#3401)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-06 23:58:24 +00:00
renovate[bot]
8cb7cc0483 chore(deps): update dependency browserslist to v4.17.6 [skip netlify] (#3399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 21:05:51 +00:00
renovate[bot]
fb2fa0a8a3 chore(deps): update dependency netlify to v8.0.4 (#3398)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 18:28:48 +00:00
renovate[bot]
66947b8851 chore(deps): update dependency rollup to v2.59.0 [skip netlify] (#3396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 16:16:53 +00:00
renovate[bot]
959920fd36 chore(deps): update dependency cssnano to v5.0.9 [skip netlify] (#3397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 16:10:47 +00:00
renovate[bot]
3b893a1767 chore(deps): update dependency caniuse-lite to v1.0.30001274 [skip netlify] (#3394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 00:37:34 +00:00
renovate[bot]
a106175bb3 chore(deps): update semantic-release monorepo [skip netlify] (#3393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 12:21:06 +00:00
renovate[bot]
f982f210f3 chore(deps): update yarn to v3.1.0 [skip netlify] (#3390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 05:12:46 +00:00
renovate[bot]
1855bc18eb chore(deps): update babel monorepo to v7.16.0 [skip netlify] (#3389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 02:49:58 +00:00
KaTeX bot
f5622a4cc8 chore(release): 0.15.1 [ci skip]
## [0.15.1](https://github.com/KaTeX/KaTeX/compare/v0.15.0...v0.15.1) (2021-10-31)

### Features

* \nonumber/\notag support, \tag per row of {align} ([#2952](https://github.com/KaTeX/KaTeX/issues/2952)) ([52c4778](52c4778b15)), closes [#2950](https://github.com/KaTeX/KaTeX/issues/2950) [#2379](https://github.com/KaTeX/KaTeX/issues/2379)
2021-10-31 21:43:23 +00:00
Erik Demaine
52c4778b15 feat: \nonumber/\notag support, \tag per row of {align} (#2952)
* feat: \nonumber and \notag support

Support `\nonumber` (and equivalent `\notag`) using a global macro
`\@eqnsw` to track whether one occurs in each row, similar to how
amsmath uses global `\@eqnswtrue`/`\@eqnswfalse`.

Fix #2950

* Remove duplicate mention of align*

* Working version of \tag within {align}

* Simpler subparse mechanism

* Fix flow errors, clarifying set-to-undefined

* Document that \tag works in rows

* Add screenshot tests

* Add Jest tests

* Add Safari screenshot

* Commit message about fixing \tag

Fixes #2379

* Apply suggestions from code review

Co-authored-by: ylemkimon <y@ylem.kim>

* Revise and move getAutoTag

* Fix handling of split

* Remove unnecessary feedTokens

Co-authored-by: ylemkimon <y@ylem.kim>

Co-authored-by: ylemkimon <y@ylem.kim>
2021-11-01 06:40:06 +09:00
KaTeX bot
a59135fd77 chore(release): 0.15.0 [ci skip]
# [0.15.0](https://github.com/KaTeX/KaTeX/compare/v0.14.1...v0.15.0) (2021-10-31)

### Features

* implement \relax as no-op function ([#3384](https://github.com/KaTeX/KaTeX/issues/3384)) ([40109f6](40109f6248))

### BREAKING CHANGES

* `\relax` is now implemented as a function. It'll stop
expansions and parsing, so the behavior around `\relax` may change.
For example, `\kern2\relax em` will no longer work.
2021-10-31 03:49:32 +00:00
ylemkimon
40109f6248 feat: implement \relax as no-op function (#3384)
* feat: implement \relax as no-op function

BREAKING CHANGE: `\relax` is now implemented as a function. It'll stop
expansions and parsing, so the behavior around `\relax` may change.
For example, `\kern2\relax em` will no longer work.
2021-10-31 12:46:43 +09:00
renovate[bot]
a12b89968c chore(deps): update dependency webpack-dev-server to v4.4.0 [skip netlify] (#3382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-30 21:41:37 +00:00
KaTeX bot
b2ee023d80 chore(release): 0.14.1 [ci skip]
## [0.14.1](https://github.com/KaTeX/KaTeX/compare/v0.14.0...v0.14.1) (2021-10-30)

### Bug Fixes

* **Settings:** use schema ([#3375](https://github.com/KaTeX/KaTeX/issues/3375)) ([b58a432](b58a43212e))
2021-10-30 19:44:00 +00:00
ylemkimon
b58a43212e fix(Settings): use schema (#3375)
* refactor: don't repeat SettingsOptions

* fix(Settings): use schema
2021-10-31 04:41:00 +09:00
KaTeX bot
23b3950f7a chore(release): 0.14.0 [ci skip]
# [0.14.0](https://github.com/KaTeX/KaTeX/compare/v0.13.24...v0.14.0) (2021-10-30)

### Features

* conditionally export ECMAScript modules ([#3377](https://github.com/KaTeX/KaTeX/issues/3377)) ([15ee9b4](15ee9b4a5a))

### BREAKING CHANGES

* With module loaders that support conditional exports
and ECMAScript modules, `import katex from 'katex';` will import the
ECMAScript module.

You can now use:
|Before                                    |After                             |
|------------------------------------------|----------------------------------|
|`require('katex/dist/contrib/[name].js')` | `require('katex/contrib/[name]')`|
|`import katex from 'katex/dist/katex.mjs'`| `import katex from 'katex'`      |
|`import 'katex/dist/contrib/[name].mjs'`  | `import 'katex/contrib/[name]'`  |
2021-10-30 19:26:31 +00:00
ylemkimon
15ee9b4a5a feat: conditionally export ECMAScript modules (#3377)
* feat: conditionally export ECMAScript modules

BREAKING CHANGE: With module loaders that support conditional exports
and ECMAScript modules, `import katex from 'katex';` will import the
ECMAScript module.

You can now use:
|Before                                    |After                             |
|------------------------------------------|----------------------------------|
|`require('katex/dist/contrib/[name].js')` | `require('katex/contrib/[name]')`|
|`import katex from 'katex/dist/katex.mjs'`| `import katex from 'katex'`      |
|`import 'katex/dist/contrib/[name].mjs'`  | `import 'katex/contrib/[name]'`  |
2021-10-30 19:23:56 +00:00
KaTeX bot
a28b2f084b chore(release): 0.13.24 [ci skip]
## [0.13.24](https://github.com/KaTeX/KaTeX/compare/v0.13.23...v0.13.24) (2021-10-30)

### Bug Fixes

* round dimensions to 4 places ([#2460](https://github.com/KaTeX/KaTeX/issues/2460)) ([09ee1c8](09ee1c8867))
2021-10-30 18:31:58 +00:00
Ron Kok
09ee1c8867 fix: round dimensions to 4 places (#2460)
* Round distances to 4 places

* Revert numbers in mathMLTree.js

* Update Jest test

* fix: round dimension to 4 places via makeEm

* test: update screenshots

* docs: add link to this PR

Co-authored-by: ylemkimon <y@ylem.kim>
2021-10-31 03:28:45 +09:00
ylemkimon
f007358c0f chore: rename branch master to main (#3376)
* chore: rename branch master to main

* ci: update semantic-release config

* ci: run semantic release only on main
2021-10-31 01:32:44 +09:00
ylemkimon
c5ac4c7695 docs(package.json): add funding (#3378) 2021-10-30 16:13:10 +00:00
ylemkimon
2747260221 ci(fonts): remove fetch-depth: 0 (#3379) 2021-10-30 12:06:26 -04:00
renovate[bot]
9b7f10f7c9 chore(deps): update selenium/standalone-firefox docker tag to v20210929 [skip netlify] (#3294)
* chore(deps): update selenium/standalone-firefox docker tag to v20210929 [skip netlify]

* test: update screenshots

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ylemkimon <y@ylem.kim>
2021-10-30 16:52:35 +09:00
Erik Demaine
a3c79047da chore(lint): add import rule checks (#3199) 2021-10-30 07:33:05 +00:00
KaTeX bot
167f38dede chore(release): 0.13.23 [ci skip]
## [0.13.23](https://github.com/KaTeX/KaTeX/compare/v0.13.22...v0.13.23) (2021-10-30)

### Bug Fixes

* **fonts:** correct width of \cong glyph, fix \boldsymbol{\cong} ([#3206](https://github.com/KaTeX/KaTeX/issues/3206)) ([35db4ff](35db4ff403)), closes [#2199](https://github.com/KaTeX/KaTeX/issues/2199)
2021-10-30 07:16:14 +00:00
Erik Demaine
35db4ff403 fix(fonts): correct width of \cong glyph, fix \boldsymbol{\cong} (#3206)
* fix(fonts): correct width of \cong glyph

Fixes #2199

* Update metrics

* Update fonts

* Fix \boldsymbol{\cong}

* SetWidth instead of SetRBearing

* Update metrics

Co-authored-by: ylemkimon <y@ylem.kim>
2021-10-30 07:13:29 +00:00
KaTeX bot
005ca792b4 chore(release): 0.13.22 [ci skip]
## [0.13.22](https://github.com/KaTeX/KaTeX/compare/v0.13.21...v0.13.22) (2021-10-30)

### Bug Fixes

* **deps:** update dependency commander to v8 [skip netlify] ([#3374](https://github.com/KaTeX/KaTeX/issues/3374)) ([4df1922](4df1922ae9))
2021-10-30 00:21:25 +00:00
renovate[bot]
4df1922ae9 fix(deps): update dependency commander to v8 [skip netlify] (#3374)
* fix(deps): update dependency commander to v8 [skip netlify]

* fix: use commander.opts()

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ylemkimon <y@ylem.kim>
2021-10-30 09:17:02 +09:00
renovate[bot]
6f70a1f483 chore(deps): update dependency css-loader to v6.5.0 [skip netlify] (#3373)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 23:39:15 +00:00
renovate[bot]
513899b226 chore(deps): update linters [skip netlify] (major) (#3317)
* chore(deps): update linters [skip netlify]

* chore: add missing peer dependencies

* style: update styelint

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ylemkimon <y@ylem.kim>
2021-10-29 21:33:18 +00:00
renovate[bot]
6e2f908af1 chore(deps): update dependency webpack to v5.61.0 [skip netlify] (#3369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-30 04:22:36 +09:00
KaTeX bot
57aca23130 chore(release): 0.13.21 [ci skip]
## [0.13.21](https://github.com/KaTeX/KaTeX/compare/v0.13.20...v0.13.21) (2021-10-29)

### Bug Fixes

* **fonts:** fix the timestamp of fonts to the epoch ([#3370](https://github.com/KaTeX/KaTeX/issues/3370)) ([dde05db](dde05db6b7))
2021-10-29 19:11:27 +00:00
ylemkimon
dde05db6b7 fix(fonts): fix the timestamp of fonts to the epoch (#3370)
* fix: fix the timestamp of fonts to the epoch

* fix: update fonts

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-10-30 04:08:22 +09:00
remLse
052f0006f1 docs(supported.md): update letters reference (#3371)
* fix(docs/supported.md): update letters reference

* Add missing period

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-10-29 17:46:53 +00:00
renovate[bot]
e281e891cb chore(deps): update dependency rollup to v2.58.3 [skip netlify] (#3368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 19:20:53 +00:00
KaTeX bot
5a8f47cb41 chore(release): 0.13.20 [ci skip]
## [0.13.20](https://github.com/KaTeX/KaTeX/compare/v0.13.19...v0.13.20) (2021-10-26)

### Performance Improvements

* Avoid vertical-align:0em style ([#3358](https://github.com/KaTeX/KaTeX/issues/3358)) ([6d6d627](6d6d627ca4)), closes [#3351](https://github.com/KaTeX/KaTeX/issues/3351)
2021-10-26 23:13:15 +00:00
Erik Demaine
6d6d627ca4 perf: Avoid vertical-align:0em style (#3358)
Avoid emitting `vertical-align:0em` by protecting each such style
setting with an `if`.

Fixes #3351

Co-authored-by: ylemkimon <y@ylem.kim>
2021-10-26 23:10:20 +00:00
renovate[bot]
c01f2720d7 chore(deps): update dependency browserslist to v4.17.5 [skip netlify] (#3363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 14:17:18 +00:00