elements
Start Blog Demos UI Docs Pricing
Elements Manual
  • Getting Started
  • CLI
  • Build
  • Browser
  • Packages
  • TypeScript
  • Elements HTML
  • Assets
  • RPC
  • Router
  • Session
  • Database
  • Migrations
  • LiveTable
  • Channel
  • Jobs
  • Email
  • Payments
  • JSON
  • Async
  • Style
  • UI
  • JSOC
  • Config
  • Tests
  • Logs
  • Deploy
  • Editors
  • Recipes
  • Licenses
  • Changelog
    • 0.30.0
    • 0.29.0
    • 0.28.1
    • 0.28.0
Manual / Changelog/ 0.28.1

0.28.1

elements man changelog/v0-28-1

On This Page

  • Changes
  • Upgrade

One upload limit replaces the request body and rpc limits. A config that still has maxBody or maxRpcBytes builds, but they are ignored and the 25 MB default applies. A route with maxBody fails the build.

Changes

  • server.maxUpload is the one limit on request size. It replaces server.maxBody, a route's maxBody and server.maxRpcBytes.
  • The load balancer no longer limits request size. The app's maxUpload is the only limit.
  • elements version prints the installed version.
  • New in the manual: an elements run program that uses the database starts services itself (elements man cli).
  • Fixed: elements uninstall, or a branch switch that drops a package, left a stale @types package that failed every build.
  • Fixed: an rpc message over the limit stopped the app. The call now fails with "Request too large" and the app keeps running.

Upgrade

maxUpload

server.maxUpload in config.jsoc is the largest request the app accepts, in bytes: every request body, whatever its type, and every rpc message. The default is 25 MB. A route's maxUpload raises or lowers it for that route, and the routes inside a mount inherit the mount's (elements man router). maxBody: 0 is gone: a route that takes large files sets a large maxUpload.

config.jsoc
// before server: { maxBody: { json: 4194304, multipart: 104857600 }, maxRpcBytes: 67108864 } // after server: { maxUpload: 104857600 }
index.ts
// before app.route({ method: "post", path: "/api/videos", handler: receiveVideo, maxBody: { multipart: 500 * 1024 * 1024 } }); // after app.route({ method: "post", path: "/api/videos", handler: receiveVideo, maxUpload: 500 * 1024 * 1024 });
Prev 0.29.0Next 0.28.0
Product
Manual Pricing Compare
Company
History Contact
Legal
Privacy Policy Acceptable Use Terms License Agreement
© Elements Dev Corporation 2026