rsnext/packages/next/client
Steven da8d1984d2
Add experimental wildcard remotePatterns config for upstream images (#36245)
## Description 
This PR implements a new configuration object in `next.config.js` called `experimental.images.remotePatterns`.

This will eventually deprecate `images.domains` because it covers the same use cases and more by allowing wildcard pattern matching on `hostname` and `pathname` and also allows restricting `protocol` and `port`.

## Feature

- [x] Implements an existing feature request.
- [x] Related issues linked
- [x] Unit tests added
- [x] Integration tests added
- [x] Documentation added
- [x] Telemetry added. In case of a feature if it's used or not.
- [x] Errors have helpful link attached, see `contributing.md`

## Related 

- Fixes #27925 
- Closes #18429 
- Closes #18632
- Closes #18730
- Closes #27345
2022-05-05 02:19:16 +00:00
..
dev Fix various Trusted Types violations without use of policy (#34726) 2022-05-05 00:11:36 +00:00
portal Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
streaming Update rsc refresh typing and doc example (#35543) 2022-03-25 22:54:07 +01:00
head-manager.ts correctly assess node equality when nonce attribute is present (#27573) 2021-11-10 19:31:32 -06:00
image.tsx Add experimental wildcard remotePatterns config for upstream images (#36245) 2022-05-05 02:19:16 +00:00
index.tsx fix: react root enabled properly in custom server (#36664) 2022-05-03 22:42:00 +00:00
link.tsx Add support for passing ref to next/link with new behavior enabled (#36537) 2022-04-28 11:32:32 +02:00
next-dev.js fix: Prevent page to scroll to top during data HMR (#35739) 2022-03-30 10:45:34 -05:00
next.js Split up & tweak next/client initialization (#33838) 2022-03-07 17:09:55 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts Initial implementation of statically optimized flight data of server component pages (#35619) 2022-04-01 16:13:38 +00:00
performance-relayer.ts Experimental: hook version of reportWebVitals (#28769) 2021-09-24 18:35:33 +00:00
request-idle-callback.ts upgrade to typescript 4.4.3 (#29112) 2021-09-16 18:06:57 +02:00
root-index.tsx Add tests for routing experiment (#36618) 2022-05-02 10:18:16 +00:00
root-next.js Add tests for routing experiment (#36618) 2022-05-02 10:18:16 +00:00
route-announcer.tsx Fix <RouteAnnouncer/> shouldn't announce initial path under strict mode and React 18 (#34338) 2022-02-14 19:18:39 +00:00
route-loader.ts Route Loader Trusted Types Violation Fix (#34730) 2022-05-03 23:22:08 +00:00
router.ts Custom app for server components (#33149) 2022-01-14 13:01:00 +00:00
script.tsx Adds inline script functionality to next/script for worker and beforeInteractive strategies (#36364) 2022-04-29 15:20:31 +00:00
trusted-types.ts Route Loader Trusted Types Violation Fix (#34730) 2022-05-03 23:22:08 +00:00
use-intersection.tsx fix: reset visible state when src/href changed (#35287) 2022-04-04 14:18:49 -04:00
with-router.tsx Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00