-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Comparing changes
Open a pull request
base repository: honojs/hono
base: v4.2.9
head repository: honojs/hono
compare: v4.3.0
- 20 commits
- 79 files changed
- 10 contributors
Commits on Apr 30, 2024
-
fix(request): infer params in a path includes one or more optional pa…
…rameter (#2576) * fix(request): infer params in a path includes one or more optional parameter * denoify
Configuration menu - View commit details
-
Copy full SHA for f298549 - Browse repository at this point
Copy the full SHA f298549View commit details -
feat(rpc): Add status code to response type (#2499)
* feat: add status code to response type * fix MergeSchemaPath * remove TypedResponseInit * fix issues * update tests * add types tests * add client tests * denoify * fix client test * fix validator test --------- Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
Configuration menu - View commit details
-
Copy full SHA for 8129a3a - Browse repository at this point
Copy the full SHA 8129a3aView commit details -
feat(helper/cookie): delete cookie returns the deleted value (#2512)
* feat(helper/cookie): return the value of the deleted cookie as a return value * test(helper/cookie): add a case of deleteCookie's return value * chore: denoify
Configuration menu - View commit details
-
Copy full SHA for 8bdbbaa - Browse repository at this point
Copy the full SHA 8bdbbaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5804b2 - Browse repository at this point
Copy the full SHA c5804b2View commit details -
feat(jsx/dom): improve compatibility with React (#2553)
* feat(jsx/dom): Match the type with the object returned from React's createElement https://react.dev/reference/react/createElement#returns * feat(jsx): add Children utility functions * feat(jsx/dom): export Fragment from hono/jsx/dom * feat(jsx): export DOMAttributes type * feat(jsx): export ReactNode and ReactElement types * feat(jsx): export types for compat with react * feat(jsx): Add hooks and utils for React compatibility * createRef * forwardRef * useImperativeHandle * useSyncExternalStore * refactor(jsx): use Object.is for state comparison like React > If the new value you provide is identical to the current state, as determined by an Object.is comparison, React will skip re-rendering the component and its children. https://react.dev/reference/react/useState#setstate-caveats * feat(jsx/dom): Implement `flushSync` and `createPortal` * feat(jsx/dom/jsx-dev-runtime): preserve only one children in jsxDEV * refactor(jsx/dom): change data structure of NodeString * feat(jsx/dom): accept nullish value for event handler and ref * feat(jsx/dom): enable to set CSS variables * feat(jsx/dom): support defaultProps in functional components * refactor(jsx/dom): improve removing node process * fix(jsx/dom): propagate the context to the children * perf(jsx/dom): skip snapshotting for internal tags * feat(jsx): preserve only one children also in hono/jsx/jsx-dev-runtime.ts * feat(jsx): support CSS variable in server-side rendering * feat(jsx): accept null as props in createElement * refactor(jsx): refactor internal children handling * chore: denoify * test(jsx): add tests * refactor(jsx): use `toArray` unitility function in render.ts
Configuration menu - View commit details
-
Copy full SHA for 0653153 - Browse repository at this point
Copy the full SHA 0653153View commit details -
fix(jsx): preserve the state of element even if it is repeatedly eval…
…uated by children (#2563) * fix(jsx): When an Element is evaluated repeatedly, useState() etc. are not initialized. * chore: denoify
Configuration menu - View commit details
-
Copy full SHA for ebce2d0 - Browse repository at this point
Copy the full SHA ebce2d0View commit details -
feat(utils/mime): expose built-in MIME types (#2516)
* feat: expose built-in MIME * rename the export to `mimes`
Configuration menu - View commit details
-
Copy full SHA for 9f53dc2 - Browse repository at this point
Copy the full SHA 9f53dc2View commit details -
feat(serve-static): expose serve-static builder (#2515)
* feat: allow to use serve-static builder * typo * add stricter type requirement as it is public interface * allow specifying content-type (and others) from user code * fix type * rename the export the `serve-static` * add a test
Configuration menu - View commit details
-
Copy full SHA for 33a7707 - Browse repository at this point
Copy the full SHA 33a7707View commit details
Commits on May 1, 2024
-
feat(secure-headers): enable to set nonce in CSP (#2577)
* feat(secure-headers): enable to set nonce in CSP * chore: denoify * refactor(secure-headers): remove debug logs * refactor(secure-headers): remove useless eslint-disable-next-line comment * refactor(secure-headers): specify type for `getCSPDirectives()` more strictly * feat(secure-headers): export ContentSecurityPolicyOptionHandler * chore: denoify
Configuration menu - View commit details
-
Copy full SHA for 869cf28 - Browse repository at this point
Copy the full SHA 869cf28View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a2a8b - Browse repository at this point
Copy the full SHA c6a2a8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36f508e - Browse repository at this point
Copy the full SHA 36f508eView commit details
Commits on May 2, 2024
-
feat(types): improve response types flow (#2581)
* fix: `ClientResponse` now properly extends fetch's `Response` Better experience / fix types error when working with functions that expects a fetch's `Response` * feat(context): switch from `InterfaceToType` to `Simplify` for better performance Also automatically infer ReturnType for cleaner code * feat(context): infer `TypedResponse` for `TextRespond` * feat: improve response types flow with `ResponseFormat` Co-authored-by: Yusuke Wada <yusuke@kamawada.com> * tests: adjust & add new tests for `TextRespond` & `ResponseFormat` * tests: improve test of using interface * chore: denoify --------- Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
Configuration menu - View commit details
-
Copy full SHA for 2b2dacc - Browse repository at this point
Copy the full SHA 2b2daccView commit details -
docs(readme): remove Benchmarks section (#2591)
* docs(readme): remove Benchmarks section * denoify
Configuration menu - View commit details
-
Copy full SHA for a5c48ff - Browse repository at this point
Copy the full SHA a5c48ffView commit details -
feat(types): improve
ToSchema&WebSocket Helpertypes (#2588)* feat: add `outputFormat` types to Input Co-authored-by: Shotaro Nakamura <syoutarou1103@outlook.jp> * feat: `ToSchema` ability to use whole `Input` Co-authored-by: Shotaro Nakamura <syoutarou1103@outlook.jp> * feat: improve `UpgradeWebSocket` types flow Co-authored-by: Shotaro Nakamura <syoutarou1103@outlook.jp> --------- Co-authored-by: Shotaro Nakamura <syoutarou1103@outlook.jp>
Configuration menu - View commit details
-
Copy full SHA for 9732a7b - Browse repository at this point
Copy the full SHA 9732a7bView commit details -
feat(factory): add
createApp()(#2573)* feat(factory): add `createApp()` * add tests * denoify
Configuration menu - View commit details
-
Copy full SHA for 11a20a7 - Browse repository at this point
Copy the full SHA 11a20a7View commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fb07fb4 - Browse repository at this point
Copy the full SHA fb07fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 791b969 - Browse repository at this point
Copy the full SHA 791b969View commit details -
feat(timing): allow crossOrigin in TimingOptions to be a function (#2359
Configuration menu - View commit details
-
Copy full SHA for 78fa4ca - Browse repository at this point
Copy the full SHA 78fa4caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1564cde - Browse repository at this point
Copy the full SHA 1564cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d44be95 - Browse repository at this point
Copy the full SHA d44be95View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.2.9...v4.3.0