Skip to content

Commit

Permalink
docs: keep old pages path but link to other documents
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Oct 6, 2020
1 parent d0a04ec commit bd5e232
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .changeset/lemon-radios-travel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

Migrate Apollo dependencies to `@apollo/client` package.

See full release notes: https://docs.commercetools.com/custom-applications/releases/2020-10-12-migrating-to-the-new-apollo-client-30
See full release notes: https://docs.commercetools.com/custom-applications/releases/2020-10-12-migrating-to-v17
9 changes: 9 additions & 0 deletions website/src/content/deployment/http-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: HTTP Server
---

<Warning>

As of `>= v17` this page no longer exists. Please refer to the [documentation about compiling a Custom Application](/deployment/compiling-a-custom-application) and the [release notes on how to replace the HTTP server](/releases/2020-10-12-migrating-to-v17).

</Warning>
9 changes: 9 additions & 0 deletions website/src/content/development/runtime-configuration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Runtime Configuration
---

<Warning>

This page no longer exist. Please refer to the [documentation about the new application config](/development/application-config) and the [release notes on how to migrate to the new config](/releases/2020-07-16-introducing-a-new-and-simpler-application-config).

</Warning>
2 changes: 1 addition & 1 deletion website/src/content/main-concepts/graphql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Requests to the `/graphql` endpoint require one or more HTTP headers, to determi

- `X-Project-Key` (_optional_): Specifies the project key to be used by the targeted GraphQL server. This value is not always required (depending on the query), but it's recommended to always send it whenever possible.

> As of version `>=17` of the `@commercetools-frontend/application-shell` package, it is recommended to use the `context` object to pass request metadata instead of the `variables` object. See related [release notes](https://docs.commercetools.com/custom-applications/releases/2020-10-12-migrating-to-the-new-apollo-client-30).
> As of version `>=17` of the `@commercetools-frontend/application-shell` package, it is recommended to use the `context` object to pass request metadata instead of the `variables` object. See related [release notes](/releases/2020-10-12-migrating-to-v17).
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
---
date: 2020-10-12
title: Migrating to the new Apollo Client 3.0
title: Migrating to v17
description: |
With the new release of Apollo Client 3.0, certain breaking changes have been introduced which require some migration steps.\
As a consequence, the Application Kit packages have also been released as a new major version v17.\
The Application Kit packages have been released as a new major version v17.\
In this release note we go through the important migration steps.
type: feature
topics:
- Breaking Changes
- Dependencies
---

With the new release of Apollo Client `3.0`, there are some important breaking changes which require some migration steps. See official migration guide https://www.apollographql.com/docs/react/migrating/apollo-client-3-migration/.

As a consequence, the Application Kit packages have also been released as a new major version `v17`.
The Application Kit packages have been released as a new **major version** `v17`. One of the most important changes in this release relates to migrating to the new Apollo Client `v3`. See official migration guide https://www.apollographql.com/docs/react/migrating/apollo-client-3-migration/.

Follow the steps below to migrate your Custom Application to the new versions.

Expand Down

0 comments on commit bd5e232

Please sign in to comment.