Analytix

Latest version: v5.3.0

Safety actively analyzes 688007 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 11

5.0.0

It's another major release!

For a full rundown of things that have changed, check out the [migration guide](https://parafoxia.github.io/analytix/guides/migrating/v4-v5/).

This changelog will cover changes between v5.0.0rc3 and v5.0.0.

Additions

* Added ability to forcibly authorise the client
* Re-added the update checker
* Added ability to fetch group items from group (`Group.fetch_items()`)

Changes

* Remove python-dateutil dependency
* More intelligently handle OOB redirect URIs
* Updated the banner!

Fixes

* Prevent a crash that would occur if a list of groups was requested for a channel with none

5.0.0rc3

Changes

* The `reports.interfaces` module has been split into separate `interfaces` and `resources` modules, where `resources` contains things like the `ResultTable`.

Misc

* Many admin things, such as declaring support for Python 3.13-dev
* Documentation is now cleaner
* You can no longer install libs using extras -- this was just overly verbose considering each installed just one library

5.0.0rc2

Additions

* The clients will now trigger the full auth flow if the scopes your tokens are authorised with aren't sufficient to make the requested fetch operations

Changes

* The `can_use` function now uses `importlib.metadata` instead of the deprecated `pkg_resources`
* Removed the `InvalidFeatures` and `InvalidFeatureSet` exception classes
* The `AnalyticsReport.to_parquet` and `.to_feather` methods no longer return Arrow tables

5.0.0rc1

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`.

4.2.3

Changes

* Logging now shows the time instead of the number of milliseconds since boot

Dependencies

* Added support for PyArrow 13

4.2.2

Largely an admin release.

* Declare PyPy 3.10 support in the README
* Update various base and development requirements

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.