Skip to content

v0.1.0

Choose a tag to compare

@edadma edadma released this 18 Apr 04:46
· 19 commits to stable since this release

Highlights

Zero npm dependencies. Apion now has no external npm dependencies. The busboy multipart parser has been replaced with a native Scala.js implementation.

Added

  • Native multipart/form-data parser (MultipartParser) — pure Scala.js
  • BodyLimitMiddleware for configurable per-route body size limits
  • Configurable body size limit and read timeout on Request
  • Node.js fs facade: writeFile, mkdir, readdir, rm, rename, copyFile, access
  • ReadableStream.destroy in Node.js stream facade
  • 57 new tests (151 total)

Fixed

  • Router: unsafe asInstanceOf cast replaced with pattern match
  • StaticMiddleware: getTime() parentheses (Scala 3.8.3)

Changed

  • FileUploadMiddleware uses native MultipartParser instead of busboy
  • Scala 3.8.3, sbt 1.12.9, Scala.js 1.21.0, zio-json 0.9.0

Removed

  • busboy npm dependency