Skip to content

Latest commit

 

History

History
327 lines (176 loc) · 6.34 KB

CHANGELOG.rst

File metadata and controls

327 lines (176 loc) · 6.34 KB

Changelog

>= 6.4.0

Since version 6.4.0, we use Github releases and autogenerated changelogs.

6.3.2 (2023-11-14)

Bug fixes

  • Catch TypeError when data/permissions are passed as files (#685)

Documentation

  • Fix #617: document release process (#691)

6.3.1 (2022-10-17)

  • Remove upper bound for kinto version (#567)

6.3.0 (2022-04-20)

New features

  • Include the Google Cloud backend automatically when kinto.attachment.gcloud.* settings are used.

6.2.0 (2021-12-02)

New features

  • base_url field in server's capabilities will be added a trailing slash (/) if missing.

6.1.0 (2020-06-23)

New features

  • Allow to override mimetypes from config (#315)

6.0.4 (2020-06-04)

Bug fixes

  • Add missing content type when uploading to S3

6.0.3 (2020-03-30)

Bug fixes

  • Fix broken compatibility with Kinto 13.6.4

6.0.2 (2019-11-13)

Bug fixes

  • Fix attachment deletion not being committed (fixes #149)

Internal changes

  • Use unittest.mock instead of the mock library

6.0.1 (2018-12-19)

Bug fixes

  • Fix support of kinto >= 12

6.0.0 (2018-10-02)

Breaking changes

  • Do not allow any file extension by default. Now allow documents+images+text+data (Fix #130)

Bug fixes

  • Fix heartbeat when allowed file types is not any (Fix #148)

5.0.0 (2018-07-31)

Breaking changes

  • Gzip Content-Encoding is not used anymore when uploading on S3 (fixes #144)

Internal changes

  • Heartbeat now uses utils.save_file() for better detection of configuration or deployment errors (fixes #146)

4.0.0 (2018-07-24)

Breaking changes

  • Gzip Content-Encoding is now always enabled when uploading on S3 (fixes #139)
  • Overriding settings via the querystring (eg. ?gzipped, randomize, use_content_encoding) is not possible anymore

Internal changes

  • Refactor reading of settings

3.0.1 (2018-07-05)

Bug fix

  • Do not delete attachment when record is deleted if keep_old_files setting is true (#137)

3.0.0 (2018-04-10)

Breaking changes

  • The collection specific use_content_encoding setting must now be separated with . instead of _. (eg. use kinto.attachment.resources.bid.cid.use_content_encoding instead of kinto.attachment.resources.bid_cid.use_content_encoding) (fixes #134)

2.1.0 (2017-12-06)

New features

  • Add support for the Content-Encoding header with the S3Backend (#132)

2.0.1 (2017-04-06)

Bug fixes

  • Set request parameters before instantiating a record resource. (#127)

2.0.0 (2017-03-03)

Breaking changes

  • Remove Python 2.7 support and upgrade to Python 3.5. (#125)

1.1.2 (2017-02-01)

Bug fixes

  • Fix invalid request when attaching a file on non UUID record id (fixes #122)

1.1.1 (2017-02-01)

Bug fixes

  • Fixes compatibility with Kinto 5.3 (fixes #120)

1.1.0 (2016-12-16)

  • Expose the gzipped settings value in the capability (#117)

1.0.1 (2016-11-04)

Bug fixes

  • Make kinto-attachment compatible with both cornice 1.x and 2.x (#115)

1.0.0 (2016-09-07)

Breaking change

  • Remove the base_url from the public settings because the accurate value is in the capability.

Protocol

  • Add the plugin version in the capability.

0.8.0 (2016-07-18)

New features

  • Prevent attachment attributes to be modified manually (fixes #83)

Bug fixes

  • Fix crash when the file is not uploaded using attachment field name (fixes #57)
  • Fix crash when the multipart content-type is invalid.
  • Prevent crash when filename is not provided (fixes #81)
  • Update the call to the Record resource to use named attributes. (#97)
  • Show detailed error when data is not posted with multipart content-type.
  • Fix crash when submitted data is not valid JSON (fixes #104)

Internal changes

  • Remove hard-coded CORS setup (fixes #59)

0.7.0 (2016-06-10)

  • Add the gzip option to automatically gzip files on upload (#85)
  • Run functional test on latest kinto release as well as kinto master (#86)

0.6.0 (2016-05-19)

Breaking changes

  • Update to kinto.core for compatibility with Kinto 3.0. This release is no longer compatible with Kinto < 3.0, please upgrade!

New features

  • Add a kinto.attachment.extra.base_url settings to be exposed publicly. (#73)

0.5.1 (2016-04-14)

Bug fixes

  • Fix MANIFEST.in rules

0.5.0 (2016-04-14)

New features

  • Add ability to disable filename randomization using a ?randomize=false querystring (#62)
  • Add a --keep-filenames option in upload.py script to disable randomization (#63)

Bug fixes

  • Fix a setting name for S3 bucket in README (#68)
  • Do nothing in heartbeat if server is readonly (fixes #69)

Internal changes

  • Big refactor of views (#61)

0.4.0 (2016-03-09)

New features

  • Previous files can be kept if the setting kinto.keep_old_files is set to true. This can be useful when clients try to download files from a collection of records that is not up-to-date.
  • Add heartbeat entry for attachments backend (#41)

Bug fixes

  • Now compatible with the default bucket (#42)
  • Now compatible with Python 3 (#44)

Internal changes

  • Upload/Download scripts now use kinto.py (#38)

0.3.0 (2016-02-05)

New feature

  • Expose the API capability attachments in the root URL (#35)

Internal changes

  • Upgrade tests for Kinto 1.11.0 (#36)

0.2.0 (2015-12-21)

New feature

  • Setting to store files into folders by bucket or collection (fixes #22)

Bug fixes

  • Remove existing file when attachment is replaced (fixes #28)

Documentation

  • The demo is now fully online, since the Mozilla demo server has this plugin installed.
  • Add some minimal information for production

0.1.0 (2015-12-02)

  • Initial working proof-of-concept.