Skip to content

Releases: sebamar88/bytekit

v3.2.1 - Unified Rate Limiting

10 May 19:25

Choose a tag to compare

Fixed

  • ApiClient Rate Limiting: Resolved API inconsistency by integrating \RateLimiter\ directly into the \ApiClient\ constructor and configuration.
  • AbortSignal Support: Improved \RateLimiter.waitForAllowance()\ to support \AbortSignal, ensuring rate limit waits can be cancelled.
  • Documentation: Corrected conflicting implementation guidance for resilience patterns across guides and Context7 benchmark rules.

v3.2.0 - ApiClient Streaming Enhancements

10 May 18:09

Choose a tag to compare

Added

  • ApiClient Streaming Enhancements:
    • Added \�pi.stream()\ for robust Server-Sent Events (SSE) support.
    • Added \�pi.streamJsonLines()\ for NDJSON support.
    • Signature Normalization: Both methods support direct body passing (e.g., \�pi.stream(path, { filter: 'urgent' })), matching \�pi.post()\ behavior.
    • Full support for \POST, request bodies, \Authorization\ (via interceptors), and \AbortController\ in all streaming methods.
  • StreamingHelper Enhancements:
    • Added \ etchNDJSON(): A modern, generator-based NDJSON consumer with full feature parity (POST, bodies, custom fetch).
    • Improved \ etchSSE()\ with proactive cancellation and better buffer handling.

Fixed

  • ApiClient: Resolved a bug where user-provided \AbortSignal\ in \RequestOptions\ was being ignored. Now properly links user signal to the internal timeout controller.

Deprecated

  • \StreamingHelper.streamSSE: Deprecated in favor of \ApiClient.stream()\ or \StreamingHelper.fetchSSE().

Release v3.0.1

01 Apr 21:54

Choose a tag to compare

Changes in v3.0.1

See CHANGELOG.md for details.

Release v3.0.0

01 Apr 21:45

Choose a tag to compare

Changes in v3.0.0

See CHANGELOG.md for details.

Release v2.5.4

01 Apr 19:17

Choose a tag to compare

Changes in v2.5.4

See CHANGELOG.md for details.

Release v2.5.3

01 Apr 18:54

Choose a tag to compare

Changes in v2.5.3

See CHANGELOG.md for details.

Release v2.5.0

31 Mar 19:16

Choose a tag to compare

Changes in v2.5.0

See CHANGELOG.md for details.

Release v2.4.9

31 Mar 19:08

Choose a tag to compare

Changes in v2.4.9

See CHANGELOG.md for details.

Release v2.4.8

31 Mar 19:07

Choose a tag to compare

Changes in v2.4.8

See CHANGELOG.md for details.

Release v2.4.7

31 Mar 18:29

Choose a tag to compare

Changes in v2.4.7

See CHANGELOG.md for details.