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

Next for v4.4.0 #2769

Merged
merged 44 commits into from
May 27, 2024
Merged

Next for v4.4.0 #2769

merged 44 commits into from
May 27, 2024

Conversation

yusukebe
Copy link
Member

For the v4.4.0.

nakasyou and others added 4 commits May 23, 2024 05:39
* feat: Introduce ConnInfo helper/adapter

* chore: format code

* chore: run ESLint and add `// @denoify-ignore`

* chore: denoify

* feat: export conninfo types

* fix: fix test

* feat(conninfo/bun): support that env be {server: server}

* chore: eslint

* chore: `lint:fix`

* fix(conninfo/bun): English syntax for error message

* fix: don't use singleQuote in string
* 0.1

* v0.2

* 1.0

* multi runtime

* adding duration

* fix

* interface

* fix

* only input number

* return a named function

* setting exception

* simply

* rename type

* adding typesVersions

* typo

* add JSDoc

* denoify
* feat: decode percent-encoded path in `getPath`

* refactor: Stop decoding URIs in the `param()` method, since they are already decoded in `getPath()`

* test: add tests for decoding URI in path

* chore: denoify

* Revert "refactor: Stop decoding URIs in the `param()` method, since they are already decoded in `getPath()`"

This reverts commit 7192497.

* refactor: Replace "%25" before applying decodeURI() for avoid double decoding

Co-authored-by: Szymon Marczak <[email protected]>

* chore: denoify

* refactor(utils): check existence of "%25" before replacing it with "%2525"

Co-authored-by: Szymon Marczak <[email protected]>

* feat(utils/url): Changed URL decoding to skip invalid sequences and decode as much as possible

* chore: denoify

---------

Co-authored-by: Szymon Marczak <[email protected]>
* feat: add dot notation support for parseBody

* denoify & lint

* refactor: default value and jsdoc

* denoify & lint

* test: more tests

* fix: destruct option key value to false if value is undefined

* types: remove object

* refactor: handle nested values inside a function

* fix: remove unusual import

* denoify & lint

* refactor: explicitly state just all and dot

* fix: issue raised by multiple append on the same dot notation key

* types: dont use {}

* chore: denoify & lint

* fix(types): Deno compatible types

* fix: should override value if  option is false

* chore: denoify & lint

* make option typings partials and should not update file object properties

* refactor: make code less complicated

* chore: add tsdoc

* chore: remove comment

* refactor(utils/body): reduce the complexity of O(mn)

* chore: remove parseAllValues and change value to BodyDataValue type
@yusukebe yusukebe changed the title Next Next for v4.4.0 May 22, 2024
@yusukebe yusukebe added the v4.4 label May 22, 2024
yusukebe and others added 24 commits May 24, 2024 06:01
* refactor(cloudflare-workers): remove `@cloudflare/workers-types`

* add `@denoify-ignore`

* add missing comment
…#2756)

* fix(jsx/dom): fix rerendering of portal elements

* fix(jsx/dom): Make more reuse of existing JSX elements, similar to React

* feat(jsx/hooks): introduce useInsertionEffect hook

* feat(jsx/dom): support SVG kebab-case attributes

* fix(jsx/dom): Intrinsic elements can now also be safely Evaluated multiple times for the same element

* test: add tests

* chore: denoify
* feat(utils): specify detailed return type for parseBody

* chore: denoify

* fix(test): fix import type statement

Co-authored-by: fzn0x <[email protected]>

* fix(utils): Accept `parseBody<T extends BodyData>()`

* refactor: Use `BodyData<{ all: true }>` explicitly

* chore: denoify

* feat(request): add detailed type for c.req.parseBody()

* chore: denoify

* test: add tests for specifying return type for parseBody

* refactor: remove unnecessary type annotation in parseBody method

* refactor(utils): improve type for IDE

* chore: denoify

* refactor(utils): Change to a better name

---------

Co-authored-by: fzn0x <[email protected]>
* v0.1

* adding test

* 1.0
* feat(etag): export `RETAINED_304_HEADERS`

* denoify
* breaking change: fix incorrect assumption in jwt impl

* denofiy
fix: remove remove unnecessary spaces
feat: add missed jsdoc

fix: fix type

Co-authored-by: Yusuke Wada <[email protected]>
* JSX Renderer Middleware

* add `[]`

---------

Co-authored-by: Yusuke Wada <[email protected]>
goisaki and others added 2 commits May 24, 2024 17:34
* ETag Middleware

* add descriptio of `options.retainedHeaders`

---------

Co-authored-by: Yusuke Wada <[email protected]>
yusukebe and others added 2 commits May 24, 2024 17:47
* feat(jsr): reduce slow types (#2369)

* feat(jsr): reduce slow types

* fix: use allow function

* chore: format code

* chore: denoify

* add `deno.json`

* add `jsr-dry-run` command for CI

* don't put `JSX` on `global`

* fix test settings for deno

* don't use `dynamicClass`

* don't declare `ExecutionContext` in `global`

* goodbye denoify

* exports `./middleware`

* exports `./helper`

* exports each helper and middleware

* remove the `awslambda` implementation which is not enough

* feat(jsr): remove helper.ts and middleware.ts (#2667)

* feat(jsr): remove helper.ts and middleware.ts

* fix: fix test

* dont' use `SuperClass`

Co-authored-by: Taku Amano <[email protected]>

* feat(jsr): delete `mod.ts` (#2669)

* rename `deno.json` to `jsr.json`

* lint

* remove slow type in lambda adapter

* fixed runtime test for deno

* export all utils

* add a GitHub action to publish the package to JSR

* fixed declaring `ContextVariableMap`

* fixed the type error

* include `jsr.json` in `jsr.json`

* update `jsr.json`

---------

Co-authored-by: Shotaro Nakamura <[email protected]>
Co-authored-by: Taku Amano <[email protected]>
@yusukebe yusukebe marked this pull request as ready for review May 24, 2024 08:56
@yusukebe yusukebe merged commit acd3634 into main May 27, 2024
20 checks passed
@yusukebe yusukebe deleted the next branch May 27, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants