Skip to content

Releases: parafoxia/analytix

v4.2.1

29 May 21:16
Compare
Choose a tag to compare

Additions

  • Allow for the passing of kwargs to Report().to_json()

Changes

  • Appease a deprecation in Polars

Dependencies

  • Increased the minimum supported version of Polars to 0.17.3
  • Added support for PyArrow 12

v4.2.0

27 Mar 21:51
Compare
Choose a tag to compare

Additions

The Client, AsyncClient, and AsyncBaseClient now accept a scopes parameter, which should be a Scopes enum. This fixes an issue detailed in #41 where non-partnered channels would encounter 403 errors when trying to pull revenue data.

All owners non-parnetered channels should implement this change. To do so, configure your client so the scopes is explicitly set:

from analytix import Client, Scopes

client = Client(scopes=Scopes.READONLY)

You will need to re-authorise if you alter the scopes.

Changes

  • Some miscellaneous updates to warnings
  • python -m analytix now tells you if the install version of analytix is the latest

v4.1.5

25 Feb 23:38
Compare
Choose a tag to compare

Changes

  • This release basically improves the code quality thanks to the introduction of ruff
  • A few (very minor) issues have been fixed

v4.1.4

19 Feb 21:42
Compare
Choose a tag to compare

Bug fixes

  • Fixed a typing bug in the to_excel, to_pandas, to_arrow, to_polars, to_feather, and to_parquet AnalyticsReport methods
  • Added empty data checks for Arrow and Polars conversions

Other changes

  • Exceptions thrown on invalid requests have been overhauled (#53)
    • You should still catch InvalidRequest exceptions
    • InvalidFeatures and InvalidFeatureSet exceptions are deprecated -- they still exist for backward compatibility, but now function identically to InvalidRequest
    • Error messages have been drastically improved, both in style and substance

v4.1.3

17 Feb 23:44
Compare
Choose a tag to compare

Bug fixes

  • Fixed a typing bug when using the AsyncClient with a context manager

Other changes

  • Acted upon deprecation warnings from Polars
    • The minumum supported version is now 0.15.17
  • Improved how deprecation warnings are handled

v4.1.2

15 Feb 21:55
Compare
Choose a tag to compare

Bug fixes

  • Fixed a bug where setting sort options that weren't part of the given metrics would pass as valid (#48)
  • Updated the docs link in the auth landing page
  • Overhauled the way analytix handles warnings, which should make their behaviour more consistent
    • Each warning also has a warning class, which can be filtered as per your want

v4.2.0rc1

11 Feb 22:22
Compare
Choose a tag to compare
v4.2.0rc1 Pre-release
Pre-release

Adds experimental in-house plotting support for reports.

v4.1.1

06 Feb 22:27
Compare
Choose a tag to compare

Changes

  • Fixed a bug where setting the start_index too high on reports with a defined maximum number of results would throw errors

v4.1.0

19 Jan 21:38
Compare
Choose a tag to compare

Additions

  • Added support for the new geographical activity by city report type and the new city and creatorContentType dimensions.

v4.0.0

29 Dec 23:03
Compare
Choose a tag to compare

New major release!

For a full list of changes, see the migration guide.

Note that version 3 will probably continue to be supported (partially) until 15 Mar 2023. Bugs will be fixed, except where changes would be so significant an upgrade to version 4 would be necessary anyways, but no new features will be added.