Ghost/core
Kevin Ansfield cbbf5b4ad4
Fixed mobiledoc errors when upgrading from v1/v2 to v4 (#12741)
no issue

Upgrading from v1 or v2 can result in successful upgrades but with mobiledoc errors showing in the logs:

```
NAME: InternalServerError
MESSAGE: Mobiledoc card 'card-markdown' not found.
```

The errors do not signify a problem as long as the 4.0 migrations run because those rename the deprecated card before re-rendering.

- `@tryghost/kg-default-cards` dropped support for `card-markdown` cards. 4.0 migrations handled this by renaming all `card-markdown` cards to `markdown` before re-generating any content
- 2.0 and 3.0 also had migrations that re-generated content but they are run before the 4.0 card rename migration meaning that the mobiledoc renderer sees cards that it doesn't know about. The behaviour for unknown cards is to log an error and skip rendering of that card
- by NOOPing the 2.0 and 3.0 migrations we eliminate the incompatibility errors and reduce the amount of processing the upgrade needs to perform
2021-03-09 10:51:44 +00:00
..
client@4d2987b65c Updated Ghost-Admin to v4.0.0-rc.0 2021-03-05 14:08:52 +00:00
frontend Fixed AMP URLs not being transformed to absolute (#12737) 2021-03-06 09:43:50 +00:00
server Fixed mobiledoc errors when upgrading from v1/v2 to v4 (#12741) 2021-03-09 10:51:44 +00:00
shared Bumped default API version to v4 in url-utils 2021-03-03 17:26:55 +13:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Added limit service 2021-03-03 13:43:05 +00:00