0cf3e4cc7c
This adds support for a `missing` field which is complimentary to `has` to only match when `query`, `header`, or `cookie` values are not present. The `missing` field can be applied for middleware matchers as well to prevent running middleware when these fields are present. x-ref: https://github.com/vercel/vercel/pull/8874 x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1667935428788529?thread_ts=1667850697.542269&cid=C03S8ED1DKM) x-ref: https://github.com/vercel/next.js/discussions/25653 x-ref: https://github.com/vercel/next.js/issues/34046 x-ref: https://github.com/vercel/next.js/issues/28185 x-ref: https://github.com/vercel/next.js/issues/25930 x-ref: https://github.com/vercel/next.js/issues/24608 x-ref: https://github.com/vercel/next.js/pull/27431 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) |
||
---|---|---|
.. | ||
extract-const-value.ts | ||
get-page-static-info.ts | ||
parse-module.ts |