To upgrade from Fresh 1.x follow this guide https://fresh.deno.dev/docs/examples/migration-guide
Major changes
- Fresh is officially a vite plugin now. This allows you to tap into the vast ecosystem of vite plugins
- HMR in islands
- Much faster rendering thanks to Deno's
precompile
- Rewritten core engine to make it easy to compose middlewares or even full Fresh apps
- Built-in OpenTelemetry integration. View middleware, rendering performance and more directly in Deno Deploy
- Drastically improved cold start times due to lazily loading routes only when needed
- Fresh has moved to JSR