All notable changes to this project will be documented in this file.
v1.2.1 - 2024-04-12
- Nothing new in this version.
- Updated the project version from 1.2.0 to 1.2.1 in the
__init__.py
file. - Modified the
SimpleCache
class in__init__.py
to accept only a validProvider
. - Changed the
init
method of theFileProvider
class to have a return type ofNone
. - Updated the
Provider
abstract class inprovider.py
to include a return type ofNone
for theinit
method.
- Removed redundant code related to the initialization of the
FileProvider
. - Deleted unnecessary comments and unused imports in the codebase.
- Eliminated redundant code in test files.
v1.2.0 - 2024-03-23
- Added
pytest-cov
to dev dependencies inpyproject.toml
. - Introduced a new
FileProvider
in thesimple_cache.providers
module.
- Updated the
__init__.py
file to set the version to1.2.0
. - Modified the
SimpleCache
class in__init__.py
to accept only a validProvider
. - Changed the
init
method of theFileProvider
class to have a return type ofNone
. - Updated the
Provider
abstract class inprovider.py
to include a return type ofNone
for theinit
method.
- Removed redundant code related to the initialization of the
FileProvider
. - Deleted unnecessary comments and unused imports in the codebase.
- Eliminated redundant code in test files.
v1.1.2 - 2024-03-21
- Updated the package version from 1.1.1 to 1.1.2 in the
__init__.py
file. - Modified the
__init__
method in theSimpleCache
class to accept an optionalprovider
parameter.
v1.1.1 - 2024-03-19
- Development dependencies installation instructions to contribute to the project.
config.py.example
file to showcase how to set up Deta key.- Instructions on how to run tests using the
pytest
command. - A coverage section detailing how to include coverage in tests.
- Updated the project version from
1.1.0
to1.1.1
. - Modified the
simple_cache/__init__.py
file to return the actual value from the cache instead of the whole cache object when callingfunction()
.
- The need to manually install
pytest
. config.py
file content from the repository. It is now provided as an example only.
v1.1.0 - 2024-03-19
- Added
attach
decorator feature that stores the result of a function in the cache, reducing repetitive executions. - Included
DetaProvider
class for caching using Deta databases. - Added
requirements.dev.txt
andtest.bat
for development requirements and testing script. - Updated
description
inpyproject.toml
to mention the support for providers. - Created
cache_data.py
to represent cached data as a class. - Implemented mocks and tests for the
attach
decorator,DetaProvider
, and basic cache operations.
- Removed
main.py
as it is no longer needed for the library. - Modified
README.md
to include the detailed usage of the Simple Cache library.
- Deleted unused files such as
.gitignore
entries and thetests/test_simple_cache.py
script.