Skip to content

v5.0.0rc1

Pre-release
Pre-release

Choose a tag to compare

@parafoxia parafoxia released this 31 Aug 22:23
· 120 commits to main since this release

Changes

  • This release changes the client interfaces quite a bit. They are now no longer async (async support may be reintroduced in an extension library), and are significantly simpler under the hood. The base client is now better suited to most web application uses.
  • The oidc module has been re-written, and is now called auth. It performs largely the same tasks, just slightly differently in some cases.
  • Shards can no longer refresh tokens -- that's now the client's job.
  • The APIError exception class now has subclassed for 400, 401, 403, and 404 errors.
  • Python 3.7 support has been dropped, but analytix now supports Python 3.12!

A full migration guide will be written nearer the time of full v5 release, but these are the bigger changes for now. Much of the "backend" stuff per se (like request verification, the AnalyticsReport class, etc.) remains the same for now, but some of these things will be changed before the final version goes out.

All new features have 100% unit test coverage, but let me know if you run into any issues!

Additional notes

  • Live documentation won't be updated, though documentation has been added for new and updated features. To read these docs, run pip install -r requirements/docs.txt, then mkdocs serve.