Commit Graph

259 Commits

Author SHA1 Message Date
Erik Demaine
7530849bdb chore: Upgrade to yarn 3.2.2, Node 16 (#3682)
* Upgrade to yarn 4.0.0-rc.14

Adds support for Node 18

* Upgrade CI to Node 16

* Update website/yarn.lock

* pnpIgnorePatterns for subproject

* Switch to stable Yarn 3.2.2
2022-08-17 14:10:08 -07:00
KaTeX bot
0854e68740 chore(release): 0.16.0 [ci skip]
# [0.16.0](https://github.com/KaTeX/KaTeX/compare/v0.15.6...v0.16.0) (2022-06-06)

### Bug Fixes

* **copy-tex:** Use JS (instead of CSS) to select full equation, solving display glitches ([#3586](https://github.com/KaTeX/KaTeX/issues/3586)) ([8c2d852](8c2d852c4a))

### BREAKING CHANGES

* **copy-tex:** copy-tex extension no longer has (or requires) a CSS file.

* Code cleanup, lint fixes, port to Flow

* Rewrite to extend both start and end of range

* Remove contrib/**/*.css linting

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2022-06-06 16:13:28 +00:00
Fons van der Plas
8c2d852c4a fix(copy-tex): Use JS (instead of CSS) to select full equation, solving display glitches (#3586)
* copy-tex: Use JS to select full equation instead of CSS

* remove CSS

* Update webpack.common.js

* more build tweaks

* Update contrib/copy-tex/copy-tex.js

Co-authored-by: Erik Demaine <edemaine@mit.edu>

* Document new behavior

BREAKING CHANGE: copy-tex extension no longer has (or requires) a CSS file.

* Code cleanup, lint fixes, port to Flow

* Rewrite to extend both start and end of range

* Remove contrib/**/*.css linting

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2022-06-06 12:09:30 -04:00
KaTeX bot
023cc0342c chore(release): 0.15.6 [ci skip]
## [0.15.6](https://github.com/KaTeX/KaTeX/compare/v0.15.5...v0.15.6) (2022-05-20)

### Features

* Support \Braket, \set, and \Set ([#3214](https://github.com/KaTeX/KaTeX/issues/3214)) ([9e3ae4d](9e3ae4d5a8))
2022-05-20 17:28:59 +00:00
KaTeX bot
4fa84d0ca3 chore(release): 0.15.5 [ci skip]
## [0.15.5](https://github.com/KaTeX/KaTeX/compare/v0.15.4...v0.15.5) (2022-05-20)

### Bug Fixes

* Avoid crash when \ce{} is empty ([#3627](https://github.com/KaTeX/KaTeX/issues/3627)) ([4865e45](4865e45437))
2022-05-20 16:07:59 +00:00
KaTeX bot
575dab79f1 chore(release): 0.15.4 [ci skip]
## [0.15.4](https://github.com/KaTeX/KaTeX/compare/v0.15.3...v0.15.4) (2022-05-20)

### Features

* Support Unicode (sub|super)script characters ([#3633](https://github.com/KaTeX/KaTeX/issues/3633)) ([d8fc35e](d8fc35e6a9))
2022-05-20 13:53:28 +00:00
KaTeX bot
b1311aff1b chore(release): 0.15.3 [ci skip]
## [0.15.3](https://github.com/KaTeX/KaTeX/compare/v0.15.2...v0.15.3) (2022-03-13)

### Bug Fixes

* Apply operator spacing to Unicode ∙ ∘ ∖ ([#3584](https://github.com/KaTeX/KaTeX/issues/3584)) ([b362fc0](b362fc0b39))
2022-03-13 18:41:56 +00:00
renovate[bot]
5fd38f9aa1 chore(deps): update yarn to v3.2.0 [skip netlify] (#3570)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 19:37:14 +00:00
renovate[bot]
daf9eb42f5 chore(deps): update dependency postcss-preset-env to v7 [skip netlify] (#3426)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-14 14:26:09 +09:00
renovate[bot]
8200762793 chore(deps): update dependency postcss-less to v6 [skip netlify] (#3497)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 08:42:33 +09:00
KaTeX bot
38aa7af8cf chore(release): 0.15.2 [ci skip]
## [0.15.2](https://github.com/KaTeX/KaTeX/compare/v0.15.1...v0.15.2) (2022-01-12)

### Bug Fixes

* \mathinner MathML when invoked as a denominator. ([#3501](https://github.com/KaTeX/KaTeX/issues/3501)) ([1f85125](1f8512577b)), closes [#3500](https://github.com/KaTeX/KaTeX/issues/3500)
2022-01-12 17:36:06 +00:00
renovate[bot]
5299652691 chore(deps): update yarn to v3.1.1 [skip netlify] (#3438)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 23:48:52 +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]
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
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
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
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
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
ylemkimon
c5ac4c7695 docs(package.json): add funding (#3378) 2021-10-30 16:13:10 +00: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
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]
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
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
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
KaTeX bot
e751278cff chore(release): 0.13.19 [ci skip]
## [0.13.19](https://github.com/KaTeX/KaTeX/compare/v0.13.18...v0.13.19) (2021-10-26)

### Features

* **cli:** --trust flag for trusting cli input ([#3339](https://github.com/KaTeX/KaTeX/issues/3339)) ([503f7d7](503f7d79f9)), closes [#2428](https://github.com/KaTeX/KaTeX/issues/2428)
2021-10-26 01:15:07 +00:00
renovate[bot]
f78dc0f7b5 chore(deps): update semantic-release monorepo [skip netlify] (#3281)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 07:38:50 +09:00
renovate[bot]
34d35bb3c7 chore(deps): update dependency eslint-plugin-flowtype to v6 [skip netlify] (#3266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-26 16:40:07 +09:00
KaTeX bot
5b861c4bee chore(release): 0.13.18 [ci skip]
## [0.13.18](https://github.com/KaTeX/KaTeX/compare/v0.13.17...v0.13.18) (2021-09-02)

### Features

* unicode support for minus and asterisk operators ([#3227](https://github.com/KaTeX/KaTeX/issues/3227)) ([9dbfc1c](9dbfc1c917)), closes [#3225](https://github.com/KaTeX/KaTeX/issues/3225)
2021-09-02 21:07:24 +00:00
KaTeX bot
2df1f5fbaf chore(release): 0.13.17 [ci skip]
## [0.13.17](https://github.com/KaTeX/KaTeX/compare/v0.13.16...v0.13.17) (2021-09-01)

### Bug Fixes

* **fonts:** remove hints from unknown symbols ([#3222](https://github.com/KaTeX/KaTeX/issues/3222)) ([9420f8a](9420f8a2a9)), closes [#3219](https://github.com/KaTeX/KaTeX/issues/3219)
2021-09-01 18:42:45 +00:00
KaTeX bot
a2a7c279cf chore(release): 0.13.16 [ci skip]
## [0.13.16](https://github.com/KaTeX/KaTeX/compare/v0.13.15...v0.13.16) (2021-08-28)

### Bug Fixes

* \char support for >16-bit Unicode characters ([#3006](https://github.com/KaTeX/KaTeX/issues/3006)) ([ff1734f](ff1734f7c4)), closes [#3004](https://github.com/KaTeX/KaTeX/issues/3004)
* remove local macros upon parse error ([#3114](https://github.com/KaTeX/KaTeX/issues/3114)) ([a6f29e3](a6f29e3612)), closes [#3122](https://github.com/KaTeX/KaTeX/issues/3122)
2021-08-28 23:02:27 +00:00
KaTeX bot
90dcaef2bd chore(release): 0.13.15 [ci skip]
## [0.13.15](https://github.com/KaTeX/KaTeX/compare/v0.13.14...v0.13.15) (2021-08-28)

### Features

* text-mode cedilla accent via \c ([#3036](https://github.com/KaTeX/KaTeX/issues/3036)) ([952fb84](952fb844da)), closes [#638](https://github.com/KaTeX/KaTeX/issues/638)
2021-08-28 22:33:02 +00:00
KaTeX bot
f8c211da3c chore(release): 0.13.14 [ci skip]
## [0.13.14](https://github.com/KaTeX/KaTeX/compare/v0.13.13...v0.13.14) (2021-08-28)

### Bug Fixes

* **fonts:** update fonts dependencies ([#2866](https://github.com/KaTeX/KaTeX/issues/2866)) ([ea409ea](ea409eaf1d))
2021-08-28 22:09:25 +00:00
ylemkimon
ea409eaf1d fix(fonts): update fonts dependencies (#2866)
* fix(fonts): update fonts dependencies

* chore(fonts): fix buildMetrics for Python 3

* fix(fonts): update fonts

* test: update screenshots

* docs: update reference to katex-fonts

* chore: use Python 3

* fix(fonts): update fonts

* test: update screenshots

* Use explicit path

* Command-line arguments aren't actually supported

* Small buildMetrics fixes

* Add build:{fonts,metrics} script

* Lock versions of font-related dependencies

* Install minimal texlive

* Install fontforge

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-08-29 07:06:42 +09:00
ylemkimon
abe3ab7eb8 chore(deps): update selenium-webdriver to 4 (#3205)
* chore(deps): update selenium-webdriver to 4

refactor: use async/await

* fix(screenshotter): disable static watch
2021-08-28 17:42:12 +00:00
ylemkimon
0084c899f3 chore(deps): use @babel/eslint-parser (#3203) 2021-08-27 21:03:43 +00:00
ylemkimon
4cca8636c3 ci: run yarn build on test (#3202)
* build: fail rollup on warning

* ci: run yarn build on test
2021-08-27 16:59:02 -04:00
renovate[bot]
610feae647 chore(deps): update jest monorepo to v27 [skip netlify] (major) (#3051)
* chore(deps): update jest monorepo to v27 [skip netlify]

* test: use jsdom environment for auto-render test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ylemkimon <y@ylem.kim>
2021-08-27 13:44:29 +09:00
Erik Demaine
e7d38df8d4 chore(deps): update webpack, webpack-cli, webpack-dev-server (#3191)
* chore(deps): update webpack, webpack-cli, webpack-dev-server

Fixes #3189

* injectClient -> client

* Switch WebpackDevServer constructor order

* Switch from listen to start

* Fix missing argument to catch

* chore: dedupe lockfile

* chore: update to Yarn 3.0.1

* ci: run yarn install on semantic release

* ci: use setup-node cache

* chore: update lockfile

Co-authored-by: Ylemkimon <y@ylem.kim>
2021-08-27 13:04:13 +09:00
renovate[bot]
e5e165c467 chore(deps): update dependency css-loader to v6 [skip netlify] (#3129)
* chore(deps): update dependency css-loader to v6 [skip netlify]

* build: use asset modules

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ylemkimon <y@ylem.kim>
2021-08-07 01:58:01 +00:00
renovate[bot]
d4f1794ab6 chore(deps): update dependency style-loader to v3 [skip netlify] (#3099)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-27 07:59:01 +00:00
renovate[bot]
c9ad4a9afd chore(deps): update dependency less-loader to v10 [skip netlify] (#3089)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-27 07:48:24 +00:00
renovate[bot]
eeb70852d0 chore(deps): update dependency mini-css-extract-plugin to v2 [skip netlify] (#3106)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-27 07:36:48 +00:00
renovate[bot]
1e22e2730a chore(deps): update dependency postcss-loader to v6 [skip netlify] (#3079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-27 16:06:15 +09:00
KaTeX bot
aa8622d4d0 chore(release): 0.13.13 [ci skip]
## [0.13.13](https://github.com/KaTeX/KaTeX/compare/v0.13.12...v0.13.13) (2021-07-21)

### Bug Fixes

* add namespace for svg, making output XHTML+SVG+MathML compatible ([#2725](https://github.com/KaTeX/KaTeX/issues/2725)) ([35ff5ac](35ff5ac223))
2021-07-21 16:50:00 +00:00
KaTeX bot
f7e70e60e5 chore(release): 0.13.12 [ci skip]
## [0.13.12](https://github.com/KaTeX/KaTeX/compare/v0.13.11...v0.13.12) (2021-07-21)

### Bug Fixes

* Correct invalid box-sizing property, adjusting spacing of \angl ([#3053](https://github.com/KaTeX/KaTeX/issues/3053)) ([910e523](910e523633)), closes [#3052](https://github.com/KaTeX/KaTeX/issues/3052)
2021-07-21 14:52:46 +00:00
renovate[bot]
08600feb8e chore(deps): update dependency less-loader to v9 [skip netlify] (#3026)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-21 03:01:58 +09:00