Skip to content
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

chore(deps): update dependency elysia to v1.0.22 #7

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
elysia >= 1.0.0 -> >= 1.0.22 age adoption passing confidence
elysia ^1.0.20 -> ^1.0.22 age adoption passing confidence

Release Notes

elysiajs/elysia (elysia)

v1.0.22

Compare Source

Breaking Change:

  • set default cookie path to /

Feature:

  • add form utility for returning explicit formdata
  • add object with image to return as formdata

Bug fix:

  • return Bun.file by specifying t.File() and t.Object({ any: t.File() }) as a response

v1.0.21

Compare Source

Breaking Change:

  • t.type({ error }) now accepts (error: ({ type, validator, value, errors }) => unknown) instead of (error: (type, validator, value) => unknown)

Improvement:

  • t.type({ error }) accepts string | number | boolean | Object instead of string
  • t.type({ error }) return string | number | boolean | Object | void instead of string
  • add errors: ValueError[] to t.type({ error({ errors }) {} })

Bug fix:

  • #​644 redirect doesn't work with aot: false
  • #​641 cookie schema validation doesn't work with aot: true
  • #​615 highlight derive and resolve when using onError

v1.0.20

Compare Source

Bug fix:

  • macro is not inherits inside group

v1.0.19

Compare Source

Bug fix:

  • remove set.clone spread operator for mapping Response

v1.0.18

Compare Source

Feature:

  • add support for partitioned cookie

Bug fix:

  • recursive MacroToProperty type on unknown macro

v1.0.17

Compare Source

Improvement:

  • add context.url to get full URL string (including query)
  • reduce query parsing instruction

v1.0.16

Compare Source

Bug fix:

  • ratelimit#28 trace hang when using server-timing with rate-limit plugin

v1.0.15

Compare Source

Feature:

  • add redirect function to Context

Improvement:

  • sucrose: remove unreachable query bracket check, reduce bracket instruction
  • sucrose: query accessor keyword check at initialization instead of in loop
  • sucrose: remove accessor check
  • sucrose: skip query check for immediate return

Change:

  • sucrose: add isArrowReturn to separateFunction
  • sucrose: skip inference queries check if query is not found

Change:

  • allow custom parser when type is specified
  • add contentType to context
  • soft deprecate contentType as 2nd parse parameter

Bug fix:

  • #​622 sucrose: mistake cookie for query
  • duplicate format found
  • using parse, type, body generate invalid syntax

v1.0.14

Compare Source

Improvement:

  • #​596 account for 20x response status schemas for type safety

Bug fix:

  • #​615
  • 588 separate async derive/resolve function doesn't get await
  • primitive thrown result in invalid type

v1.0.13

Compare Source

v1.0.12

Compare Source

Improvement:

  • export InferContext and InferHandler

Bug fix:

  • remove accidental console.log in compile

v1.0.11

Compare Source

Bug fix:

  • possibly fix for "Duplicate type kind 'Files' detected"
  • add ajv-formats
  • #​562 %26 (&) to be interpreted as & (query separator)

v1.0.10

Compare Source

Bug fix:

  • ServerTiming#1 late beforeHandle on set trace inference doesn't produce exit instruction

v1.0.9

Compare Source

Feature:

  • Elysia.config.detail constructor
  • shorthand Elysia.tags to constructor, LocalHook
  • guard inherits detail

Bug fix:

  • inference link on precompile: false creating unnecessary instruction

v1.0.8

Compare Source

Feature:

Improvement:

  • Scope cookie instruction to route level instead of global config
  • #​557 cache tsc buildinfo for running faster
  • #​551 use AnyElysia instead of inline Elysia

Bug fix:

  • #​564 Fixing "ReadableStream is locked"
  • #​552 fix: shift promise in PromiseGroup even when rejected

v1.0.7

Compare Source

Feature:

  • add Elysia.propagate to propagate hook type from 'local' to 'scoped'

Improvement:

  • remove function.$elysia
  • remove function extension

Bug fix:

  • duplicate macro call
  • #​548 additional case for "accessing all query params using property name (ctx.query) doesn't work anymore"
  • #​599 plugin with scoped settings not functioning correctly

v1.0.6

Compare Source

Bug fix:

  • inline function doesn't propagate correctly on type level

v1.0.5

Compare Source

Improvement:

  • using regex for date pattern matching before using new Date validation
  • using tsc to emit declaration file instead of tsup
  • add mapResponse to MacroManager

Bug fix:

  • Ephemeral and Volatile type isn't recognize by MacroManager
  • inline guard cookie doesn't apply to local instance

v1.0.4

Compare Source

Improvement:

  • resolve, derive soundness

v1.0.3

Compare Source

Improvement:

  • Reduce instruction for static resource

Bug fix:

  • Fix returning mulitple status code using error doesn't accept the response

v1.0.2

Compare Source

Breaking Change:

  • set default cookie path to /

Feature:

  • add form utility for returning explicit formdata
  • add object with image to return as formdata

Bug fix:

  • return Bun.file by specifying t.File() and t.Object({ any: t.File() }) as a response

v1.0.1

Compare Source

Bug fix:

  • remove set.clone spread operator for mapping Response

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 these updates again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/elysia-1.x branch from c289f5c to 49ca4be Compare June 4, 2024 07:04
@renovate renovate bot force-pushed the renovate/elysia-1.x branch from 49ca4be to 950eb65 Compare June 4, 2024 07:05
@vermaysha vermaysha merged commit 9847cfd into master Jun 4, 2024
4 checks passed
@vermaysha vermaysha deleted the renovate/elysia-1.x branch June 4, 2024 07:05
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.

1 participant