Skip to content

fix(deps): update dependency elysia to ~1.3.0 #8430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
elysia ~1.2.0 -> ~1.3.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

elysiajs/elysia (elysia)

v1.3.1

Compare Source

Bug fix:

  • #​1200 limited Bun Router to supported method
  • #​1199 object are not normalized when t.Transform is provided
  • #​1198, #​1188, #​1186 exclude wildcard route from Bun router
  • #​1197 leave incorrect union field as-is
  • #​1195 invalid onAfterHandle typing
  • #​1194 normalize array response
  • #​1193 undefine value.schema.noValidate
  • #​1192 using a macro inside a group does not call the handler when using the precompile option
  • #​1190 derive and resolve handlers not being executed on WS context
  • #​1189 Type Inference Issue with Eden Treaty Group Endpoints
  • #​1185 path is missing from Context when Bun System Router is used
  • #​1184 Missing mapEarlyResponse on Bun System Router

Change:

  • update exact-mirror to 0.1.2

v1.3.0

Compare Source

Feature:

  • add exactMirror
  • add systemRouter config
  • standalone Validator
  • add Elysia.Ref for referencing schema with autocompletion instead of t.Ref
  • support Ref inside inline schema
  • add sucrose cache
  • new validation t.Form, t.NoValidate
  • use file-type to check file type
  • add INVALID_FILE_TYPE error
  • add sanitize options

Improvement:

  • encodeSchema now stable and enabled by default
  • optimize types
  • reduce redundant type check when using Encode
  • optimize isAsync
  • unwrap Definition['typebox'] by default to prevent unnecessary UnwrapTypeModule call
  • Elysia.form can now be type check
  • refactor type-system
  • refactor _types into ~Types
  • using aot compilation to check for custom Elysia type, eg. Numeric
  • refactor app.router.static, and move static router code generation to compile phase
  • optimize memory usage on add, _use, and some utility functions
  • improve start up time on multiple route
  • dynamically create cookie validator as needed in compilation process
  • reduce object cloning
  • optimize start index for finding delimiter of a content type header
  • Promise can now be a static response
  • ParseError now keeps stack trace
  • refactor parseQuery and parseQueryFromURL
  • add config options to mount
  • recompile automatically after async modules is mounted
  • support macro on when hook has function
  • support resolve macro on ws
  • #​1146 add support to return web API's File from handler
  • #​1165 skip non-numeric status codes in response schema validation
  • #​1177 cookie does not sign when an error is thrown

Bug fix:

  • Response returned from onError is using octet stream
  • unintentional memory allocation when using mergeObjectArray
  • handle empty space on Date query

Change:

  • only provide c.request to mapResponse when maybeStream is true
  • use plain object for routeTree instead of Map
  • remove compressHistoryHook and decompressHistoryHook
  • webstandard handler now return text/plain if not on Bun
  • use non const value for decorate unless explicitly specified
  • Elysia.mount now set detail.hide = true by default

Breaking Change:

  • remove as('plugin') in favor of as('scoped')
  • remove root index for Eden Treaty
  • remove websocket from ElysiaAdapter
  • remove inference.request

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from waghanza as a code owner May 9, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants