Skip to content

Releases: parafoxia/analytix

v6.0.0a3

16 Apr 17:19

Choose a tag to compare

v6.0.0a3 Pre-release
Pre-release

Changes

Largely administrative release, updating license definitions, and moving the code layout to a src-like structure.

v6.0.0a2

13 Mar 11:52

Choose a tag to compare

v6.0.0a2 Pre-release
Pre-release

This update mainly makes updates to new interfaces for v6.0.

  • Session contexts have been replaced with more fully-fledged sessions; this doesn't really affect the default behaviour, but should make it easier to implement your own session behaviour
  • Secrets and Tokens now use a more pandas-esque interface for reading and writing tokens
  • The minimum compatible Python version is now 3.11

v5.5.1

11 Mar 22:31

Choose a tag to compare

This release largely just ensures what analytix supports is declared accurately. Thankfully, everything still works!

v6.0.0a1

31 Mar 11:22

Choose a tag to compare

v6.0.0a1 Pre-release
Pre-release

Another major version!

It's that time again for yet another major version. Just as you thought the current version would be the last!

What's changed so far?

  • The biggest change is to how the client is authorised. Secrets and Tokens are now able to make their own requests (meaning tokens can now refresh themselves)
  • There is now only one Client, and is uses sessions instead of shards to make bulk requests. This is significantly less clunky both to use and implement
  • The Tokens.expires_in attribute can now be reliably updated by analytix!
  • The Scopes.ALL now includes JWT scopes -- Scopes.ALL_READONLY mirrors the old behaviour
  • The minimum supported version of Python is now 3.10

What will change next?

I want to try and get to each part of the code and simplify it. I've already started working on simplifying the report validation system (which hasn't seen any major changes for a good few years now), and I plan to separate the workings of groups and reports, as currently groups are kinda second-class citizens.

Newer versions of Python of course have new features, and one that is particularly suited to analytix is exception groups. These will allow analytix to show all validation errors it finds at the same time, rather than one at a time (though you won't see this benefit if you're on Python 3.10).

It's worth keeping in mind that this is an alpha version, and there may be bugs. The core functionality seems to work okay, but the extended functionality (that which requires optional third-parties) has not been tested to the same degree, and may not work so well at the moment. Of course, as v6 continues development, these issues will be fixed, but do let me know if you see anything in the meantime!

v5.5.0

26 Mar 11:40

Choose a tag to compare

Additions

  • The now-mandatory (and undocumented!) refresh_token_expires_in field in token fetching responses is now supported.

v5.4.0

08 Jan 10:47

Choose a tag to compare

Changes

  • Change implementation for generating state tokens to something a bit more standard

Other

  • Enable support for Python 3.14
  • Various CI and formatting changes

v5.3.0

11 Aug 17:14

Choose a tag to compare

Changes

  • Legacy playlist reports have been removed
  • A breaking change within urllib3 has been countered (thanks for putting a breaking change in a minor release lads)

v5.2.1

03 Jun 22:11

Choose a tag to compare

Other

  • Utilise parametrised tests for video reports
  • Update min and max supported versions for dependencies

v5.2.0

10 Feb 11:46

Choose a tag to compare

Additions

Fixes

  • Fixed a bug where the client would open the browser even if the user explicitly disallowed it
  • Fixed a validation oversight in the "Top playlists (deprecated)" report type

v5.1.2

09 Feb 17:56

Choose a tag to compare

Changes

  • Added deprecation warning regarding playlist reports