Skip to content

0.1.0: Checks, tests, code updates

Choose a tag to compare

@wapmorgan wapmorgan released this 11 Apr 16:41

BC notes:

  • UnifiedArchive::extractNode() renamed → extractFiles(). Original method is still available with @deprecated status.
  • UnifiedArchive::archiveNodes() renamed → archiveFiles(). Original method is still available with @deprecated status.
  • UnifiedArchive::getFileData() now returns ArchiveEntry instead of stdClass. Original object fields are still available with @deprecated status.

Main changes:

  • Added checks of archive opening status in UnifiedArchive constructor: now an Exception is throwing if archive is not readable.

  • addFiles() and deleteFiles() now return false when archive is not editable.

  • Some changes in archiveNodes() about handling directory names.

  • Fixed archive rescan in addFiles() and deleteFiles().

  • Removed example scripts (examples/).

  • Code changes: added comments.