This section documents version-specific API changes between v83.0.0 and v84.0.0 — the current stable release.
-
Instantiate the SDK via LinearClient constructor with a configuration object — provides type-safe access to all API operations and normalizes authentication across apiKey, accessToken, or custom apiUrl source
-
Use dedicated error subclasses (RatelimitedLinearError, AuthenticationLinearError, InvalidInputLinearError) instead of catching generic LinearError — each error type exposes specific metadata (rate limit windows, retry hints, user-presentable messages) for fine-grained error recovery source
-
Access rate limit metadata via RatelimitedLinearError properties — includes retryAfter, requestsRemaining, complexityRemaining, and reset timestamps to implement exponential backoff and quota-aware retry strategies source
-
Use Connection.fetchNext() and Connection.fetchPrevious() for manual pagination — implements Relay cursor-based pagination and automatically updates page info, avoiding manual cursor management source
-
Use Request.paginate() helper to fetch all nodes across multiple pages — automatically handles Relay pagination, cursor traversal, and accumulation in a single method call for simpler batch operations source
-
Set request headers with client.setHeader(key, value) before operations — client retains headers across subsequent requests, ideal for adding authorization headers, idempotency keys, or custom metadata source
-
Leverage Releases API for release management — v84.0.0 stabilizes release pipelines, stages, and notes (previously ALPHA), supporting continuous and scheduled release workflows source
-
Use ReleaseSync mutations for CI/CD integration via access keys — automatically resolves issue and pull request references, associating them with releases without requiring explicit issue lookups source
-
Store and reuse webhook secret in LinearWebhookClient constructor — verifies HMAC signatures automatically for all incoming payloads, preventing unauthorized requests source
-
Monitor AgentActivity events for AI coding sessions — activities capture thoughts, tool calls, errors, and user prompts; use the signal and signalMetadata fields to track agent behaviour and outcomes source
-
Use team.releasePipelines to list release pipelines scoped to a team — enables team-specific release workflow configuration and access control without querying workspace-level pipelines source
-
Prefer DocumentCreateInput.releaseId for release-related content — v84.0.0 stabilizes document-to-release associations (removed [Internal] marker), enabling release note generation and lifecycle tracking source
-
Use typed webhook payloads from LinearWebhookClient — all event payloads are now fully typed in TypeScript, providing IDE autocompletion and compile-time safety for webhook handling source