Skip to content

Commit 7ca3a7f

Browse files
committed
Release v1.3.0
1 parent efb29b3 commit 7ca3a7f

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.github/CONTRIBUTING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ npm run
7171

7272
- Make a new branch for the release of the new version.
7373
- Update the [CHANGELOG](CHANGELOG.md).
74-
- Update the version number in `package.json`, following semver.
74+
- In the CHANGELOG, update documentation links to point at the correct version.
75+
- Update the version number in `package.json` and `package-lock.json`, following semver.
7576
- Make a PR and squash merge it.
7677
- Back on master with the PR merged, follow the instructions below.
7778

CHANGELOG.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,24 @@
66

77
> Documentation: [draftail.org/docs/next/getting-started](https://www.draftail.org/docs/next/getting-started)
88
9+
## [[v1.3.0]](https://github.com/springload/draftail/releases/tag/v1.3.0)
10+
11+
> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started)
12+
13+
🎉 blog post for this release: [Draftail v1.3.0: community improvements, beyond Wagtail](https://www.draftail.org/blog/2019/03/03/draftail-v1-2-0-supporting-modern-experiences).
14+
915
### Added
1016

11-
- Add ability to disable the editor on demand with the [`readOnly`](https://www.draftail.org/docs/next/api#draftaileditor) prop, matching behavior of Draft.js. [#201](https://github.com/springload/draftail/issues/201), [#206](https://github.com/springload/draftail/pull/206), thanks to [@SpearThruster](https://github.com/SpearThruster).
12-
- Add ability to use the editor as a controlled component, like vanilla Draft.js editors, with [`editorState` and `onChange`](https://www.draftail.org/docs/next/api#editorstate-and-onchange) props. Have a look at the [controlled component documentation](https://www.draftail.org/docs/next/controlled-component) for further details. [#180](https://github.com/springload/draftail/issues/180), [#207](https://github.com/springload/draftail/pull/207).
17+
- Add ability to disable the editor on demand with the [`readOnly`](https://www.draftail.org/docs/api#draftaileditor) prop, matching behavior of Draft.js. [#201](https://github.com/springload/draftail/issues/201), [#206](https://github.com/springload/draftail/pull/206), thanks to [@SpearThruster](https://github.com/SpearThruster).
18+
- Add ability to use the editor as a controlled component, like vanilla Draft.js editors, with [`editorState` and `onChange`](https://www.draftail.org/docs/api#editorstate-and-onchange) props. Have a look at the [controlled component documentation](https://www.draftail.org/docs/controlled-component) for further details. [#180](https://github.com/springload/draftail/issues/180), [#207](https://github.com/springload/draftail/pull/207).
1319

1420
### Fixed
1521

1622
- Fix undo/redo button icons not being customisable ([#195](https://github.com/springload/draftail/issues/195), [#196](https://github.com/springload/draftail/pull/196)).
1723

1824
## [[v1.2.1]](https://github.com/springload/draftail/releases/tag/v1.2.1)
1925

20-
> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started)
26+
> Documentation: [draftail.org/docs/1.2.1/getting-started](https://www.draftail.org/docs/1.2.1/getting-started)
2127
2228
### Fixed
2329

@@ -52,7 +58,7 @@ This new API makes it possible to build much more advanced extensions to the edi
5258

5359
### Added
5460

55-
- Add [`onFocus`](https://www.draftail.org/docs/api#managing-focus) and [`onBlur`](https://www.draftail.org/docs/api#managing-focus) props to use callbacks on those events. This can be useful for [form validation](https://www.draftail.org/docs/next/form-validation). [#170](https://github.com/springload/draftail/issues/170), [#174](https://github.com/springload/draftail/pull/174), thanks to [@TheSpicyMeatball](https://github.com/TheSpicyMeatball).
61+
- Add [`onFocus`](https://www.draftail.org/docs/api#managing-focus) and [`onBlur`](https://www.draftail.org/docs/api#managing-focus) props to use callbacks on those events. This can be useful for [form validation](https://www.draftail.org/docs/form-validation). [#170](https://github.com/springload/draftail/issues/170), [#174](https://github.com/springload/draftail/pull/174), thanks to [@TheSpicyMeatball](https://github.com/TheSpicyMeatball).
5662

5763
### Fixed
5864

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "draftail",
3-
"version": "1.2.1",
3+
"version": "1.3.0",
44
"description": "📝🍸 A configurable rich text editor built with Draft.js",
55
"author": "Springload",
66
"license": "MIT",

0 commit comments

Comments
 (0)