Skip to content

Latest commit

 

History

History
115 lines (70 loc) · 6.78 KB

CHANGELOG.md

File metadata and controls

115 lines (70 loc) · 6.78 KB

Changelog

Unreleased

[0.7.1] - 2021-06-12

  • Fixes chooser tabs with Wagtail 2.13 (#130). Thanks to @jams2

[0.7.0] - 2020-11-06

  • Made the duration field optional, and altered it from PositiveIntegerField to FloatField. If you rely on integer output of duration in templates use {{ media.duration|floatformat:"0" }} instead of {{ media.duration }} to restore the previous behavior (#100, #106, #108, #110). Thanks to @thenewguy!
  • Fixed deprecation warnings with Django 3.0 (#94, #109).
  • Excluded tests folder from published package’s sdist (#107)).
  • Added Chinese (China) translations (#114). Thanks to @Dannykey and @BrianXu20
  • Removed declared support for Python 3.5, Wagtail 2.8, Wagtail 2.9 (#116)
  • Added declared support for Python 3.9, Wagtail 2.11, Django 3.1 (#116)

[0.6.0] - 2020-08-14

  • Added filtering of media files by user permission in chooser panel (#25). Thanks to @snj
  • Added French translations (#61). Thanks to @jeromelebleu.
  • Add {% block action %} template block to allow overriding of form action in add.html template (#102). Thanks to @thenewguy
  • Fix expected NotImplementedError in Wagtail 1.6+ (#104). Thanks to @chosak and @Scotchester.
  • Add support for uploading media files via the media chooser, just like images and documents (#22, #97). Thanks to @teixas! 🎉

[0.5.0] - 2020-02-20

  • Added interactive demo (#82). Thanks to @thenewguy
  • Added setting WAGTAILMEDIA_MEDIA_FORM_BASE to simplify customization of the media form (#83). Thanks to @thenewguy
  • Fix Wagtail > 2.8 compatibility (reshuffled imports)
  • Fix Django 3 compatibility issues (#88). Thanks to @lohmander

[0.4.0] - 2019-12-06

New template blocks

[0.3.1] - 2019-05-22

Changed

  • Update edit handler AdminMediaChooser API to be compatible with Wagtail 2.0 and above (#34, #40). Thanks to @pahacofome

Upgrade considerations

BaseMediaChooserPanel is deprecated, and will be removed in a future release. Please use AdminMediaChooser instead (#40):

- from wagtailmedia.edit_handlers import BaseMediaChooserPanel
+ from wagtailmedia.edit_handlers import MediaChooserPanel

# [...]

content_panels = Page.content_panels + [
    # [...]
-    BaseMediaChooserPanel('video_media'),
+    MediaChooserPanel('video_media'),
    # [...]

[0.3.0] - 2019-05-08

Added

Changed

Removed

  • Remove support for Wagtail 2.1, 2.0, and below. For compatibility with Wagtail 2.1 and 2.0, use the v0.2.0 release.

[0.2.0] - 2018-05-24

Added

  • Compatibility with Wagtail 2.0 (@Rotund)
  • Change log

[0.1.5] - 2017-11-02

[0.1.4] - 2017-04-16

Added

  • Enable the optional thumbnail field for audio form. Useful for an album cover (@thenewguy)
  • Fix: video form no longer fails if a custom model do not have editable width and height fields. Useful if you automatically set these fields in your project (@thenewguy)

[0.1.3] - 2017-04-15

Added

  • Make compatible with Wagtail 1.6.3+ (thanks @nimasmi and @MechanisM)

[0.1.2] - Apr 15, 2017

Added

  • Make compatible with Wagtail 1.5+ (thanks @nimasmi and @MechanisM)

[0.1.1] - 2016-05-26

Initial release