Since version 6.4.0, we use Github releases and autogenerated changelogs.
Bug fixes
- Catch TypeError when data/permissions are passed as files (#685)
Documentation
- Fix #617: document release process (#691)
- Remove upper bound for kinto version (#567)
New features
- Include the Google Cloud backend automatically when
kinto.attachment.gcloud.*
settings are used.
New features
base_url
field in server's capabilities will be added a trailing slash (/
) if missing.
New features
- Allow to override mimetypes from config (#315)
Bug fixes
- Add missing content type when uploading to S3
Bug fixes
- Fix broken compatibility with Kinto 13.6.4
Bug fixes
- Fix attachment deletion not being committed (fixes #149)
Internal changes
- Use
unittest.mock
instead of themock
library
Bug fixes
- Fix support of kinto >= 12
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)
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)
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
Bug fix
- Do not delete attachment when record is deleted if
keep_old_files
setting is true (#137)
Breaking changes
- The collection specific
use_content_encoding
setting must now be separated with.
instead of_
. (eg. usekinto.attachment.resources.bid.cid.use_content_encoding
instead ofkinto.attachment.resources.bid_cid.use_content_encoding
) (fixes #134)
New features
- Add support for the
Content-Encoding
header with the S3Backend (#132)
Bug fixes
- Set request parameters before instantiating a record resource. (#127)
Breaking changes
- Remove Python 2.7 support and upgrade to Python 3.5. (#125)
Bug fixes
- Fix invalid request when attaching a file on non UUID record id (fixes #122)
Bug fixes
- Fixes compatibility with Kinto 5.3 (fixes #120)
- Expose the gzipped settings value in the capability (#117)
Bug fixes
- Make kinto-attachment compatible with both cornice 1.x and 2.x (#115)
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.
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)
- Add the gzip option to automatically gzip files on upload (#85)
- Run functional test on latest kinto release as well as kinto master (#86)
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)
Bug fixes
- Fix MANIFEST.in rules
New features
- Add ability to disable filename randomization using a
?randomize=false
querystring (#62) - Add a
--keep-filenames
option inupload.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)
New features
- Previous files can be kept if the setting
kinto.keep_old_files
is set totrue
. 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)
New feature
- Expose the API capability
attachments
in the root URL (#35)
Internal changes
- Upgrade tests for Kinto 1.11.0 (#36)
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
- Initial working proof-of-concept.