Skip to content

Releases: makeplane/plane-python-sdk

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 22 Sep 11:33
721061d

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 13:04
2446dc5

Added

A client for the v2 API, under client.v2 — 407 operations across 90
resources. Everything you use today is untouched: v2 is a new namespace beside
the existing surface, not a replacement for it.

There are two ways in, and they compose:

# Flat path — each segment consumes exactly one URL path id
client.v2.workspaces.projects.states.list("acme", "ENG")

# Loaded rows — a fetched row carries its ids, so nothing repeats
project = client.v2.workspaces.projects.retrieve("acme", "ENG")
project.cycles.list()
project.work_items.create(CreateWorkItem(name="Ship it"))

Path ids are named after the resource they identify, singular, with no _id
suffix: retrieve(slug, project, state).

  • Navigable rows — 19 Loaded* types. A fetched workspace reaches 25
    children, a project 19, a work item its comments, links, attachments and
    worklogs.
  • Typed projection — fields= and expand= wherever the API declares them,
    with generated Literal aliases so editors complete the valid values. Reading
    a field you did not request raises FieldNotRequested, naming what the server
    did return, so "not requested" can never be mistaken for "null".
  • Typed filters and ordering — every query filter the API declares is
    reachable, as TypedDict keyword arguments; order_by= is likewise typed.
  • Pagination — both envelopes: offset (per_page, offset) and cursor
    (cursor). iterate() follows pages on either, so the difference stays out of
    your code.
  • Lookup by name — find_by_name(...), and find_by_display_name(...) on
    property resources, so scripts can use the names people see in the UI instead
    of ids.
  • Bridges — add / remove on relationship collections, e.g.
    cycle.work_items.add([...]), up to 100 ids per call.
  • Bulk writes — bulk_create / bulk_update / bulk_delete where the API
    offers them, up to 50 items per call.
  • py.typed — the package now ships a PEP 561 marker, so type checkers see
    its annotations.

v2 exceptions, including FieldNotRequested, are importable from plane.api.v2.

Full Changelog: v0.2.24...v0.3.0

v0.2.24

Choose a tag to compare

@github-actions github-actions released this 02 Sep 09:54
4fdaded

What's Changed

  • chore(deps): bump black from 24.8.0 to 26.3.1 by @dependabot[bot] in #22
  • feat: add parent to work item comment models by @sunder-ch in #71

New Contributors

Full Changelog: v0.2.23...v0.2.24

v0.2.23

Choose a tag to compare

@github-actions github-actions released this 20 Aug 10:35
31a4f9e

What's Changed

Full Changelog: v0.2.22...v0.2.23

v0.2.22

Choose a tag to compare

@github-actions github-actions released this 04 Aug 11:15
b17befb

What's Changed

  • feat: add workspace governance resources (workspace states, workspace workflows, type governance) by @sunder-ch in #66

Full Changelog: v0.2.21...v0.2.22

v0.2.21

Choose a tag to compare

@github-actions github-actions released this 23 Jul 12:46
a789ece

What's Changed

Full Changelog: v0.2.20...v0.2.21

v0.2.20

Choose a tag to compare

@github-actions github-actions released this 20 Jul 16:57
78702e9

What's Changed

Full Changelog: v0.2.19...v0.2.20

v0.2.19

Choose a tag to compare

@github-actions github-actions released this 30 Jun 09:55
125d8f8

What's Changed

  • feat: Add lite list endpoints, project role distribution, and cycle status filtering to the SDK by @gurusainath in #56

Full Changelog: v0.2.18...v0.2.19

v0.2.18

Choose a tag to compare

@sunder-ch sunder-ch released this 24 Jun 20:39
a492f30

What's Changed

  • dev: Implemented workspace roles endpoint and pagination support by @gurusainath in #54
  • feat: Add member filtering support to workspace and project member list endpoints by @gurusainath in #53
  • update to v0.2.18 by @sunder-ch in #55

New Contributors

Full Changelog: v0.2.17...v0.2.18

What's Changed

  • dev: Implemented workspace roles endpoint and pagination support by @gurusainath in #54
  • feat: Add member filtering support to workspace and project member list endpoints by @gurusainath in #53
  • update to v0.2.18 by @sunder-ch in #55

New Contributors

Full Changelog: v0.2.17...v0.2.18

v0.2.17

Choose a tag to compare

@github-actions github-actions released this 17 Jun 11:51
ce9c0b3

What's Changed

Full Changelog: v0.2.16...v0.2.17