Skip to content

Releases: elliot-100/Spond-classes

v0.14.0

27 Dec 11:50
Compare
Choose a tag to compare

0.14.0 - 2024-12-27

Added

  • Explicit constructors Event.from_dict(), Group.from_dict()
  • Tests: missing tests for Profile optional attributes; simplify Event tests

Changed

  • Email attributes are Pydantic EmailStr type
  • Docs: be explicit when referring to Spond API; attributes aren't 'optional', they 'may not be present'.
  • Update dev dependencies: mypy, pdoc, pytest, ruff

Full Changelog: v0.13.1...v0.14.0

v0.13.1

19 Nov 17:06
Compare
Choose a tag to compare

0.13.1 - 2024-11-19

Changed

  • Remove upper bound on Python version
  • Docs: add intro, highlight Event and Group classes
  • Tests: instantiate with MyClass(**dict) instead of Pydantic internals; refactor fixtures

Full Changelog: v0.13.0...v0.13.1

v0.13.0

04 Nov 18:20
Compare
Choose a tag to compare

0.13.0 - 2024-11-04

Added

Changed

  • Update dev dependencies: mypy, ruff
  • Docs: don't document Pydantic internals

Full Changelog: v0.12.0...v0.13.0

v0.12.0

11 Oct 17:07
Compare
Choose a tag to compare

0.12.0 - 2024-10-11

Added

  • Add Profile to public API, with additional attributes: email, first_name,
    last_name, phone_nunber, property full_name
  • Support for Python 3.13
  • Docs: pdoc-generated HTML documentation in /docs

Changed

  • Dependencies: remove pydantic version upper bound
  • Update dev dependencies: pdoc, pre-commit, ruff

Full Changelog: v0.11.2...v0.12.0

v0.11.2

16 Sep 21:20
Compare
Choose a tag to compare

0.11.2 - 2024-09-16

Fixed

  • Hotfix: pdoc wouldn't render; solved by setting Pydantic dependency < 2.9

Full Changelog: v0.11.1...v0.11.2

v0.11.1

16 Sep 17:25
Compare
Choose a tag to compare

0.11.1 - 2024-09-16

Added

  • Tests for Group.member|role|subgroup_by_id() when Group.members|roles|subgroups
    is empty

Changed

  • Dev dependencies: add pdoc, update mypy, ruff, pytest

Removed

  • Explicit dependency on spond

Full Changelog: v0.11.0...v0.11.1

v0.11.0

17 Jul 10:06
Compare
Choose a tag to compare

0.11.0 - 2024-07-17

Added

  • Event attributes: cancelled, created_time, end_time, invite_time, type,
    property url.

Changed

  • Public API is defined using __all__ instead of import aliasing, which improves e.g.
    documentation handling in IDEs.
  • Consistent pattern for all classes' string representation, including full uid
  • Simplified and improved docstrings
  • Dependencies: remove upper bounds for simplicity; drop redundant python-dateutil
  • Dev dependencies: drop redundant types-python-dateutil

Fixed

  • Tests didn't import from the top-level namespace, i.e. didn't use public API.

Full Changelog: v0.10.1...v0.11.0

v0.10.1

02 Jul 13:54
Compare
Choose a tag to compare

0.10.1 - 2024-07-02

Changed

  • Update dev dependencies: ruff, pre-commit-hooks

Fixed

  • Docs: licence classifier, docstring omissions, backticks and paragraph breaks

Full Changelog: v0.10.0...v0.10.1

v0.10.0

19 Jun 18:24
Compare
Choose a tag to compare

0.10.0 - 2024-06-19

Changed

  • Dependencies: allow spond >= 1

Full Changelog: v0.9.2...v0.10.0

v0.9.2

09 Jun 00:29
Compare
Choose a tag to compare

0.9.2 - 2024-06-09

Changed

  • Group.members_by_role|subgroup() raises ValueError if passed instances aren't compatible
  • Tests for Group.member|role|subgroup_by_id(), Group.members_by_role|subgroup()
  • Update dev/test dependencies: pre-commit-hooks

Fixed

  • Example code in README

Full Changelog: v0.9.1...v0.9.2