Skip to content

Better, faster streams and APIs

Compare
Choose a tag to compare
@sergi sergi released this 05 Jul 14:48
· 157 commits to master since this release

This release accomplishes the following:

  • Uses node streams instead of the stream module, improving a lot memory usage and speed.
  • Better and easier to use APIs
  • Get rid of buggy synchronous APIs
  • Gets rid of 200+ lines in the main jsftp module, keeping functionality
  • Gets rid of 7000+ lines in total by modularizing and refactoring
  • Added and improved unit tests
  • Many small bugfixes

BIG Warning: This version of jsftp breaks API compatibility with previous versions, it is NOT a drop-in replacement. Please be careful when upgrading. The API changes are not drastic at all and it is all documented below. If you do not want to upgrade yet you should stay with version 0.6.0, the last one before the upgrade. The API docs are updated for 1.0