elysiaJS (@elysiajs) 's Twitter Profile
elysiaJS

@elysiajs

An ergonomic framework for human. With End-to-End Type Safety, type integrity, and exceptional developer experience. Supercharged by Bun.

ID: 1697868393045712896

linkhttp://elysiajs.com calendar_today02-09-2023 07:06:08

161 Tweet

4,4K Takipçi

12 Takip Edilen

SaltyAom (@saltyaom) 's Twitter Profile Photo

New feature flag drop `experimental.encodeSchema` allows you to use TypeBox's decode to create a custom encoder This feature is available in Elysia 1.2.16 and will be enabled by default in 1.3.0

New feature flag drop

`experimental.encodeSchema` allows you to use TypeBox's decode to create a custom encoder

This feature is available in Elysia 1.2.16 and will be enabled by default in 1.3.0
SaltyAom (@saltyaom) 's Twitter Profile Photo

In Elysia 1.3 We built a normalization library called "Exact Mirror" It works by using OpenAPI schema to generate an optimized function to clone value Instead of checking dynamically, it know which properties should be cloned and normalize And it increase performance by a lot

In Elysia 1.3

We built a normalization library called "Exact Mirror"

It works by using OpenAPI schema to generate an optimized function to clone value

Instead of checking dynamically, it know which properties should be cloned and normalize

And it increase performance by a lot
SaltyAom (@saltyaom) 's Twitter Profile Photo

Introducing Elysia 1.3 and Scientific Witchery Feature: - Exact Mirror: Near 0 overhead normalization - Bun System Router - Standalone Validator - Reduced type instantiation by half - Lower memory usage and faster start up time ↓ Release note below ↓

Introducing Elysia 1.3 and Scientific Witchery

Feature:
- Exact Mirror: Near 0 overhead normalization
- Bun System Router
- Standalone Validator
- Reduced type instantiation by half
- Lower memory usage and faster start up time

↓ Release note below ↓
SaltyAom (@saltyaom) 's Twitter Profile Photo

Elysia node adapter now support Elysia 1.3 Node adapter now use Web Standard Compatibility layer to unified the developer experience

Elysia node adapter now support Elysia 1.3

Node adapter now use Web Standard Compatibility layer to unified the developer experience
SaltyAom (@saltyaom) 's Twitter Profile Photo

Elysia Folder Structure Elysia is unopinionated about folder structure and believe that you should decided it yourself However if you don't have any preferences, we got you cover Check it out now on Best Practices

Elysia Folder Structure

Elysia is unopinionated about folder structure and believe that you should decided it yourself

However if you don't have any preferences, we got you cover

Check it out now on Best Practices
Pooya Parsa 🦋 (@_pi0_) 's Twitter Profile Photo

You can use srvx CLI with your favorite web-standard framework (elysiaJS, Hono, h3.dev), a plain fetch handler, or no server at all (static-only). More examples: srvx.h3.dev/guide#starter-…

You can use srvx CLI with your favorite web-standard framework (<a href="/elysiaJS/">elysiaJS</a>, <a href="/honojs/">Hono</a>, h3.dev), a plain fetch handler, or no server at all (static-only).

More examples:
srvx.h3.dev/guide#starter-…
Alex Casillas —アレックス (@alexvcasillas) 's Twitter Profile Photo

✨ Performance improvement report at Tiptap's Convert Service v2 ✨ Node/Hono → Bun/Elysia Migration Results: 🫠 *Before*: 17 milliseconds (Node.js + Hono) 🥳 *After*: 9 milliseconds (Bun + Elysia) ✨*Improvement*: *47% faster* 🚀 Migrated from Node.js/Hono to Bun/Elysia and

SaltyAom (@saltyaom) 's Twitter Profile Photo

Important performance patch We found that Elysia doesn't use "normalize" option for the following schema: - headers - params - query - cookie If you use the schema mentioned above, Elysia should be much faster We recommend updating to 1.3.13 if possible

Important performance patch

We found that Elysia doesn't use "normalize" option for the following schema:
- headers
- params
- query
- cookie

If you use the schema mentioned above, Elysia should be much faster

We recommend updating to 1.3.13 if possible
SaltyAom (@saltyaom) 's Twitter Profile Photo

Introducing Type to OpenAPI schema (experimental) Allowing you to generate an OpenAPI schema automatically without a schema Elysia will directly infer the type and turn it into OpenAPI Schema automatically By adding 1 line, you get a full-fledged API documentation

Introducing Type to OpenAPI schema (experimental)

Allowing you to generate an OpenAPI schema automatically without a schema

Elysia will directly infer the type and turn it into OpenAPI Schema automatically

By adding 1 line, you get a full-fledged API documentation
SaltyAom (@saltyaom) 's Twitter Profile Photo

"OpenAPI Type Gen" is on Elysia's documentation So you can convince your senior to try out Elysia instead of sending an X/Twitter post

"OpenAPI Type Gen" is on Elysia's documentation

So you can convince your senior to try out Elysia instead of sending an X/Twitter post