diff --git a/README.md b/README.md index 2663e4d7..bfe3bcff 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@

Documentation 👉 hono.dev
-v4 has been released! Migration guide +Now supports JSR and deno.land/x is deprecated! See Migration guide.


diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index 3a8917d3..47550e98 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -1,5 +1,23 @@ # Migration Guide +## v4.3.11 to v4.4.0 + +### `deno.land/x` to JSR + +There is no braking change, but we no longer publish the module from `deno.land/x`. If you want to use Hono on Deno, use JSR instead of it. + +If you migrate, replace the path `deno.land/x` with JSR's. + +```ts +// From +import { Hono } from 'https://deno.land/x/hono/mod.ts' + +// To +import { Hono } from 'jsr:@hono/hono' +``` + +You can see more details on our website: https://hono.dev/getting-started/deno + ## v3.12.x to v4.0.0 There are some breaking changes.