dotansimha/graphql-yoga (graphql-yoga)
### [`v5.5.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#550)
[Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.4.0...graphql-yoga@5.5.0)
##### Minor Changes
- [#3332](https://togithub.com/dotansimha/graphql-yoga/pull/3332)
[`0208024`](https://togithub.com/dotansimha/graphql-yoga/commit/02080249adb8b120d44a89126571145dc3be8e4e)
Thanks [@ardatan](https://togithub.com/ardatan)! - Customize the landing page by passing a custom
renderer that returns `Response` to the `landingPage` option
```ts
import { createYoga } from 'graphql-yoga'
const yoga = createYoga({
landingPage: ({ url, fetchAPI }) => {
return new fetchAPI.Response(
/* HTML */ `
404 Not Found
404 Not Found
Sorry, the page (${url.pathname}) you are looking for could not be found.
This PR contains the following updates:
5.4.0
->5.5.0
Release Notes
dotansimha/graphql-yoga (graphql-yoga)
### [`v5.5.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#550) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.4.0...graphql-yoga@5.5.0) ##### Minor Changes - [#3332](https://togithub.com/dotansimha/graphql-yoga/pull/3332) [`0208024`](https://togithub.com/dotansimha/graphql-yoga/commit/02080249adb8b120d44a89126571145dc3be8e4e) Thanks [@ardatan](https://togithub.com/ardatan)! - Customize the landing page by passing a custom renderer that returns `Response` to the `landingPage` option ```ts import { createYoga } from 'graphql-yoga' const yoga = createYoga({ landingPage: ({ url, fetchAPI }) => { return new fetchAPI.Response( /* HTML */ `404 Not Found
Sorry, the page (${url.pathname}) you are looking for could not be found.
`, { status: 404, headers: { 'Content-Type': 'text/html' } } ) } }) ```Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.