wagtail/docs/releases
Thibaud Colas f987fa91c9
Upgrade Draftail to v1.2.1. Fix #4985, adds more Markdown shortcuts (#5117)
This includes:

- [v1.0.0](https://github.com/springload/draftail/releases/tag/v1.0.0) (identical to v0.17.2)
- [v1.1.0](https://github.com/springload/draftail/releases/tag/v1.1.0) (contains fix for #4985)
- [v1.2.0](https://github.com/springload/draftail/releases/tag/v1.2.0)
- [v1.2.1](https://github.com/springload/draftail/releases/tag/v1.2.1) (fixes regression in v1.2.0)

Here is the combined CHANGELOG for what's relevant to Wagtail:

Bug fixes
~~~~~~~~~

- #4985 – Prevent crash when filtering pasted content whose last block is to be removed (e.g. unsupported image) ([#179](https://github.com/springload/draftail/issues/179)).
- Stop unnecessarily calling `onSave` in the editor’s `onBlur` ([#173](https://github.com/springload/draftail/issues/173)).
- Prevent crash in `DraftUtils.getEntitySelection`, when the provided entity key isn't valid (undefined, missing) ([#168](https://github.com/springload/draftail/pull/168)).
- Fix entity removal and editing not doing anything when the selection is backwards (right to left) ([#168](https://github.com/springload/draftail/pull/168)).
- Prevent the editor from crashing when copy-paste filtering removes all of its content (https://github.com/thibaudcolas/draftjs-filters/commit/652750f)

New features
~~~~~~~~~~~~

- Add support for Markdown shortcuts for inline styles, e.g. `**` for bold, `_` for italic, etc ([#134](https://github.com/springload/draftail/issues/134), [#187](https://github.com/springload/draftail/pull/187)). View the full list of [keyboard shortcuts](https://www.draftail.org/docs/keyboard-shortcuts).

New APIs
~~~~~~~~

- 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).
- Add [`plugins`](https://www.draftail.org/docs/plugins) API to support extensions of the editor using the [draft-js-plugins](https://github.com/draft-js-plugins/draft-js-plugins) architecture ([#83](https://github.com/springload/draftail/issues/83), [#171](https://github.com/springload/draftail/pull/171)).
- Add ability to disable or customise the editor toolbar with [`topToolbar`](https://www.draftail.org/docs/customising-toolbars).
- Add ability to add a toolbar below the editor with [`bottomToolbar`](https://www.draftail.org/docs/customising-toolbars).
- Add data reset parameter to `DraftUtils.resetBlockWithType()`.
- Enable list continuation on Enter for custom `*-list-item` blocks. All that’s required is for the block type to end with `-list-item`.

None of those API additions will be usable within Wagtail (at least without hacks) until corresponding rich text features APIs are built to allow their configuration. The last 2 additions would already be usable but they would only be useful when leveraging the other APIs.
2019-03-21 20:29:26 +00:00
..
0.4.1.rst
0.4.rst Fix capitalisation of names 2018-04-05 12:13:05 +01:00
0.5.rst Use .. code-block:: console for all shell commands 2016-11-28 13:41:35 +00:00
0.6.rst Fix whitespace errors in docs 2016-11-28 13:41:35 +00:00
0.7.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
0.8.1.rst
0.8.3.rst Fix spelling mistakes in documentation 2018-04-05 12:13:05 +01:00
0.8.4.rst
0.8.5.rst
0.8.6.rst Use .. code-block:: console for all shell commands 2016-11-28 13:41:35 +00:00
0.8.7.rst
0.8.8.rst
0.8.10.rst
0.8.rst Mark 0.8, 1.4, 1.8 and 1.12 as LTS releases in release notes 2017-07-04 15:20:44 +01:00
1.0.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
1.1.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.2.rst Reword 1.2 release note 2018-04-05 12:13:05 +01:00
1.3.1.rst
1.3.rst Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
1.4.1.rst
1.4.2.rst
1.4.3.rst
1.4.4.rst
1.4.5.rst
1.4.6.rst
1.4.rst Fix 'email notifications' link 2018-02-14 14:06:21 +00:00
1.5.1.rst
1.5.2.rst
1.5.3.rst
1.5.rst
1.6.1.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
1.6.2.rst
1.6.3.rst Release note for #3017 2016-09-30 10:06:44 +01:00
1.6.rst
1.7.rst Use .. code-block:: for all python, html blocks 2016-11-28 13:41:34 +00:00
1.8.1.rst remove 'IN DEVELOPMENT' text from 1.8.1 2017-01-26 16:18:31 +00:00
1.8.2.rst Release note for #3252 backport to 1.8.x 2017-04-21 15:15:22 +01:00
1.8.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.9.1.rst Release note for #3252 backport to 1.9.x 2017-04-21 15:15:23 +01:00
1.9.rst Set release date for 1.9 2017-02-16 10:47:34 +00:00
1.10.1.rst Release note for #3603 2017-05-19 12:54:15 +01:00
1.10.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
1.11.1.rst fill in release date for 1.11.1 2017-07-07 14:40:16 +01:00
1.11.rst Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
1.12.1.rst fill in release date for 1.12.1 2017-08-30 17:24:04 +01:00
1.12.2.rst Fill in release date for 1.12.2 2017-09-18 21:44:48 +01:00
1.12.3.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.12.4.rst Fill in release date for 1.12.4 2018-07-04 15:36:07 +01:00
1.12.5.rst Add release notes for 1.12.5 2018-08-13 12:37:47 +01:00
1.12.6.rst Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4 2018-08-13 15:12:37 +01:00
1.12.rst Update LTS imformation 2018-03-29 14:30:27 +02:00
1.13.1.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.13.2.rst Fill in release date for 1.13.2 2018-07-04 15:36:08 +01:00
1.13.3.rst Add release notes for 1.13.3 2018-08-13 12:37:47 +01:00
1.13.4.rst Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4 2018-08-13 15:12:37 +01:00
1.13.rst Update LTS imformation 2018-03-29 14:30:27 +02:00
2.0.1.rst Fill in release date for 2.0.1 2018-04-04 14:59:52 +01:00
2.0.2.rst Add release notes for 2.0.2 2018-08-13 15:12:47 +01:00
2.0.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
2.1.1.rst Fill in release date for 2.1.1 2018-07-04 15:36:49 +01:00
2.1.2.rst Release notes for 2.1.2 2018-08-06 13:11:11 +01:00
2.1.3.rst Add release notes for 2.1.3 2018-08-13 15:13:05 +01:00
2.1.rst replace my name with my name 2018-07-10 11:20:28 +01:00
2.2.1.rst Release note for #4730 2018-08-13 16:31:56 +01:00
2.2.2.rst Fill in release date for 2.2.2 2018-08-29 14:15:44 +01:00
2.2.rst Fill in release date for 2.2 2018-08-10 12:17:19 +01:00
2.3.rst Fill in release date for 2.3 2018-10-23 15:39:56 +01:00
2.4.rst Fill in release date for 2.4 2018-12-19 15:13:28 +00:00
2.5.rst Upgrade Draftail to v1.2.1. Fix #4985, adds more Markdown shortcuts (#5117) 2019-03-21 20:29:26 +00:00
index.rst Add release note stubs for 2.5 2018-12-07 11:59:55 +00:00
upgrading.rst Document extended LTS date of Wagtail 1.13 2018-12-19 15:13:39 +00:00