Skip to content

Releases: zerex290/sankaku

v2.0.1

17 Sep 12:04
Compare
Choose a tag to compare

Bug fixes

  • Add new field reactions to PageBook and Post models;
  • Update tags field at GenerationDirectives model - make it optional, because an actual property in JSON response can be missing.

v2.0.0

15 Aug 09:16
Compare
Choose a tag to compare

Changes

  • Update (or fix) JSON response models after continuous tests for each model (100 pages per model);
  • Remove deprecated fields from JSON response models;
  • Add support for static type checking with pyright (configured at pyproject.toml);
  • Add support for lint check with ruff (configured at pyproject.toml);
  • Add support for code formatiing with yapf (configured at pyproject.toml);
  • Update paginators and add ability for them to set range and step of pages through which the iteration takes place;
  • Update almost all client methods (where return type is AsyncIterator) and add ability for them to set range and step of items (e.g. posts, books, users or tags) through which the iteration takes place;
  • Update all documentation both at clients and at paginators;
  • Move URLs, that were hardcoded inside clients' methods, to constants;
  • Rename some constant names;
  • Update all tests to support python <3.10;
  • Change minimum supported python version to 3.8.