Skip to content

Commit c322eea

Browse files
chore(release): 4.0.0 [skip ci]
1 parent 700c617 commit c322eea

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@
55
All notable changes to this project will be documented in this file. See
66
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
77

8+
## [4.0.0](https://github.com/sanity-io/code-input/compare/v3.0.1...v4.0.0) (2023-01-16)
9+
10+
### ⚠ BREAKING CHANGES
11+
12+
- api for configuring custom languages has changed. Consult the README for details.
13+
14+
### Features
15+
16+
- click line-number to highlight line ([8e5cf07](https://github.com/sanity-io/code-input/commit/8e5cf072bd70a8a6526daf55423ba040eef40d43))
17+
- replaced AceEditor with CodeMirror as code editor ([ef4fe48](https://github.com/sanity-io/code-input/commit/ef4fe48ceab4f713873b3aeebe0b611b070ff79f))
18+
19+
### Bug Fixes
20+
21+
- **deps:** applied npx @sanity/plugin-kit inject ([9ccfe69](https://github.com/sanity-io/code-input/commit/9ccfe69ae11bc48b6fdf22d1d823a82ced561a32))
22+
- implement sanity theming ([9566cd2](https://github.com/sanity-io/code-input/commit/9566cd2dc8d2adc5c312ee5dde0044001a401028))
23+
- improved highlighted line color ([c151e95](https://github.com/sanity-io/code-input/commit/c151e9591ffb4abf3f7bb6bb72f558d9a951737c))
24+
- refactored default language ([2111776](https://github.com/sanity-io/code-input/commit/2111776f91cda2a472b5d1bfaba36e2fa5f2a68e))
25+
- render focus ring ([5fc3cc1](https://github.com/sanity-io/code-input/commit/5fc3cc14b91c524026e2ae551faa5bc735150a2c))
26+
- wrap lines ([301640e](https://github.com/sanity-io/code-input/commit/301640e7a3614cc22dd34cdff71901521f7ea67a))
27+
828
## [3.0.1](https://github.com/sanity-io/code-input/compare/v3.0.0...v3.0.1) (2022-12-06)
929

1030
### Bug Fixes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sanity/code-input",
3-
"version": "3.0.1",
3+
"version": "4.0.0",
44
"description": "Ace editor for editing code",
55
"keywords": [
66
"sanity",

0 commit comments

Comments
 (0)