v0.17.0 release notes
=====================


New features
------------

* NEW setting to globally force all external links to open in a new tab. See
  :doc:`/how_to/link_targets`.
* Upgraded Wagtail to version 2.7
* New UI of streamfield, and other changes from
  `Wagtail 2.7 <https://docs.wagtail.io/en/stable/releases/2.7.html>`_.
* Now supports Django 2.0, 2.1, 2.2 and Python 3.5, 3.6, 3.7, 3.8


Bug fixes
---------

* Fix bug where form field without a selected type would cause a 500 error.
* Render valid AMP images and iframes on ArticlePage and in RichText and Embed
  blocks.


Upgrade considerations
----------------------

* You will need to run ``python manage.py makemigrations website`` and
  ``python manage.py migrate`` after upgrading.
* Template tag ``richtext_amp_formatting`` has been removed and should be
  replaced with ``richtext|convert_to_amp``.
* Template tag ``amp_formatting`` has been replaced with ``convert_to_amp``.