Releases: uiwjs/react-codemirror
Releases · uiwjs/react-codemirror
v4.0.8
- 🐞 fix: Fix value props controlled issue. #199 29a3145 @jaywcjlove
- 💄 chore(deps): update dependency @uiw/react-markdown-preview to v3.4.0 (#194) 4eac5d3 @renovate-bot
- 💄 chore(deps): update dependency tsbb to v3.4.4 (#196) 272eb77 @renovate-bot
- 💄 chore(deps): update dependency @types/react to v17.0.29 (#198) 547f56e @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v11.2.3 (#197) 97c8e5f @renovate-bot
- 💄 chore(deps): update dependency jest to v27.2.5 (#195) 97b4174 @renovate-bot
- 💊 clean: remove rehype-attr dependency. #194 50b6b83 @jaywcjlove
npm i @uiw/[email protected]
v4.0.7
- 💄 chore(deps): update dependency @uiw/react-markdown-preview to v3.3.5 (#190) 006e9b8 @renovate-bot
- 💄 chore(deps): update dependency tsbb to v3.4.1 (#188) d1039d2 @renovate-bot
- 💄 chore(deps): update dependency rehype-attr to v2.0.6 (#189) 622a570 @renovate-bot
- 💄 chore(deps): update dependency jest to v27.2.4 (#183) 7ce978a @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v11.2.0 (#192) 1009fe0 @renovate-bot
- 💄 chore(deps): update dependency @types/react to v17.0.27 (#191) e395fa3 @renovate-bot
- ⛑ test: Add placeholder/editable test case. 0366403 @jaywcjlove
npm i @uiw/[email protected]
v4.0.6
- 🐞 fix(deps): update dependency @codemirror/view to v0.19.9 (#187) 0194c55 @renovate-bot
- 💄 chore(deps): update dependency @types/react to v17.0.26 (#186) 85747ee @renovate-bot
npm i @uiw/[email protected]
v4.0.5
- 💄 chore: update .github/workflows/ci.yml fd02b54 @jaywcjlove
- 💄 chore: update .github/workflows/ci.yml a0b556e @jaywcjlove
- 🌟 feat: modify placeholder control props. 29ba906 @jaywcjlove
npm i @uiw/[email protected]
v4.0.4
npm i @uiw/[email protected]
- 🌟 feat: Add placeholder props. #185 6006d60 @jaywcjlove
- 💄 chore(deps): update dependency tsbb to v3.3.7 (#182) 98e2742 @renovate-bot
v4.0.3
v4.0.2
npm i @uiw/[email protected]
- 💄 chore(deps): update codemirror (#176) 03470ec @renovate-bot
- 💄 chore(deps): update dependency tsbb to v3.3.1 (#177) df0af2e @renovate-bot
- 🐞 fix(deps): update dependency @codemirror/view to v0.19.8 (#180) 0e2cafe @renovate-bot
- 💄 chore(deps): update dependency jest to v27.2.2 (#179) b78c258 @renovate-bot
- 💄 chore(deps): update dependency tsbb to v3.3.3 (#178) d5a1857 @renovate-bot
v4.0.1
npm i @uiw/[email protected]
- 📖 doc: Update README.md f8439a2 @jaywcjlove
- 📖 doc: Update README.md a2e6cc8 @jaywcjlove
- 📖 doc: Update README.md cfff411 @jaywcjlove
- 💄 chore: Update coverage badge. 59c373d @jaywcjlove
- 💄 chore(deps): update dependency @codemirror/lang-html to v0.19.2 (#175) 4c837fa @renovate-bot
- 💄 chore(deps): update dependency rehype-attr to v2.0.3 (#168) afe8611 @renovate-bot
- 💄 chore(deps): update dependency tsbb to v3.3.0 (#174) 463f11e @renovate-bot
- 💄 chore(deps): update dependency jest to v27.2.1 (#173) 55db717 @renovate-bot
- 💄 chore(deps): update dependency @types/react to v17.0.24 (#172) 782122d @renovate-bot
- 💄 chore(deps): update dependency prettier to v2.4.1 (#170) b859f63 @renovate-bot
- 💄 chore(deps): update dependency @uiw/react-markdown-preview to v3.3.3 (#167) 4af5ce0 @renovate-bot
v4.0.0
npm i @uiw/[email protected]
⚠️ 3.0 cannot be upgraded to 4.0+, Migrate from v3 to v4.
import CodeMirror from '@uiw/react-codemirror';
- import 'codemirror/mode/javascript/javascript';
+ import { javascript } from "@codemirror/lang-javascript";
const code = 'console.log("hello world!");';
<CodeMirror
value={code}
- options={{ mode: 'js' }}
+ extensions={[
+ javascript({ jsx: true })
+ ]}
/>
- 📖 doc: Update README.md 9e00372 @jaywcjlove
- 💄 chore(deps): Update depenency code-example to v3.1.0 b8f0af8 @jaywcjlove
- 💄 chore(deps): update dependency code-example to v3.2.0 480d52a @jaywcjlove
- 🌍 website: fix load lang. 1ee4444 @jaywcjlove
- 💄 chore(deps): update dependency code-example to v3.3.1 (#166) c6ebeed @renovate-bot
- 💄 chore(deps): update dependency @types/react to v17.0.21 (#164) 6e82e5d @renovate-bot
- 🌟 feat: Add editable props. 674f386 @jaywcjlove
- 💄 chore: update .github/workflows/ci.yml 19e083d @jaywcjlove
v4.0.0-rc.14
npm i @uiw/[email protected]
- 💄 chore(deps): update dependency tsbb to v3.2.1 (#162) abbcc16 @renovate-bot
- 🌍 website: Add language example. 1029353 @jaywcjlove
- 🌟 feat: Add basicSetup & indentWithTab props. #163 c3a5936 @jaywcjlove