-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: newz2000/cupt
Releases · newz2000/cupt
v0.6.2 — Trusted Publishing pipeline test
No functional or library changes. First release published automatically
via GitHub Actions Trusted Publishing (OIDC) — verifies the pipeline
introduced in commit ceaab8a works end to end. Future releases now
happen by tagging v* on main.
Assets 2
v0.6.1 — first PyPI release
Library-readiness pass. No CLI behavior changes; the public API surface
is now stable and importable.
Added
- Top-level package exports:
from cupt import ClickUpClient, TaskService, TimeService, NoteService, APIError, AuthError, ConfigError, CuptError. TaskService.filter_by_tags(tasks, required=, excluded=)— pure,
reusable tag filter, promoted from a private CLI helper.TaskService.list_tasks(..., tags=[...])parameter — pushes tag
filtering to the ClickUp API astags[](server-side OR). Replaces
the silently-truncated client-side-only path: previously the 100-task
pagination cap could hide matches on--allqueries with rare tags.- Regression tests guarding (a) the per-request
Content-Type
placement that prevents upload corruption and (b) the top-level
library imports.
Changed
ConfigManageris lazy: constructing one no longer creates
~/.cupt/or writes a default config file. Directories are
materialized on the first write. Reads of a missing config return
empty defaults. Library users get no surprise filesystem side
effects fromimport cupt.- Error/success messages now go to stderr, so piping
cupt list --jsonno longer risks decorative output mixing into
JSON consumers. - Emojis are TTY-only in error/warning output; piped output gets
plainERROR:/WARN:prefixes. Content-Type: application/jsonis now set per-request inside
_make_requestinstead of on the sharedrequestssession. Removes
the footgun that made attachment uploads fragile.- 429 rate limits are retried with exponential backoff honoring
theRetry-Afterheader (previously treated as a hard error).
Fixed
- Silent
Exceptionswallowing in cache writes now logs a warning.