Skip to content

Releases: dzhuang/django-galleryfield

v2.2.0

22 Apr 16:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.3...v2.2.0

v2.1.3

20 Jul 11:38
Compare
Choose a tag to compare

What's Changed

  • Upgraded subset-iconfont dep and optimized icon font css. by @dzhuang in #38

Full Changelog: v2.1.2...v2.1.3

v2.1.2

18 Jul 16:47
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

17 Jul 17:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.1.1

v2.0.1

14 Jul 16:35
Compare
Choose a tag to compare
  • Breaking changes (#25 , #28):

    • Added required method :meth:create_instance_from_form in ImageCreateView when customizing target_model .

    • Added required method :meth:create_cropped_instance_from_form in ImageCropView when customizing target_model .

    • Allowed customize image URL via :meth:get_image_url in target_model.

    • Allowed customize image Crop URL via :meth:get_crop_url in target_model.

    • Allowed customize image object serialization by :meth:serialize_extra in target_model.

    • Bundled most static assets (except Bootstrap and jQuery) into galleryfield-ui.js, thus we no longer need to
      do extra configurations serving those static files locally.

      • Added option bootstrap_version in DJANGO_GALLERY_FIELD_CONFIG, defaults to 3.
      • Removed all items in DJANGO_GALLERY_FIELD_CONFIG["assets"] except extra_js and extra_css.
      • Added new options jquery, bootstrap_css and bootstrap_js to DJANGO_GALLERY_FIELD_CONFIG["assets"], with
        CDN URL of those assets as default values.
    • Dropped jQuery-UI in favor of SortableJS for sorting uploaded images. Added jquery_file_upload_ui_sortable_options in DJANGO_GALLERY_FIELD_CONFIG .

    • Allowed use Bootstrap 4 and 5 via settings configurations.

v1.5.1

17 May 03:04
Compare
Choose a tag to compare

Update static assets.

v1.5.0

16 May 12:37
Compare
Choose a tag to compare

Use rollup to manage static assets.

v1.4.6

14 May 10:14
Compare
Choose a tag to compare

Remove redundant static assets in upload UI (fixes #22 )

v1.4.5

12 May 12:33
Compare
Choose a tag to compare

Fix get_image_url in BaseImageModelMixin

v1.4.4

12 May 09:48
Compare
Choose a tag to compare

Fix upload_template and download_template override after widget initialization