Skip to content

Releases: makeomatic/ms-files

v2.1.4

17 Mar 11:58

Choose a tag to compare

<a name"2.1.4">

2.1.4 (2016-03-17)

Bug Fixes

  • postProcess: correctly call utils right away (0fec858b)

v2.1.3

17 Mar 11:35

Choose a tag to compare

<a name"2.1.3">

2.1.3 (2016-03-17)

Bug Fixes

  • list: allow searching with owner set to alias (d5bd9c82)

v2.1.2

16 Mar 15:36

Choose a tag to compare

<a name"2.1.2">

2.1.2 (2016-03-16)

Bug Fixes

  • report errors when post-processing files for the second time (88b62203)

v2.1.1

16 Mar 15:23

Choose a tag to compare

<a name"2.1.1">

2.1.1 (2016-03-16)

Bug Fixes

  • checking metadata roles crash (fe265f8a)

v2.1.0

16 Mar 11:21

Choose a tag to compare

<a name"2.1.0">

2.1.0 (2016-03-16)

Features

  • upload: add extra file type c-archive (f755dd70)

v2.0.3

13 Mar 11:49

Choose a tag to compare

<a name"2.0.3">

2.0.3 (2016-03-13)

Bug Fixes

  • download: return name of the upload (6c6de56e)

v2.0.2

11 Mar 12:35

Choose a tag to compare

<a name"2.0.2">

2.0.2 (2016-03-11)

Bug Fixes

v2.0.1

11 Mar 12:19

Choose a tag to compare

<a name"2.0.1">

2.0.1 (2016-03-11)

Bug Fixes

v2.0.0

10 Mar 15:30

Choose a tag to compare

<a name"2.0.0">

2.0.0 (2016-03-10)

Bug Fixes

  • info:
    • make sure that requested username/alias matches owner (5546d60b)
    • rewrite file owner to requested username (4a5f51f1)
  • list: static list properties for filter, fix patternProperties (9d43fc6b)

Features

  • refactor to allow composite file uploads (0fc6bb7a)
  • get: adds files.get (c7d1aff3)
  • upload: allow batch upload of multiple items (997a4104)

Breaking Changes

  • all file uploads are now composite. That means that each initiated upload can
    contain arbitrary number of corresponding files that will be processed only once all of them are
    uploaded

API CHANGES:

  1. owner -> username in all endpoints, but .list
  2. files.upload
{
  "files": Array, // array of files with format corresponding to common schemas
  "username": "String", // owner is required in every endpoint now
  "meta": {
    "name": "File name"
  },
}

Consult further with the schema and tests.

  1. files.finish - is ready to accept automatic notifications. Only requirement is
    to receive filename, has skipProcessing and await control functions as before
  2. files.process - invoked automatically after finish by default. Refactored and uses
    post processing hooks now
  3. files.download - only allows getting URLs for processed files. Instead of a single URL it
    returns file metadata, URLs for all parts to be downloaded. If file is public then it returns
    non-signed URLs
  4. files.access - alters access on all files in the upload. Files must be processed to become
    public
  5. files.remove - kills all files in the upload
  6. files.info - correctly returns information for public files and private files, no whitelisting
    implemented
  7. files.list - mostly the same as before, amount of fields to be searched through is lowered

Refactored:

  1. pulled isProcessed check into a helper

  2. tests are refactored and no longer use any globals

  3. many utility functions are added in tests to keep it DRY

  4. added more custom hooks, especially moved charging for models from http to the service

    (0fc6bb7a)

v1.4.0

22 Feb 11:03

Choose a tag to compare

<a name"1.4.0">

1.4.0 (2016-02-22)

Features

  • access: release file access control (adb09d9a)