Skip to content

Latest commit

 

History

History
107 lines (84 loc) · 3.11 KB

CHANGELOG.md

File metadata and controls

107 lines (84 loc) · 3.11 KB

Changelog

[v2.10.0] - 2021-03-29

Changed

  • Update minio-py to 7.0.2

[v2.9.3] - 2021-03-07

Changed

  • Removed RemovedInDjango40Warning

[v2.9.2] - 2020-09-03

Changed

  • Set all fields in admin panel as read-only

[v2.9.1] - 2020-08-14

Added

  • Add to attachment linked_from field

v2.9 - 2020-08-06

Changed

  • Allow link files to few objects

[v2.8.1] - 2020-05-26

Changed

  • Remove unused migration

v2.8 - 2020-05-22

Changed

  • Alter varchar field object_id to uuid, add index

v2.5.2 - 2019-10-29

Changed

  • Fix display object_content_type, object_id at attachment changelist

[v2.5.1] - 2019-10-29

Changed

  • Add python3.7 compatibility

v2.5 - 2019-10-17

Changed

  • Add default ordering param for Attachment model
  • Add search and filters at AttachmentAdmin
  • Improve AttachmentAdmin performance

v2.4 - 2019-08-01

Changed

  • Increase max length on name field

v2.3 - 2019-07-29

Changed

  • Bump minimal DRF version to 3.9

v2.2 - 2019-07-03

Added

  • Add task purge_attachments

v2.1 - 2019-07-01

Added

  • Add get param uid on upload file

v2.0 - 2019-06-17

Added

  • Model Attachment with generic relation, that stores all attachments data
  • AttachmentSerializerMixin for serializers for models with attachments

Removed

  • AttachFilesSerializers, CreateAttachFilesSerializers

v1.1 - 2019-06-07

Added

  • In url config you can set app_labels instead a model or app_label, model_name. Ex: app_labels = ['project.Model', 'project.Model2']

Changed

  • Now in url config you can set only app_label without model_name. Ex: app_label='project.Model'

Deprecated

  • model argument in url config will be removed in v1.2

v1.0 - 2019-05-30

Added

  • Uid, name, created, bucket_name fields to files json
  • Retrieve files from some buckets
  • This changelog

Changed

  • Add blank=True to attachments field in model
  • In url config you must set app_label and model_name instead model
  • In staff url config you also set app_label and model_name
  • Instead path in file url, now used uid
  • Filter json keys before response. View only 'uid', 'name', 'size', 'content_type'

Removed

  • Removed file_info function from storage