- The "Display" text for a field is now shown as the column name when using the 'Table' mode on the fieldtype (instead of the handle!) #185 #186
- Bulk actions are no longer visible for read-only resources #181
- Dropped support for anything below PHP 8.1, Laravel 8 & Statamic 3.3 #182
- Fixed an issue where the translations weren't working properly on Save buttons #179 by @jymden
- All of Runway's strings are now translatable! #178
- The 'Save' button will now show when viewing the publish form on a small-ish screen #172 #174
- When using static caching, model URLs will automatically be invalidated on save - no need to configure a rule for it! #166
- It's now possible to invalidate URLs in your static cache for front-end routes #166 #167
- Fixed issue when generating listing columns, if you're using a fieldset in your blueprint #164 #165
- Brand new 'Table mode' in Has Many fieldtype #163
- Stacks opened by Runway's fieldtypes will now show fieldtype's index components, if they have one #162
- You may now specify the order & direction of models via the Runway config #160 #161
- Fixed an error when attempting to augment model that doesn't exist #156 #158
- Fixed an error when using the
{{ nav:breadcrumbs }}
tag on front-end routes #157 #159
- Fieldtypes: Formatted title will now also be returned from
toItemArray
method #155 by @edalzell
- You can now specify a
title_format
on Runway's fieldtypes #153 #154 by @edalzell
- If you had a
runwaySearch
scope on your model & tried to search using one of Runway's fieldtypes, Runway's default logic would still be used #149 #150 by @duncanmcclean
- Fixed an issue where columns with
json
cast would be 'double cast' when saved to the database #147 by @duncanmcclean
- Fixed a caching issue with fieldtype eager loading if the same model is augmented multiple times during a request #146 by @duncanmcclean
- You may now specify relationships to be eager loaded when a Runway field is augmented #145 by @duncanmcclean
- Fixed an issue with search on Runway fieldtypes - they'll no longer attempt to search hidden fields.
- You may now specify a
runwayListing
scope on your model to filter the results returned in the CP Listing Table #142 by @ryanmitchell
- There's now an option for toggling 'Create' button on BelongsTo fieldtype
- Fixed an issue where search didn't work on fieldtypes
- Better customisation around CP Nav Items #141 by @duncanmcclean
- Resources can now be set to 'read-only' #139 by @duncanmcclean
- Added a new
runway:resources
command to show all registered resources #137 by @duncanmcclean
- Removed some old code (from before the fancy listing table) #140 by @duncanmcclean
- Fixed an issue loading resource results when you're using a fieldset in the related blueprint #136 by @Skullbock
- Improved the performance of augmentation for Runway Fieldtypes (if you load the same record in multiple times) #135 by @ryanmitchell
- Statamic 3.3 is now supported! #120 by @duncanmcclean 🚀
- Related fields will now be automatically set when creating with the BelongsTo fieldtype #112 #124 by @duncanmcclean
- Fixed permissions issues on the Listing Table actions & in the Control Panel Nav #119 by @jbfournot
- Eager loading magic has been refactored & is now backed up with some tests! #123 by @duncanmcclean
- Statamic 3.1 is no longer supported
Also, thanks to @SimonJnsson for a small documentation update!
- Another fix for the magic behind Runway's "relation guessing" code for eager loading #118 by @duncanmcclean
- You may now manually specify relations to be eager loaded, if you'd prefer to have complete control by @duncanmcclean
- The 'magic' behind the eager loading wasn't always resolving relation name's correctly by @duncanmcclean
- Fixed a couple of eager loading issues #116 #117 by @duncanmcclean
- Added some eager loading to 'index queries' #113 #114 by @duncanmcclean and @DanielDarrenJones
- PHP 8.1 Support
- You may now add the 'Has Many' fieldtype to entries/taxonomies/globals #109 by @ryanmitchell
- The HasMany fieldtype now has an option in the Blueprints UI to toggle on/off resource creation #108 by @ryanmitchell
- Dropped support for Laravel 6 & Laravel 7. You should upgrade to Laravel 8.
- Fixed issue viewing listing tables when using Eloquent users
- You can now use the Has Many fieldtype for 'Many to Many' relationships #102 by @psyao
- Fixed CP permission issues #101 by @edalzell
- Fixed issue when searching a resource with a 'Has Many' fieldtype #99 #100 by @edalzell
- Fixed 'Too few arguments' error with
ResponseCreated
event - Fixed URIs being saved in a bad format if you don't start your route with
/
#98
- Fixed filenames of migrations generated by the
blueprint -> migration
tool #96
- Enabled Bulk Actions on the Runway Listing Table #87
- Fixed a few round edges with permissions #94
- Made some improvements to the Belongs To fieldtype, fixing an issue in the process #93 #91
- Fixed an issue viewing resources in the CP, where casting dates to
date_immutable
would cause issues. #89 - GraphQL queries now use the built-in
QueriesConditions
trait for filtering, not custom code
- 🎉 GraphQL API (read the docs) #86 #54
- You can now use Eloquent Query Scopes with the Runway tag #82
- You can now eager load relationships using the
with
parameter on the Runway tag #84
- You can now generate blueprints from Eloquent models #58
- You can now create/edit models from Runway's relationship fieldtypes #76
- Fieldtype values are now flagged as invalid if model can't be found #78
- Fixed issue where 'Delete' action would not be available anywhere, apart from in Runway #79
- Added HasMany fieldtype #74
- Fixed issue with the post-select state of dropdown fieldtypess #67
- Fixed issues with 'primary columns' in the listing table
Why have you missed a couple of versions? I tagged v2.1.7 as v2.1.17 by mistake and so to fix that, I'm tagging this as v2.1.18 which should make Packagist (and everywhere else) happy.
- Support for Statamic 3.2
- Fixed issue where the first field in a blueprint would be used as a primary column, where it should actually be a Relationship fieldtype.
- Fixed another bug affecting third-party packages (Laravel Nova this time)
- If you still have the
Responsable
interface on a model, you shouldn't get an error - Fixed issue with old usage of Runway tag
Re-tag of previous release, v2.1.7.
- Fixed an issue where the
Responsable
interface on models was causing issues (eg. with Inertia.js) #71
- Launched a new documentation site for Runway! 🚀
- Added support for filters in the Listing Table #66
- For resources with multiple words in their handle, like
FooBar
, you can now reference them in Antlers with{{ runway:foo_bar }}
#69 - You can now override the handle of a resource, just add
handle
to the resource's config - You can now use a custom scope to handle Runway searches (useful for querying related models) #65
- When a resource has no results, show a plural title
- Runway will now no longer 'double encode' JSON if you've added a cast to your model #62
- Fixed issue where updating models wouldn't work, if your model had a custom route key set
- Updated the way we handle dates on the edit resource page #60
- Runway will now throw the
ResourceNotFound
exception when a resource can not be found. - Fixed a console error that popped up when configuring listing columns #61
- Little tiny other fix (probably didn't affect anyone - was related to something inside Runway's Vue components) #59
- You can now generate migrations from an existing blueprint #56
- You'll no longer get an error when editing a model if you have
getRouteKeyName
defined on your model. #53 - Fixed an issue where a fieldtype's
Index
component would not be rendered #52
- Listing rows will now be properly displayed with
preProcessIndex
(it'll fix the display of Date fields) #52
- A brand new Listing table for your models, just like the one used for entries #15
- You can now use real Actions, instead of 'Listing buttons'
Listing Columns & Sorting
The listing.columns
and listing.sort
configuration options have been removed. Columns and sorting are now configured from the listing table itself, in the same way it works for entries.
Listing buttons
This release removes the 'listing buttons' functionality, in place of Statamic's Actions feature. Any listing buttons will no longer work. It's recommended you refactor into an Action during the upgrade process.
- Fixes issue with dirty state when creating model #41
- If it's a JSON field, make sure it's decoded before passing it to the publish form #40
- Fixed issues around 'primary key' stuff #39
- If there's no sidebar, we won't try and show one #38
- Fix an issue where the slug fieldtype failed to load #31
- Actually process fieldtypes in the resource listing #37
- Runway now has some defaults for 'Listing Columns' and 'Listing Sort', in case its not present in the config
- The Belongs To fieldtype will now give you a link to edit the related model
- White screen on publish form pages #36
- Another fix for the
dist/js/cp.js
error
- Fixed undefined method
uri()
exception when editing record. - Now ignores the
.png
files when pulling down a release. (Probably not noticable) - Only boots into the
DataRepository
if routing is enabled on at least one resource. - Hopefully fix the
Can't locate path <.../dist/js/cp.js>
error when installing.
Runway 2 introduces some minor breaking changes. Including a minimum requirement for Statamic 3.1 and the fact models
are now called resources
in the config (which our upgrade script should automate for you).
- Models are now 'Resources' - this will be reflected in your config file, it's essentially to stop you getting mixed up between a Runway Model and an Eloquent model
- Resources aren't just a big old arrays anymore 😅
- The Publish Forms in the CP are now Runway's (to allow for extra functionality)
Upgrading to v2.0 is reasonably simple. In your composer.json
file, update the doublethreedigital/runway
version constraint:
"doublethreedigital/runway": "2.0.*"
Then run:
composer update doublethreedigital/runway --with-dependencies
Because of the magic of Statamic's new Upgrade Scripts, all config changes will be automatically made.
- Upgrade script to change
models
toresources
in config - Ability to disable Runway's migrations
Initial beta release for v2.0 - view release notes for v2.0