Skip to content

Commit

Permalink
DOC Enable deprecations for linkfield v3
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Apr 3, 2024
1 parent fc56c05 commit 69c6099
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/en/09_migrating/00_upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ summary: A guide for migrating from older versions of silverstripe/linkfield
# Upgrading from older versions

> [!NOTE]
> If your site is running Silverstripe CMS 4.x, update your constraint for `silverstripe/linkfield` to `^3.0.0-beta1` and upgrade to CMS 5 first.
> If your site is running Silverstripe CMS 4.x, update your constraint for `silverstripe/linkfield` to the latest available version of linkfield v3 and upgrade to CMS 5 first.
> There should be no additional steps required for upgrading from linkfield 2.x to linkfield 3.x.
> Once you have finished upgrading to CMS 5, return to this guide and continue the linkfield upgrade.
Expand All @@ -28,6 +28,10 @@ This guide will help you update to the latest version of `silverstripe/linkfield
> We strongly recommend taking a backup of your database before doing anything else.
> This will ensure you have a known state to revert to in case anything goes wrong.
### Resolve deprecation warnings

Enable [deprecation warnings](https://docs.silverstripe.org/en/upgrading/deprecations/) and resolve any deprecation warnings that are related to `silverstripe/linkfield`. When you have resolved all deprecation warnings, you can disable the deprecation warnings.

### Update your dependencies

Update your composer dependency for `silverstripe/linkfield` to `^4`
Expand Down

0 comments on commit 69c6099

Please sign in to comment.