Skip to content

v1.4.0

Compare
Choose a tag to compare
@AdrienCastex AdrienCastex released this 31 May 13:47
· 548 commits to master since this release

New features

  • Implemented a virtual stored resource, able to delegate its content to a content manager f3fff2b
  • Implemented a resource tester to make the resource development easier and more stable 36414fc

Changes

  • Now return an error when requesting the size or mime-type of a virtual or physical folder 12bdd45
  • Added a UID for the IUser interface 6c2b0be
  • Use the UID of the user instead of the reference to compare the users 6c2b0be
  • Removed the 'canLock' and 'canRemoveLock' methods from the resources 3902d35
  • Implemented 'stream.Readable' and 'stream.Writable' for the 'write' and 'read' methods of resources instead of using a 'Int8Array' :

Documentation

  • Modified the sample in the README file to match the new 'write' method in the resources 9f1b0f0

Tests

  • Added tests for the virtual stored resources using the resource tester cdd56d0
  • Added ResourceTester tests for the virtual and physical resources aea18ee
  • Adapted the tests to the 'stream.Readable' and the 'stream.Writable' addings 2d30e39
  • Increased the timeout value for the tests 4f73875
  • Modified the '*.content = ' into '.write(...) in the tests b81f383

Other

  • Added the ResourceTester class to the resource exports 92903ff
  • Standardized the 'moveTo' method of resources c6868fa
  • Modified the 'moveTo' method of the virtual and physical resources to be more reliable 44b38fe
  • Changed from 'dev-watch' to 'tsc' to compile 9f1f60c
  • Added 'process.nextTick(...)' for the serialization helper cbaa8f6

Bug fix

  • Fixed content un/serialization for virtual files 0a41414
  • Fixed XML error with the 'parse' function d96ea6d