Skip to content

7.0.0

Compare
Choose a tag to compare
@maxime-beguin maxime-beguin released this 04 May 07:49
· 66 commits to master since this release

7.0.0 / 2020-05-04

BREAKING CHANGES

  • Drop support for NodeJS < 12.4.0 and NPM < 6.9.0
  • require('@openveo/api').logger console parameter if now set to false by default meaning that logs won't be printed to the standard output unless console parameter is set to true

NEW FEATURES

  • Add support for sorting by score to require('@openveo/api').providers.EntityProvider get and getAll methods
  • Add require('@openveo/api').storages.ResourceFilter.getLogicalOperation to be able to find a logical operation from filter's operations
  • require('@openveo/api').logger is now capable to log to standard output without logging to file by setting console parameter to true without specifying a file
  • Add drop index support to require('@openveo/api').storages.Database
  • Add require('@openveo/api').util.removeHtmlFromText to be able to clean a text containing HTML entities and tags

BUG FIXES

  • require('@openveo/api').fileSystem.extract now executes callback with an error for an incomplete archive
  • require('@openveo/api').logger didn't respect the level parameter when logging to the standard output, it does now
  • require('@openveo/api').fileSystem rm, rmdir and readdir have been fixed to avoid "Callback was already called" error when something went wrong on several resources

DEPENDENCIES

  • async has been upgraded from 2.1.4 to 3.2.0
  • connect-mongo has been upgraded from 1.3.2 to 3.2.0
  • mongodb has been upgraded from 2.2.16 to 3.5.5
  • esprima has been upgraded from 4.0.0 to 4.0.1
  • express-session has been upgraded from 1.14.2 to 1.17.0
  • gm has been upgraded from 1.23.0 to 1.23.1
  • multer has been upgraded from 1.3.0 to 1.4.2
  • passport has been upgraded from 0.4.0 to 0.4.1
  • passport-ldapauth has been upgraded from 2.0.0 to 2.1.4
  • shortid has been upgraded from 2.2.6 to 2.2.15
  • socket.io has been upgraded from 1.7.2 to 2.3.0
  • tar-fs has been upgraded from 1.15.0 to 1.16.3
  • winston has been upgraded from 2.3.0 to 3.2.1
  • xml2js has been upgraded from 0.4.17 to 0.4.23
  • grunt has been upgraded from 1.0.3 to 1.1.0
  • grunt-contrib-yuidoc dependencies have been upgraded
  • grunt-eslint has been upgraded from 21.0.0 to 22.0.0
  • grunt-gh-pages dependencies have been upgraded
  • mocha has been upgraded from 5.2.0 to 7.1.1
  • mock-require has been upgraded from 3.0.2 to 3.0.3