Overview
Please don’t upgrade multiple major versions at once (eg. from v6 to v8). You should upgrade one major version at a time.
composer.json file, change the statamic-rad-pack/runway version constraint to ^8.0:
High impact changes
Changes to Nested Fields
Affects apps using nested JSON fields. In previous versions of Runway, nested fields were configured using the-> separator.
However, in Statamic 5, validation around field handles has been tightened up, and > is no longer considered a valid character in field handles.
To work around this, v8 introduces some changes around how nested fields are configured:
-
Instead of using
->to separate the column name and the JSON key in field handles, you should now use an underscore: -
You should also specify the “nested field prefixes” (eg. the JSON column names) in your Runway config file. This will allow Runway to determine which fields are nested.
Low impact changes
Removal of the cp_icon config option
The cp_icon configuration option has been removed in Runway 8, in favour of being able to change the icon using Statamic’s Nav Preferences feature.
Generate Migrations command has been removed
Therunway:generate-migrations command has been removed in favour of the new runway:import-collection command which handles the entire process of generating Eloquent models, database migrations and importing entries.
You may also view a diff of changes between v7.x and v8.0