This repository was archived by the owner on Dec 28, 2025. It is now read-only.
Releases: DarylStark/my-lib-py-data
Releases · DarylStark/my-lib-py-data
Release list
1.2.5
1.2.4
- Bugfix: The database session was commited after a
Contextwould be closed, even if exceptions occured during theContext. This is fixed now. If, during theContexta exception happens, the database session will be aborted.
1.2.3
- Breaking: ranamed
MyModeltoResource - Breaking: added the
Errorprefix after certain exception-classes - Bugfix: if only given one API Token Scope, the
APITokenAuthorizerwould not parse it correctly - Bugfix:
ServiceContextis not a childclass ofUserContextanymore - Bugfix: a user cannot elevate his own role anymore
- Added
rufflinting - Added
pre-commit - Updated
sqlmodelto version0.0.16 - Updated importes in
__init__.pyfiles - Added
createdandupdatedfields toResource-models - Made sure no Tags can be added that already exists for a user
- Added a model for temporary tokens for password resets
- Added support for multiple sort fields in retrievers
1.2.2
- Fixed a typing error in the
APIScopeTokenmodel which resulted in a unusable database in MySQL - Updated the GitHub Actions to use the newer NodeJS versions
1.2.1
- Added unique flag to some fields
- Made sure the documentation contains a versionnumber
1.2.0
- Added sorting to data retrieval
- Added pagination to data retrieval
- Added a method to get the data count for specific queries
- Added a method to contexts to rollback the transaction
- Fixed the Python Generics
- Refactored
ResourceManagerto aAbstract Factorypattern - Added a method to Service Contexts to retrieve
APITokenobjects by API token string - Added a
Authenticatorclass - Added a
Authorizerclass - Added a
DataLoaderclass to import data from JSON files or other sources - Added logging
- Created a different
Contextclass for Service Users - Made sure the Service User credentials can be added to the
MyDataobject itself - Move the database creation to a seperate class
- Updated the documentation
1.1.1
- Added code coverage checking
- Updated
pytestconfiguration - Added tests to increase code coverage (is now at 100%)
- Made sure tests are also checked for quality in the workflow
- Made sure all tests comply with
PEP-8 - Converted the library to a typed library
- Upgraded
my-modelto version1.3.1 - Bugfix: documentation was missing all
autodocfeatures because of a bug in the workflow. This is fixed now.
1.1.0
- Updated
SQLmodelto0.0.14andPydanticto2.0 - Updated
ds-my-modelto version1.3.0
1.0.1
- Updated the
my-modelto version1.2.1 - Updated
bumpver - Renamed some GitHub action titles