github elysiajs/elysia 1.4.13

one day ago

What's Changed

Feature:

  • #1453 add allowUnsafeValidationDetails for disabling unsafe validation details in production mode
  • allow rapid stream in non browser mode or ELYSIA_RAPID_STREAM is set
  • afterResponse now wait for generator stream to finish
  • trace of handle, and afterResponse now wait for generator stream to finish

Bug fix:

  • #1502, #1501 afterHandle doesn't update status
  • #1500 export InvalidFileType from root
  • #1495 request server hook parameters are typed as any (Bun 1.3.0)
  • #1483 handle standard schema validators in ValidationError.all
  • #1459 fix strictPath behavior when aot: false is set
  • #1455 graceful shutdown not awaiting server.stop
  • #1499 fails when merging with t.Optional schema
  • remove encoding chunk from native static response in Bun adapter

Change:

  • make @types/bun an optional dependency

New Contributors

Full Changelog: 1.4.12...1.4.13

Don't miss a new elysia release

NewReleases is sending notifications on new releases.