Skip to content

Releases

create-shukoi@1.0.4

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 14:42

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.

@shukoi/store-redis@1.0.4

Choose a tag to compare

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.
  • Updated dependencies []:

    • @shukoi/core@1.0.4

@shukoi/store-redis@1.0.3

Choose a tag to compare

Initial Release

  • Initial release of @shukoi/store-redis: Distributed Redis idempotency lock store for Shukoi applications.
  • Atomic Lua Scripts: Single-roundtrip atomic lock acquisition (ACQUIRE_LUA), completion (COMPLETE_LUA), and safe release (RELEASE_LUA).
  • Dual Runtime Support: Exposed ./node for standard TCP socket clients (ioredis, node-redis) and ./edge for pure Web-standard fetch clients (UpstashRedisClient) with 0 node:* imports.
  • In-Memory Testing Double: Provided @shukoi/store-redis/testing featuring MockRedisClient for deterministic, zero-network unit testing.

@shukoi/selfhost@1.0.4

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 14:42

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.
  • Updated dependencies []:

    • @shukoi/core@1.0.4

@shukoi/ratelimit@1.0.4

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 14:42

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.
  • Updated dependencies []:

    • @shukoi/core@1.0.4

@shukoi/ratelimit@1.0.3

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 03:22

Initial Release

  • Initial release of @shukoi/ratelimit: Universal distributed and in-memory rate limiter for Shukoi applications.
  • Dual Algorithms: Sliding Window Counter (exact moving window, boundary burst-free) and Token Bucket (burst-tolerant for LLM token quotas).
  • Dual Backends: Distributed Redis backend (atomic Lua script evaluation) and bounded in-memory LRU cache (BoundedLruCache(10000) with $O(1)$ memory ceiling).
  • IETF Standards: Generates RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and Retry-After headers.
  • RFC 9457 Integration: Emits 429 Too Many Requests Problem Details envelopes upon limit breach.
  • AppSec Hardening: Enforces strict positive integer validation on cost parameter, blocking negative-cost token-minting bypasses.

@shukoi/otel@1.0.4

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 14:42

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.
  • Updated dependencies []:

    • @shukoi/core@1.0.4

@shukoi/otel@1.0.3

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 05:34

Initial Release

  • Initial release of @shukoi/otel: Enterprise OpenTelemetry distributed tracing and Prometheus metrics plugin for Shukoi.
  • W3C TraceContext: Parses and serializes standard traceparent and tracestate headers across REST and MCP transports.
  • Span Lifecycle: Automatic span instrumentation (shukoi.action.execute) capturing action attributes, duration, error codes, and correlation IDs.
  • Dual Exporters: Pure Web-standard OTLP/HTTP JSON exporter (./edge) and zero-dependency Prometheus text exposition exporter (./prometheus).
  • Resilience: Bounded circular ring buffer with $O(1)$ memory ceiling and drop-oldest backpressure eviction, preventing OOM.
  • In-Memory Testing Harness: Provided @shukoi/otel/testing with MockSpanExporter and MockMetricReader.

@shukoi/mcp@1.0.4

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 14:42

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.
  • Updated dependencies []:

    • @shukoi/core@1.0.4

@shukoi/lambda@1.0.4

Choose a tag to compare

@shukoilab shukoilab released this 17 Nov 14:42

Patch Changes

  • Release v1.0.4: Hardening third-party integrations, multi-driver normalization, and documentation parity.

    • @shukoi/store-redis: Added wrapRedisClient() multi-driver adapter (ioredis, node-redis v4/v5, @upstash/redis with { automaticDeserialization: false }), heartbeat lock renewal via EXTEND_LUA and extendLock(), and resilient pcall(cjson.decode) parsing.
    • @shukoi/ratelimit: Added distributed token bucket via TOKEN_BUCKET_LUA in Redis Hash, batch unpacked ZADD for sliding window, limiter.assert(), and IETF Draft-08 RateLimit-Policy headers.
    • @shukoi/otel: Emits OTLP 1.34+ compliant service.name in resource.attributes, added SpanKind support and span.recordException(), and grouped Prometheus metrics contiguously by metric family.
    • @shukoi/auth: Added $O(1)$ pre-hashed static API keys, mandatory session store in createSessionCookieStrategy, cached JWKS keystore, and BoundedLruCache(5000) memory protection for OIDC introspection.
    • @shukoi/db: Added ANSI SQL TransactionIsolationLevel across Drizzle, Kysely, and Prisma, and native Cloudflare D1 batch() multi-statement atomicity.
    • create-shukoi: Scaffolding templates and dependency synchronizer aligned with v1.0.4.
  • Updated dependencies []:

    • @shukoi/core@1.0.4