Skip to content

Releases: veo-labs/openveo-api

8.2.0

27 Feb 13:38
Compare
Choose a tag to compare

8.2.0 / 2023-02-27

NEW FEATURES

  • fileSystem.getFileType, fileSystem.getFileTypeFromBuffer and utils.validateFiles now support MP4 iso5 files

8.1.0

15 Apr 13:42
Compare
Choose a tag to compare

8.1.0 / 2022-04-15

DEPENDENCIES

  • connect-mongo has been upgraded from 4.4.1 to 4.6.0
  • mongodb has been upgraded from 3.6.10 o 4.5.0

8.0.4

04 Apr 09:55
Compare
Choose a tag to compare

8.0.4 / 2022-04-04

BUG FIXES

  • Fix require('@openveo/api').fileSystem.extract which wasn't able to extract large zip files (more than 2Go)

DEPENDENCIES

  • adm-zip has been replaced by node-stream-zip

8.0.3

10 Mar 14:49
Compare
Choose a tag to compare

8.0.3 / 2022-03-10

BUG FIXES

  • Fix require('@openveo/api').controllers.ContentController.addAccessFilter which was returning null if filter argument wasn't set

8.0.2

19 Nov 14:26
Compare
Choose a tag to compare

8.0.2 / 2021-11-19

BUG FIXES

  • Fix 8.0.1 release date

8.0.1

19 Nov 14:22
Compare
Choose a tag to compare

8.0.1 / 2021-11-19

BUG FIXES

  • Fix ovDeployGithubPages which was hanging when credentials where required to push to the repository

8.0.0

19 Nov 13:06
Compare
Choose a tag to compare

8.0.0 / 2021-11-19

BREAKING CHANGES

  • No longer tested on NodeJS < 16.3.0 and NPM < 7.15.1
  • require('@openveo/api').socket.SocketServer.listen signature has changed and now expects a list of allowed origins as second parameter
  • This is not a breaking change but a warning: Socket.io clients in version 2 are still supported but are strongly encouraged to upgrade to version 4
  • require('@openveo/api').util.validateFiles won't consider non tar files with .tar extension as tar archives

NEW FEATURES

  • require('@openveo/api').logger now adds a timestamp property to each log containing localized date and time
  • Improve code documentation by replacing Yuidoc by JSDoc
  • Add require('@openveo/api').watcher to listen to files system changes
  • ovWatch script has been added to execute an NPM script of files changes and can be launched using npx (see scripts/watch.js) for usage
  • ovRemove script has been added to remove file system resources and can be launched using npx (see scripts/remove.js) for usage
  • require('@openveo/api').imageProcessor.generateSpriteFreely has been added to be able to generate a sprite without resizing the images and simply ordering images by their height with all images of the same height on the same line of the sprites
  • require('@openveo/api').angularJs.parser has been added to offer tools to analyze and AngularJS application like sorting components files by dependence (used by grunt.ngDpTask) or generating an AngularJS run script to put all HTML templates into $templateCache
  • require('@openveo/api').fileSystem.replace has been added to be able to replace some text in a file
  • require('@openveo/api').fileSystem.performActions has been added to be able perform several copy / remove actions
  • require('@openveo/api').fileSystem.prepend has been added to be able to add text at the beginning of a file
  • require('@openveo/api').fileSystem.rmdir is now able to keep the directory itself
  • require('@openveo/api').fileSystem.rm is now able to remove the content of a directory without the directory itself
  • require('@openveo/api').fileSystem.getFileType has been added to be able to get the type of a file (only for supported files)
  • require('@openveo/api').fileSystem.extract is now capable of extracting zip files
  • require('@openveo/api').fileSystem now supports zip files
  • require('@openveo/api').storages.ResourceFilter now supports exists comparison operator to test if a field exists or not

BUG FIXES

  • Fix NodeJS DEP0005 warning when using fileSystem.readFile
  • Fix "callback was already called" error when using fileSystem.getJSONFileContent to parse invalid JSON

DEPENDENCIES

  • connect-mongo has been upgraded from 3.2.0 to 4.4.1
  • express-session has been upgraded from 1.17.0 to 1.17.2
  • mongodb has been upgraded from 3.5.5 to 3.6.10
  • passport-ldapauth has been upgraded from 2.1.4 to 3.0.1
  • shortid has been replaced by nanoid
  • socket.io has been upgraded from 2.3.0 to 4.2.0
  • tar-fs has been upgraded from 1.16.3 to 2.1.1
  • winston has been upgraded from 3.2.1 to 3.3.3
  • chai has been upgraded from 4.2.0 to 4.3.4
  • mocha has been upgraded from 7.1.1 to 9.1.0
  • multer has been upgraded from 1.4.2 to 1.4.3
  • yuidoc has been replaced by JSDoc
  • grunt-gh-pages has been replaced by a custom script
  • grunt-eslint has been removed
  • grunt has been removed
  • grunt-cli has been removed

7.0.0

04 May 07:49
Compare
Choose a tag to compare

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

6.2.2

02 Sep 13:09
Compare
Choose a tag to compare

6.2.2 / 2019-09-02

BUG FIXES

  • Fix duplicate values returned by require('@openveo/api').util.intersectArray when the same value was used several times in the same array

6.2.1

04 Jun 15:41
Compare
Choose a tag to compare

6.2.1 / 2019-06-04

BUG FIXES

  • require('@openveo/api').util.merge now leaves properties with value null as is instead of setting properties values to an empty Object