Commit Graph

2069 Commits

Author SHA1 Message Date
renovate[bot]
a88aeca81a chore(deps): update dependency webpack to v5.64.4 [skip netlify] (#3437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 20:13:59 +00:00
renovate[bot]
9585ec1778 chore(deps): update dependency selenium-webdriver to v4.1.0 [skip netlify] (#3433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 20:51:35 +00:00
renovate[bot]
4292f4715d chore(deps): update linters [skip netlify] (#3429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 12:40:58 +00:00
renovate[bot]
6a92e773cc chore(deps): update dependency rollup to v2.60.1 [skip netlify] (#3432)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 10:51:58 +00:00
renovate[bot]
18effcf8cf chore(deps): update dependency webpack to v5.64.2 [skip netlify] (#3428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-23 16:03:46 +00:00
renovate[bot]
b3d90c3396 chore(deps): update dependency stylelint-config-standard to v24 [skip netlify] (#3418)
* chore(deps): update dependency stylelint-config-standard to v24 [skip netlify]

* Update index.css

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ylemkimon <y@ylem.kim>
2021-11-23 04:53:09 +09:00
renovate[bot]
0750590635 chore(deps): update dependency got to v11.8.3 [skip netlify] (#3424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 12:08:43 +00:00
renovate[bot]
0ecf1e7ed8 chore(deps): update dependency mini-css-extract-plugin to v2.4.5 [skip netlify] (#3423)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 22:52:31 +00:00
renovate[bot]
7d51ed88d2 chore(deps): update dependency cssnano to v5.0.11 [skip netlify] (#3421)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 21:26:12 +00:00
renovate[bot]
131278e4d3 chore(deps): update dependency browserslist to v4.18.1 [skip netlify] (#3420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 22:47:14 +00:00
renovate[bot]
cecdb9cc24 chore(deps): update dependency webpack to v5.64.1 [skip netlify] (#3419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 20:16:33 +00:00
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