Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Releases: DarylStark/my-lib-py-data

1.2.5

Choose a tag to compare

@DarylStark DarylStark released this 23 Mar 12:22
1.2.5
  • Added two new values to TemporaryTokenType:
    • ENABLE_2FA
    • DISABLE_2FA
  • Added TemporaryToken and TemporaryTokenType to the __init__.py file

1.2.4

Choose a tag to compare

@DarylStark DarylStark released this 18 Mar 19:53
1.2.4
  • Bugfix: The database session was commited after a Context would be closed, even if exceptions occured during the Context. This is fixed now. If, during the Context a exception happens, the database session will be aborted.

1.2.3

Choose a tag to compare

@DarylStark DarylStark released this 18 Mar 15:34
1.2.3
  • Breaking: ranamed MyModel to Resource
  • Breaking: added the Error prefix after certain exception-classes
  • Bugfix: if only given one API Token Scope, the APITokenAuthorizer would not parse it correctly
  • Bugfix: ServiceContext is not a childclass of UserContext anymore
  • Bugfix: a user cannot elevate his own role anymore
  • Added ruff linting
  • Added pre-commit
  • Updated sqlmodel to version 0.0.16
  • Updated importes in __init__.py files
  • Added created and updated fields to Resource-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

Choose a tag to compare

@DarylStark DarylStark released this 15 Feb 20:24
1.2.2
  • Fixed a typing error in the APIScopeToken model which resulted in a unusable database in MySQL
  • Updated the GitHub Actions to use the newer NodeJS versions

1.2.1

Choose a tag to compare

@DarylStark DarylStark released this 14 Feb 20:34
1.2.1
  • Added unique flag to some fields
  • Made sure the documentation contains a versionnumber

1.2.0

Choose a tag to compare

@DarylStark DarylStark released this 12 Feb 20:55
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 ResourceManager to a Abstract Factory pattern
  • Added a method to Service Contexts to retrieve APIToken objects by API token string
  • Added a Authenticator class
  • Added a Authorizer class
  • Added a DataLoader class to import data from JSON files or other sources
  • Added logging
  • Created a different Context class for Service Users
  • Made sure the Service User credentials can be added to the MyData object itself
  • Move the database creation to a seperate class
  • Updated the documentation

1.1.1

Choose a tag to compare

@DarylStark DarylStark released this 05 Jan 22:00
1.1.1
  • Added code coverage checking
  • Updated pytest configuration
  • 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-model to version 1.3.1
  • Bugfix: documentation was missing all autodoc features because of a bug in the workflow. This is fixed now.

1.1.0

Choose a tag to compare

@DarylStark DarylStark released this 15 Dec 21:36
1.1.0
  • Updated SQLmodel to 0.0.14 and Pydantic to 2.0
  • Updated ds-my-model to version 1.3.0

1.0.1

Choose a tag to compare

@DarylStark DarylStark released this 18 Oct 18:56
1.0.1
  • Updated the my-model to version 1.2.1
  • Updated bumpver
  • Renamed some GitHub action titles

1.0.0

Choose a tag to compare

@DarylStark DarylStark released this 26 Aug 19:58
1.0.0

Initial release