- Notifications
You must be signed in to change notification settings - Fork29.5k
Commitb41b737
authored
feat(next/legacy/image)!: deprecate and warn on
`next/legacy/image` was introduced in Next.js 13 as way to allowdevelopers to upgrade from 12 to 13 with minimal effort.Now that its been 3 years, its time to deprecate `next/legacy/image` inNext.js 16 so we can remove it in a future version.This will print a warning the first time the component is used.next/legacy/image
usage (#84622)1 parent364db96 commitb41b737
File tree
4 files changed
+21
-6
lines changed- docs/02-pages/04-api-reference/01-components
- packages/next/src/client/legacy
- test/integration
- next-image-legacy/default/test
- next-image-new/app-dir/test
4 files changed
+21
-6
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
642 | 642 |
| |
643 | 643 |
| |
644 | 644 |
| |
645 |
| - | |
646 |
| - | |
647 |
| - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
616 | 616 |
| |
617 | 617 |
| |
618 | 618 |
| |
| 619 | + | |
| 620 | + | |
| 621 | + | |
619 | 622 |
| |
620 | 623 |
| |
621 | 624 |
| |
| |||
697 | 700 |
| |
698 | 701 |
| |
699 | 702 |
| |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
700 | 707 |
| |
701 | 708 |
| |
702 | 709 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1057 | 1057 |
| |
1058 | 1058 |
| |
1059 | 1059 |
| |
| 1060 | + | |
1060 | 1061 |
| |
1061 |
| - | |
| 1062 | + | |
1062 | 1063 |
| |
1063 | 1064 |
| |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1064 | 1068 |
| |
1065 | 1069 |
| |
1066 |
| - | |
| 1070 | + | |
1067 | 1071 |
| |
1068 | 1072 |
| |
1069 | 1073 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
398 | 398 |
| |
399 | 399 |
| |
400 | 400 |
| |
| 401 | + | |
| 402 | + | |
| 403 | + | |
401 | 404 |
| |
402 | 405 |
| |
403 | 406 |
| |
|
0 commit comments
Comments
(0)