Skip to content

Release 1.5.0

Compare
Choose a tag to compare
@khashashin khashashin released this 13 Aug 05:24
· 9 commits to main since this release

Features:

  • Appwrite Authentication for DRF: Introduced the AppwriteAuthentication class, enabling Django Rest Framework users to authenticate with Appwrite easily. This authentication class leverages Appwrite's JWT mechanism to authenticate users, making it more streamlined and efficient.
  • Custom setup.py Commands: Added custom build and publish commands in setup.py, simplifying the package build and publish process. Users can now build the package using python setup.py build and publish it with python setup.py publish --version=x.x.x.

Improvements:

  • Enhanced Middleware Configuration: Refined the AppwriteMiddleware to fetch configurations more elegantly, avoiding redundancy. Also, improved error handling and logging mechanisms to provide clearer feedback to developers.
  • Documentation Update: Enhanced the README with clear instructions, added information on the new AppwriteAuthentication class, and updated usage examples.

Notes:

For those using AppwriteMiddleware, remember that CSRF protection is in place by default in Django. Since the middleware leverages session-based authentication, ensure that the CSRF tokens are correctly set and verified in AJAX requests to avoid 403 errors.