3.0.0
版本发布时间: 2023-02-20 04:49:07
vercel-community/deno最新发布版本:3.1.1(2024-07-17 02:12:25)
The main breaking change in version 3 is that the function signature now uses the W3C standard Request
and Response
classes directly:
export default (req: Request) => {
return new Response(`Hello, from Deno v${Deno.version.deno}!`);
};
Please see the migration guide for further details.
Major Changes
- Remove legacy interfaces, implement Vercel style interface: #132
- Remove deprecated syntax from dev server: 554900ebd1de9f048aac05c8f9e2d552773f99d8
- Remove shebang flag file path relativization: 2ed36521103ec45e4a15f1f76b60d061c4788223
Minor Changes
- Extract build logic into
DenoLambda
class: #133
Patches
- Update Deno std used by dev server: #102
- Default to Deno v1.30.3: d3ce5c1a1b025e5842dd6f1b7200e97ec0df8766
Credits
Huge thanks to @katsuki-yuri and @kidonng for helping!