Skip to content

Latest commit

 

History

History
304 lines (190 loc) · 13.1 KB

CHANGELOG.md

File metadata and controls

304 lines (190 loc) · 13.1 KB

Change log of CookieDB versions

0.1.0

Aditions

  • CookieDB.create_database: method to creating a database;
  • CookieDB.open: method to open a database;
  • CookieDB.commit: method to commit database changes;
  • CookieDB.create_item: method to create item in database;
  • CookieDB.get_item: method to get item from database.

1.0.0

Aditions

  • d8d4b95: Adding ".cookiedb" extension to CookieDB files;
  • a009f6a: Creating unit test using PySeqTest.

Fixs

  • f2ff9dc: Adding empty character filter from "path_list".

1.1.0

Aditions

  • 938a0e3: Creating NoOpenDatabaseError class in exceptions.py;
  • 4ad55de: Creating decorator to check if there is an open database.

1.2.0

Aditions

  • 3b51b74: Adding method to delete items from database;
  • 0fbb070: Adding license notice to files.

2.0.0

Improvements

  • b832f56: Renaming "wrapper" function to "decorator";
  • 60d27d5: Renaming CookieDB.get_opened_database method to checkout;
  • cdac90f: Removing Union[str, int] from writing and reading methods;
  • 6ec1aff: Renaming CookieDB.create_item method to add;
  • 6be7f84: Renaming CookieDB.get_item method to get.

2.0.1

Fix

  • 1efebcf: Fixing database persistence error when committing new data.

3.0.0

Improvements

  • 57c6019: Adding CookieDB._get_database_items method;
  • 0c10824: Removing commit option for user.

3.0.1

Improvements

  • fc2eefe: Update CookieDB.add method docstring;
  • 9540c14: Adding method to filter item path;
  • a491c86: Filter empty string in CookieDB.get method.

3.0.2

Fix

  • df37f99: Removing autocommit from README.md.

3.0.3

Fix

  • 8cbc837: Avoiding exception by deleting the item only if it exists;
  • e1fc339: Adding docstring to CookieDB.delete method.

4.0.0

Fix

  • f3804c1: Creating InvalidDatabaseKeyError exception;
  • 1aa48c2: Checking database encrypt key in open method.

4.1.0

Aditions

  • 0f3f795: Creating ItemNotExistsError exception;
  • 8dad755: Adding CookieDB.update method to update existent items.

4.2.0

Aditions

  • 06cf483: Adding method to close a open database.

4.2.1

Fix

  • 5439611: Changing condition to True if path getting is not None.

4.2.2

Improvements

  • 3859228: Removing CookieDB files from database/ directory;
  • 31258a3: Changing cryptography import in cookiedb.py.

4.2.3

Improvements

  • 443bea6: Updating project requirements;
  • 72da046: Import fernet from _document.py file.

4.2.4

Improvements

  • 9f8eb8e: Removing python_requires from setup script.

4.2.5

Fix

  • 46ae46c: Adding version manually in setup script.

4.2.6

Fix

  • 9f4e7de: Updating and adding docstring to checkout() method.

4.2.7

Fix

  • f3dab3b: Updating cryptography version in requirements;
  • 5933f5e: Updating cryptography version in setup script.

5.0.0

Fixs

  • 9a55821: Removing Fernet key support;
  • 3579138: Change generate_fernet_key function to private.

6.0.0

Improves

  • 4136012: Create InvalidKeyError exception;
  • b7e57f2: Remove default key from __init__() method;
  • 4a9c283: Remove key decode from base64;
  • a237527: Rename "key" argument in JSONHandler.__init__();
  • 6165e18: Rename JSONHandler class to Document;
  • daa70c1: SecPickle library pre-implementation;
  • 715d0af: Fix variable name in create_document() method;
  • c2deb00: Rename encrypt and decrypt methods;
  • da28691: Rename _document.py module import;
  • c915a28: Thrown DatabaseNotFoundError exception if document is not found;
  • d270260: Implement faster method for writing and reading database files;
  • c1b918e: Use picke module instead of secpickle;
  • 3bcf91d: Improve condition in create_database() method;
  • 833a8d2: Change _get_path_list() method for more perfomance;
  • fdd4a76: Use strftime to format time.

6.0.1

Improves

  • 577ef81: Store length of list instead of calculating every iteration;
  • 3b861ed: Update cryptography library version.

7.0.0

Features

  • 32bfd2e: Create Cryptography class;
  • 94b8e9a: Raise custom InvalidTokenError and InvalidSignatureError exceptions;
  • b319915: Use Cryptography in _document module;
  • 190167b: Remove key base64 encode from CookieDB.__init__.

7.1.0

Features

  • Use bytes.join() method to join encrypt data.
  • Create append() method.
  • Create a Document instance on open a database.
  • Import only what is needed in the code.

8.0.0

Features

  • Remove open(), create_database() and checkout() methods.
  • Create database automatically if not exist.

8.1.0

Features

  • Create path if not exist in CookieDB.append() method.

9.0.0

Features

  • Remove all methods that use pickle.
  • Create self method to store data and read database by lines.
  • Loading only necessary data when getting, adding, deleting and updating.
  • Encode and decode data using struct in Cryptography class.
  • Raise ValueNotSupportedError to not suported values (supported data types: str, int, float, bool, dict and list).