The {%image%} tag now supports extra parameters for specifying the image file type and JPEG compression level on a per-tag basis. See Output image format and JPEG image quality. This feature was developed by Karl Hobley.

Project template’s initial migration should not depend on wagtailcore.__latest__¶

On projects created under previous releases of Wagtail, the home/migrations/0001_initial.py migration created by the wagtailstart command contains the following dependency line:

dependencies=[('wagtailcore','__latest__'),]

This may produce InconsistentMigrationHistory errors under Django 1.10 when upgrading Wagtail, since Django interprets this to mean that no new migrations can legally be added to wagtailcore after this migration is applied. This line should be changed to:

dependencies=[('wagtailcore','0029_unicode_slugfield_dj19'),]

Custom image models require a data migration for the new filter_spec field¶

The data model for image renditions will be changed in Wagtail 1.8 to eliminate Filter as a model. Wagtail sites using a custom image model (see Custom image models) need to have a schema and data migration in place prior to upgrading to Wagtail 1.8. To create these migrations:

Run manage.pymakemigrations to create the schema migration

Run manage.pymakemigrations--emptymyapp (replacing myapp with the name of the app containing the custom image model) to create an empty migration

The embed template filter, used to translate the URL of a media resource (such as a YouTube video) into a corresponding embeddable HTML fragment, has now been converted to a template tag. Any template code such as: