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
45

0.4.0

Diff

Changelog

Source

0.4.0 - 30 Mar 2023

Feature:

  • Ahead of Time compilation
  • TypeBox 0.26
  • Validate response per status instead of union
  • Add if for conditional route
  • Custom Validation Error

Improvement:

  • Update TypeBox to 0.26.8
  • Inline a declaration for response type
  • Refactor some type for faster response
  • Use Typebox Error().First() instead of iteration
  • Add innerHandle for returning an actual response (for benchmark)

Breaking Change:

  • Separate .fn to @elysiajs/fn
aomkirby123
published 0.4.0-rc.0 •

aomkirby123
published 0.3.2 •

Changelog

Source

0.3.2 - 26 Mar 2023

Fix:

  • child to inhertis WebSocket plugin (https://github.com/elysiajs/elysia/issues/27)
  • multiple status response does not work with the group (https://github.com/elysiajs/elysia/issues/28)
aomkirby123
published 0.4.0-exp-230322.2055 •

aomkirby123
published 0.4.0-exp-230322.2051 •

aomkirby123
published 0.4.0-exp-230322.29 •

aomkirby123
published 0.4.0-exp-230319.1936 •

aomkirby123
published 0.3.1 •

Changelog

Source

0.3.1 - 17 Mar 2023

Fix:

  • Wildcard fallback of Raikiri
aomkirby123
published 0.3.0 •

Changelog

Source

0.3.0 - 17 Mar 2023

Feature:

  • Elysia Fn
  • Suport multipart/form-data
  • t.File and t.Files for file validation
  • schema.content for specifying content type

Improvement:

  • Add string format: 'email', 'uuid', 'date', 'date-time'
  • Update @sinclair/typebox to 0.25.24
  • Update Raikiri to 0.2.0-beta.0 (ei)
  • Add file upload test thanks to #21 (@amirrezamahyari)
  • Pre compile lowercase method for Eden
  • Reduce complex instruction for most Elysia types
  • Change store type to unknown
  • Compile ElysiaRoute type to literal
  • Optimize type compliation, type inference and auto-completion
  • Improve type compilation speed
  • Improve TypeScript inference between plugin registration
  • Optimize TypeScript inference size
  • Context creation optimization
  • Use Raikiri router by default
  • Remove unused function
  • Refactor registerSchemaPath to support OpenAPI 3.0.3
  • Add error inference for Eden
  • Mark @sinclair/typebox as optional peerDenpendencies

Fix:

  • Raikiri 0.2 thrown error on not found
  • Union response with t.File is not working
  • Definitions isn't defined on Swagger
  • details are missing on group plugin
  • group plugin, isn't unable to compile schema
  • group is not exportable because EXPOSED is a private property
  • Multiple cookies doesn't set content-type to application/json
  • EXPOSED is not export when using fn.permission
  • Missing merged return type for .ws
  • Missing nanoid
  • context side-effects
  • t.Files in swagger is referring to single file
  • Eden response type is unknown
  • Unable to type setModel inference definition via Eden
  • Handle error thrown in non permission function
  • Exported variable has or is using name 'SCHEMA' from external module
  • Exported variable has or is using name 'DEFS' from external module
  • Possible errors for building Elysia app with declaration: true in tsconfig.json

Breaking Change:

  • Rename inject to derive
  • Depreacate ElysiaRoute, changed to inline
  • Remove derive
  • Update from OpenAPI 2.x to OpenAPI 3.0.3
  • Move context.store[SYMBOL] to meta[SYMBOL]
aomkirby123
published 0.3.0-rc.8 •

Changelog

Source

0.3.0-rc.8 - 16 Mar 2023

Fix:

  • Raikiri 0.2 thrown error on not found
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