5.0.7
June 1st, 2023
5.0.4
May 9th, 2023
5.0.1
May 4th, 2023
5.0.0
April 28th, 2023
What's new
- Runway v5 now supports Statamic 4 #235
What's fixed
Breaking changes
Please add the new HasRunwayResource
trait to the Eloquent models you have configured in the Runway config.
// app/Models/Order.php
class Order extends Model
{
use HasRunwayResource;
}
4.2.10
May 9th, 2023
4.2.7
May 4th, 2023
4.2.6
May 4th, 2023
4.2.5
April 21st, 2023
What's fixed
- Table name is now prefixed on two queries in the
ResourceController
#254
4.2.4
April 15th, 2023
What's fixed
- Slug field will be used for
slug
column when generating blueprint from Eloquent model #251
4.2.3
April 8th, 2023
What's fixed
- Fixed "Column index out of range" error #242
- Various fixes to Table mode on the Has Many fieldtype #246
- Fixed an issue where Runway would try to save attributes from the
$appends
array #247 - Fixed an 'ambiguous table' error with one of Runway's queries #248
- Fix double requests, caused by column data changing behind the scenes #250
What's improved
- Breadcrumbs are passed into the inline publish form (the one that shows when you edit something in a stack) #249
4.2.1
February 28th, 2023
What's fixed
- Removed
console.log
I left in the last release 🤦♂️ - Fixed an issue with auto-publishing assets while waiting on statamic/cms#7627 to be merged
4.2.0
February 28th, 2023
Nothing new since v4.1, just a couple of tweaks to Runway behind the scenes.
What's new
- Switched from Laravel Mix to Vite #229 by @duncanmcclean
- Replaced StyleCI with Pint via GitHub Actions
4.1.2
February 20th, 2023
What's new
- You can now relationship fields when using the
where
parameter on the Runway tag #225 by @duncanmcclean
What's fixed
- Runway no longer attempts to search section & computed fields when searching in the Control Panel #224 by @stoffelio
4.1.1
February 18th, 2023
What's fixed
- Ignore computed fields when saving #222 #223 by @ryanmitchell
4.1.0
February 11th, 2023
What's improved
- Added a
ResourcePolicy
to handle authorization in Runway #221 by @MtDalPizzol
What's fixed
- Prevent resource row selection #220 by @MtDalPizzol
4.0.0
February 5th, 2023
What's new
- You may now translate permission names #214 by @MtDalPizzol
Breaking changes
- Permission keys have changed. If you have a user role with custom permissions set, you may need to make some changes:
- File driver: If you're using the file users repository, your
roles.yaml
file will have been updated automatically with the new permission names. - Otherwise: You'll need to change permission names yourself - examples of the changes are shown below.
View Products
->view product
Edit Products
->edit product
Create new Product
->create product
Delete Product
->delete product
- File driver: If you're using the file users repository, your
3.0.3
February 5th, 2023
What's improved
- Improved handling of pagination in Runway tag to make it more Statamic-like #212 #217 by @duncanmcclean
What's fixed
- Fixed
sort
parameter in Runway tag #213 #215 by @duncanmcclean - Fixed action controller returning incorrect items to actions #216 by @Alt-Ben
3.0.2
January 28th, 2023
What's fixed
- Fixed an issue where the stacks on relationship fieldtypes would open up empty #207 #208 by @duncanmcclean
3.0.1
January 27th, 2023
What's fixed
- Fixed an issue where 'Edit' button wouldn't show in listing table action list if front-end routing was disabled #205 #206 by @duncanmcclean
3.0.0
January 27th, 2023
What's new
- Support for Statamic 3.4! 🚀 #201 by @duncanmcclean
- You may now use Statamic's Search functionality with Runway #169 #200 by @jasonvarga
- You may now configure the "title" field used for models in fieldtypes & in search #202 by @duncanmcclean
Breaking changes
- Statamic 3.3 is no longer supported. You should upgrade to receive any new features & bug fixes.
- Runway has dropped support for setting title & section of Control Panel nav items, in favour of Statamic's new CP Nav Preferences feature #204
- If you were setting a custom icon for Control Panel nav items, you will need to adjust your config. Please review this PR for more details.
2.6.7
January 28th, 2023
What's fixed
- Fixed an issue where the stacks on relationship fieldtypes would open up empty #207 #208 by @duncanmcclean
2.6.6
January 27th, 2023
What's fixed
- Fixed an issue where 'Edit' button wouldn't show in listing table action list if front-end routing was disabled #205 #206 by @duncanmcclean
2.6.5
January 24th, 2023
What's new
- Added Save Button Options #198 by @duncanmcclean
What's fixed
- Fixed issue where fallback method calls to
Resource
weren't being passed through correctly
2.6.4
January 20th, 2023
2.6.2
December 7th, 2022
2.6.1
November 19th, 2022
2.6.0
November 5th, 2022
2.5.6
November 3rd, 2022
2.5.4
October 29th, 2022
2.5.3
September 27th, 2022
What's improved
- When using static caching, model URLs will automatically be invalidated on save - no need to configure a rule for it! #166
2.5.2
September 26th, 2022
2.5.1
August 24th, 2022
2.5.0
August 6th, 2022
2.4.3
July 23rd, 2022
2.4.2
July 15th, 2022
2.4.1
July 6th, 2022
2.4.0
June 30th, 2022
2.3.9
June 13th, 2022
What's fixed
- 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
2.3.8
June 7th, 2022
What's fixed
- Fixed an issue where columns with
json
cast would be 'double cast' when saved to the database #147 by @duncanmcclean
2.3.7
June 7th, 2022
What's fixed
- Fixed a caching issue with fieldtype eager loading if the same model is augmented multiple times during a request #146 by @duncanmcclean
2.3.6
June 1st, 2022
What's new
- You may now specify relationships to be eager loaded when a Runway field is augmented #145 by @duncanmcclean
2.3.5
April 28th, 2022
What's fixed
- Fixed an issue with search on Runway fieldtypes - they'll no longer attempt to search hidden fields.
2.3.4
April 26th, 2022
What's new
- You may now specify a
runwayListing
scope on your model to filter the results returned in the CP Listing Table #142 by @ryanmitchell
What's improved
- There's now an option for toggling 'Create' button on BelongsTo fieldtype
What's fixed
- Fixed an issue where search didn't work on fieldtypes
2.3.3
April 14th, 2022
What's new
- 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
What's improved
- Removed some old code (from before the fancy listing table) #140 by @duncanmcclean
2.3.2
April 13th, 2022
What's fixed
- Fixed an issue loading resource results when you're using a fieldset in the related blueprint #136 by @Skullbock
2.3.1
April 8th, 2022
What's improved
- Improved the performance of augmentation for Runway Fieldtypes (if you load the same record in multiple times) #135 by @ryanmitchell
2.3.0
February 26th, 2022
What's new
- 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
What's fixed
- Fixed permissions issues on the Listing Table actions & in the Control Panel Nav #119 by @jbfournot
What's improved
- Eager loading magic has been refactored & is now backed up with some tests! #123 by @duncanmcclean
Breaking changes
- Statamic 3.1 is no longer supported
Also, thanks to @SimonJnsson for a small documentation update!
2.2.5
February 15th, 2022
What's fixed
- Another fix for the magic behind Runway's "relation guessing" code for eager loading #118 by @duncanmcclean
2.2.4
February 9th, 2022
What's new
- You may now manually specify relations to be eager loaded, if you'd prefer to have complete control by @duncanmcclean
2.2.3
February 9th, 2022
What's fixed
- The 'magic' behind the eager loading wasn't always resolving relation name's correctly by @duncanmcclean
2.2.2
February 8th, 2022
What's fixed
- Fixed a couple of eager loading issues #116 #117 by @duncanmcclean
2.2.1
February 5th, 2022
What's improved
- Added some eager loading to 'index queries' #113 #114 by @duncanmcclean and @DanielDarrenJones
2.2.0
January 29th, 2022
What's new
- 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
Breaking changes
- Dropped support for Laravel 6 & Laravel 7. You should upgrade to Laravel 8.
2.1.36
December 13th, 2021
2.1.34
November 16th, 2021
2.1.33
November 15th, 2021
What's fixed
- 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
2.1.32
October 30th, 2021
What's fixed
- Fixed filenames of migrations generated by the
blueprint -> migration
tool #96
2.1.29
October 22nd, 2021
2.1.28
October 20th, 2021
What's fixed
- 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
2.1.26
September 24th, 2021
What's new
- You can now use Eloquent Query Scopes with the Runway tag #82
2.1.25
September 24th, 2021
What's new
- You can now eager load relationships using the
with
parameter on the Runway tag #84
2.1.23
September 18th, 2021
What's new
- You can now create/edit models from Runway's relationship fieldtypes #76
2.1.22
September 14th, 2021
2.1.20
August 27th, 2021
What's fixed
- Fixed issue with the post-select state of dropdown fieldtypess #67
2.1.18
August 19th, 2021
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.
What's new
- Support for Statamic 3.2
What's fixed
- Fixed issue where the first field in a blueprint would be used as a primary column, where it should actually be a Relationship fieldtype.
2.1.10
August 12th, 2021
What's fixed
- Fixed another bug affecting third-party packages (Laravel Nova this time)
Having issues updating?
I recently tagged the wrong release which may result in a big red error when you try to update Runway. To workaround this, update like so:
composer update doublethreedigital/runway:2.1.10
2.1.9
August 11th, 2021
What's fixed
- If you still have the
Responsable
interface on a model, you shouldn't get an error - Fixed issue with old usage of Runway tag
2.1.7
August 11th, 2021
What's fixed
- Fixed an issue where the
Responsable
interface on models was causing issues (eg. with Inertia.js) #71
2.1.6
August 10th, 2021
What's new
- 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
What's fixed
- When a resource has no results, show a plural title
2.1.5
July 30th, 2021
What's fixed
- 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
2.1.4
July 29th, 2021
What's fixed
- 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
2.1.2
July 7th, 2021
2.1.1
July 6th, 2021
What's fixed
- Listing rows will now be properly displayed with
preProcessIndex
(it'll fix the display of Date fields) #52
2.1.0
July 3rd, 2021
⚠️ This update contains breaking changes.
What's new
- 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'
Breaking changes
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.
2.0.7
July 1st, 2021
What's new
- You can now use Cmd + S (or Ctrl + S) to save when using Runway's Publish Form #50
- We now actually show the validation error when you run into one using Runway's Publish Form #49
What's fixed
- If
max_items
is set to1
on the Runway fieldtype, just return the single model as augmented, not aCollection
Thanks John Carter for the new additions :)
2.0.6
June 30th, 2021
2.0.4
June 4th, 2021
What's fixed
- 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
What's improved
- 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
2.0.1
May 25th, 2021
What's fixed
- 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.
2.0.0
May 24th, 2021
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).
What's new?
What's improved?
- 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)
Upgrade Guide
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.
1.0.8
February 13th, 2021
- Fix Runway will no longer fail on
composer install
if database can't be connected to. #11
1.0.6
January 18th, 2021
- New You can now customise the icon used in CP Nav. Just pass the name of Statamic icon or pass in an inline SVG.
- Fix
$request->user()
should be fixed in even more places now.
1.0.5
January 18th, 2021
- Fix Hopefully fixed an issue were you get
Call to undefined method
App\User::hasPermission()`. - Fix
Create
button on resource now actually links to the create page
1.0.4
December 28th, 2020
Non-blueprint rows are now available via the Runway tag, as apposed to only blueprint fields being available.
1.0.2
December 21st, 2020
New
- If you specify a route key on your Eloquent model, Runway will respect that and run with it in your Control Panel.
Bugs
- Section fieldtypes will no longer attempt to save.
Improvements
- Downloading should take a teeny tiny bit less time - thanks to #5
- Better styled pagination on listing page
1.0.1
December 19th, 2020
New Features
- Listing Search
- Permissions - so you can manage which users have access to do CRUD actions on your Eloquent models.
Improvements
- The listing table is now extra big, helpful for all those extra columns