Pooya Parsa

Results 2273 comments of Pooya Parsa

We have reworked the serializer to rewrite it into a safer, more compact and faster format. Any reason you need the old format? (and in this case why not using...

Sure feel free to make PR upsating docs! I would suggest to use a format prefix when storing in db like v2:[hash] you can also save lots of space by...

Appreciate if you can share a runnable minimal tanstack+nitro reproduction (no other deps)

```js export default { fetch(req) { return new Response(new TextEncoder().encode("hello")); }, }; ``` Running this in bun > `curl -v localhost:3000`: ```js < HTTP/1.1 200 OK < content-type: application/octet-stream ```...

Uncrypto mainly allows unified access to native WebCrypto implemented in runtimes and does not implement a polyfill for WebCrypto. I understand that you expect Uncrypto to work out of the...

> How would you utilize this if the canonical URL is determined at runtime, such as in a multi-tenant environment with dynamic subdomains? - If there is one dynamic canonical...

> setting an env variable isn't an option You set environment variables when running instance. It is possible to set them after-build actually, hence the benefit of using of **runtime**config....

Ye. I think putting the session definitions in `nitro.config` (or `nuxt.config`) And only for password use runtimeConfig/`process.env.SERVER_SESSION_DEFAULT_PASSWORD`. Having definitions at built-time we can have more integrations and better predictable behavior...

> I am not 100% sure as it can be quite slow in edge environment (ex: D1) Per preset, we can decide and it is (and remains) in "memory" by...

For Nitro v2, I recommend using `node` preset and leveraging Bun's Node.js compatibility (which is quite fast)