Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elysia

Package Overview
Dependencies
Maintainers
1
Versions
451
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elysia - npm Package Versions

1
46

0.2.1

Diff

aomkirby123
published 0.2.0 •

Changelog

Source

0.2.0-rc.1 - 24 Jan 2023

Improvement:

  • Map OpenAPI's schema detail on response
  • Fix Type instantiation is excessively deep and possibly infinite
  • Improve TypeScript inference time by removing recursive type in generic
  • Inferred body is never instead of unknown
aomkirby123
published 0.2.0-rc.1 •

Changelog

Source

0.2.0-rc.1 - 24 Jan 2023

Improvement:

  • Map OpenAPI's schema detail on response
  • Fix Type instantiation is excessively deep and possibly infinite
  • Improve TypeScript inference time by removing recursive type in generic
  • Inferred body is never instead of unknown
aomkirby123
published 0.2.0-rc.0 •

Changelog

Source

0.2.0-rc.0 - 23 Jan 2023

Feature:

  • Add support for reference model via .model
  • Add support for OpenAPI's definitions field
aomkirby123
published 0.2.0-beta.2 •

Changelog

Source

0.2.0-beta.2 - 22 Jan 2023

Feature:

  • Add support for custom openapi field using schema.detail
  • Add support for custom code for response

Improvement:

  • Unioned status type for response
  • Optimize TypeScript inference performance
aomkirby123
published 0.2.0-beta.1 •

Changelog

Source

0.2.0-beta.1 - 22 Jan 2023

Breaking Change:

  • onParse now accepts (context: PreContext, contentType: string) instead of (request: Request, contentType: string)
    • To migrate, add .request to context to access Request

Feature:

  • onRequest and onParse now can access PreContext
  • Support application/x-www-form-urlencoded by default

Improvement:

  • body parser now parse content-type with extra attribute eg. application/json;charset=utf-8
aomkirby123
published 0.2.0-beta.0 •

Changelog

Source

0.2.0-beta.0 - 17 Jan 2023

Feature:

  • Support for Async / lazy-load plugin

Improvement:

  • Decode URI parameter path parameter
  • Handle union type correctly
aomkirby123
published 0.1.2 •

Changelog

Source

0.1.2 - 31 Dec 2022

Bug fix:

  • onRequest doesn't run in group and guard
aomkirby123
published 0.1.1 •

Changelog

Source

0.1.1 - 28 Dec 2022

Improvement:

  • Parse encoded URI on querystring
  • Exclude URI fragment from querystring
  • Blasphemy hack for updating Elysia server using --hot
  • Exclude fragment on getPath
aomkirby123
published 0.1.0 •

Changelog

Source

0.1.0 - 24 Dec 2022

[Reburn] is the first stable beta release for Elysia.

Happy Christmas, wishing you happy tonight as we release the first stable release of Elysia.

With this API is now stabilized, and Elysia will focus on growing its ecosystem and plugins for common patterns.

Eden

Introducing Eden, a fully type-safe client for Elysia server like tRPC.

A 600 bytes client for Elysia server, no code generation need, creating a fully type-safe, and auto-complete for both client and server.

See Eden in action on Twitter

The fastest

With a lot effort put into micro-optimization and re-architecture, Elysia is the fastest Bun web framework benchmarked on 24 December 2022, outperformed 2/3 category put into test.

See benchmark results at Bun http benchmark

Improved Documentation

Elysia now have an improved documentation at elysiajs.com.

Now with a proper landing page, searchable content, and revised content put into.

Afterward

Merry Christmas, and happy new year.

As 0.1 released, we recommended to give Elysia a try and build stuff with it.

With the wonderful tools, we are happy to looking forward to see what wonderful software will you build.


Fly away, let me fly away Never hide in dark Head on, start a riot Fly away, defying fate in my way Crush it Make it! Feel My Heart!

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc