Skip to content

Latest commit

 

History

History
74 lines (57 loc) · 2.9 KB

CHANGELOG.md

File metadata and controls

74 lines (57 loc) · 2.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

4.2.1 - 2020-08-04

Fixed

  • SMBConnectionMock.listPath now lists directories by default (as in pysmb).

4.2.0 - 2020-07-31

Changed

  • Folder creation is now performed using a temporary folder name to avoid issues with folder not being available for file system listeners right away.

4.1.0 - 2020-07-28

Added

  • write_to_new_folder_after parameter to pyndows.move allowing to wait (or not), for a few seconds before writing file after a folder creation.

Changed

  • pyndows.move now waits 1 second in case of a folder creation before writing the file.

Fixed

  • Avoid warning in test cases on Windows when pytest could not remove the content of temporary folders.

4.0.0 - 2020-04-24

Changed

  • Mock was entirely rewritten, check documentation for details.
  • Ensure all parent folders are created before creating a file.
  • pyndows.PyndowsException are now raised instead of Exception.

3.4.0 - 2020-02-25

Added

  • timeout parameter for pyndows.move.
  • SMBConnectionMock.storeFile_exceptions to raise exception in case storeFile is called.

Deprecated

  • SMBConnectionMock.storeFile_failure, use SMBConnectionMock.storeFile_exceptions instead.

3.3.1 - 2020-02-06

Fixed

3.3.0 - 2020-02-04

Fixed

  • retrieveFile mock was not working with Python < 3.8 in case retrieved file content was bytes.

Added

  • pyndows.get_folder_content listing the content of a folder (non-recursively).
  • File type (isDirectory boolean) within mocked SharedFile object.

3.2.0 - 2020-01-22

Fixed

  • Allow to store bytes content using Mock.
  • Mock is now able to retrieve a file that was previously stored.

Added

  • Mock stored files can now be retrieved with the help of a timeout via try_get method.

3.1.0 - 2019-12-03

Added

  • Initial release.