Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Changelog

Notable changes per release, following Keep a Changelog and Semantic Versioning.

The full detail lives in CHANGELOG.md in the repository. This page is the curated view.

[0.3.12] — current

Fourth registry released: the Java SDK is now on Maven Central as com.b4n1:boost, alongside PyPI, npm and NuGet. Release verification suite: 38 checks passing.

[0.3.11]

Packaging and record-correctness fixes across the published artifacts: wheel metadata now matches its archive contents exactly, so registries accept uploads without post-hoc warnings.

[0.3.0] — 2026-09-01

The middleware and accelerator release.

Added

Middleware

  • SecurityHeadersMiddleware — X-Content-Type-Options, X-Frame-Options, Strict-Transport-Security, X-XSS-Protection, Referrer-Policy, Permissions-Policy
  • CORSMiddleware with configurable origins, methods and headers
  • HealthCheckMiddleware — GET /health returns 200 JSON
  • DecompressionMiddleware — accepts gzip/brotli/zstd request bodies
  • CacheMiddleware backed by ResponseCache (LRU + TTL)
  • RequestLoggingMiddleware and its ASGI variant
  • ETagMiddleware with 304 handling
  • RateLimitMiddleware — token bucket per client IP
  • Content-Type aware compression
  • CompressionMetrics — bytes in/out, request count, ratio
  • detect_proxy() — forwarded-header trust detection
  • boost_all() — install the common set in one call

Acceleration

  • NativeJson.batch_dumps() — N serializations in a single lock acquire
  • Worker thread for compression, minification and JWT — heavy work off the calling thread
  • fast_serialize() + FastSerializerMixin — 5-10x faster queryset → JSON
  • bulk_insert_native() (PostgreSQL COPY) + FastModelMixin — 5-10x faster bulk writes
  • html_to_markdown() — HTML to clean Markdown for LLM consumption
  • minify_html(), minify_css(), minify_js()
  • JWT validation with an HMAC-SHA256/512 path and a fallback
  • ResponseCache (LRU, TTL), BloomRateLimiter, CircuitBreaker
  • compress_static_file() / compress_static_dir()
  • Telemetry bindings: init, capture_error, log_info, log_phase, flush

Changed

  • JSON path moved to a substantially faster backend — 10.5x over json.dumps on medium payloads
  • Middleware refactored onto unified WSGI/ASGI base classes

Fixed

  • Middleware installs are idempotent — a double install no longer stacks duplicates
  • Native JSON path used directly in middleware, removing an intermediate conversion
  • README installation URL

[0.2.0] — 2026-08-28

Added

  • Zstd compression — 28x faster than stdlib gzip
  • Content-Type aware middleware
  • ETag generation and 304 caching
  • Rate limiting (token bucket)
  • Proxy detection headers
  • Compression metrics collection

Changed

  • Improved middleware architecture

[0.1.0]

Initial release: native JSON serialization, gzip/brotli compression, and the Django / FastAPI / Flask installers.

See also