Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
2.10.1 - 2024-02-12
### Added
- verify mongo7 support
2.10.0 - 2023-12-06
Fixed
- Update OAS from 2.0 to 3.0
Added
- Add
PATCH /:filename/metadata
, to allow modification of files metadata
Fixed
- Resolved an issue that was leading to the failure of integration tests.
2.9.3 - 2023-10-30
Fixed
- Fix GridFS download stream interruption with multi chunks files
2.9.2 - 2023-10-24
Fixed
- Do not proxy bucket errors to client
2.9.1 - 2023-09-07
Fixed
- Fix cache config not being used in multibucket configurations
- sec: audit fix for VULNDB-329638
2.9.0 - 2023-07-03
- Add
ADDITIONAL_MIME_TYPES
environment variable to add new extension/mime-type relationships tomime-types
db
2.8.0 - 05-18-2023
Added
- opentelemetry tracing support
Updated
- lc39
- fastify v4
2.7.1 - 05-18-2023
Fixed
- Solved a bug that caused the
/download
route in single-bucket mode to fail due to improper scope management. This bug was introduced inv2.7.0
.
2.7.0 - 03-15-2023
Added
- Added support to multi bucket
- Added
GET - /files/
route to get the list of files present in the bucket - Added support to Azure Storage's Blob Service APIs
Fixed
- .npmrc file added to .dockerignore
2.6.4 - 08-11-2022
Added
useOriginalName
query parameter to GET /download/:file to allow the download of the files with its original name.
2.6.3 - 03-10-2022
Fixed
- Upload API OAS
2.6.2 - 24-08-2022
Changed
- Restored type file in schema for the upload and upload bulk APIs
2.6.1 - 12-08-2022
Changed
- Multipart form swagger definition
2.6.0 - 04-07-2022
Added
- Added
downloadWithOriginalName
query parameter toGET /download/:file
andGET - /download
to allow the download of the files with their original name.
2.5.0 - 23-05-2022
Added
- Added
GET - /download
route to download multiple files archived in a ZIP file.
2.4.1 - 18-05-2022
Changed
- Updated fastify stack and changed API validation strategy
2.4.0 - 21-02-2022
Added
- Added
POST - /bulk
route to upload multiple files.
Changed
- Updated dependencies
- Improved service documentations
2.3.2 - 03-12-2021
Fixed
- upload multipart
content-disposition
is now accepted even whenfilename
property is missing. This fixes a breaking change introduced withv2.3.0
.
2.3.1 - 2021-10-21
Updated
- force download as attachment for html files
- fixed max number of file to upload per request equal to 1
Added
- added OpenAPI documentation tags
2.3.0 - 2021-09-30
Added
- added
FILE_TYPE_INCLUDE_LIST
to let the user allow only certain file to be uploaded
2.2.1 - 2021-07-13
Security patch
- updated dependencies to fix security vulnerabilities
2.2.0 - 2021-06-24
Added
- cache control headers set based on configured cache from config file
2.1.0 - 2020-10-30
Updated
- Extended S3 configuration in order to employ an S3-compliant object (e.g: Oracle Object Storage)
- Updated gitlab-ci.yml mongo dependency, from this version mongo 4.4 support is guaranteed.
2.0.1 - 2020-10-13
Updated
- lc39: v3.1.4
2.0.0 - 2020-10-06
BREAKING CHANGE
- updated lc39 dependency to 3.1.3. The update is breaking since it's bringing up lc39 v3.x with the newer logging format.
1.3.0 - 11-06-2020
Added
- Add delete endpoint to delete files also from buckets
Fixed
- fix
/download/:filename
generated swagger
1.2.0 - 28-06-2019
Added
- Add
/-/check-up
status endpoint to check the availability of the service's dependencies
Updated
- @mia-platform/lc39 2.1.2 -> 2.2.0
- fastify-plugin 1.5.0 -> 1.6.0
- mongodb 3.2.5 -> 3.2.7
- tap 14.1.7 -> 14.2.4
- aws-sdk 2.461.0 -> 2.479.0
- form-data 2.3.3 -> 2.4.0
v1.1.0 - 11-06-2019
Added
- google-storage-api: Add GoogleStorage API as storage
- additional-properties: Add additional properties in order to attach some props on upload
- prefix-or-hostname: Add
PATH_PREFIX
for relative urls - swagger-additional-properties: Add swagger definition for additional properties