Releases: BKWLD/decoy
Releases · BKWLD/decoy
Support Laravel 5.6
CSV export, preview previous version
Export CSVS
The records of a given controller can be exported as a CSV. In addition, any active search query applied to a controller will affect this CSV, limiting the result set. You can control how a model is exported to CSV by defining a forExport
method on your model.
Preview a previous version of a model
From the Changes view, you can click the bookmark icon to open a new window, showing the public view of that model (using it's getUriAttribute()
value) at that place in time.
Other
- Changes don't require an authed user to log. So, for instance, if changes are made by a Laravel Command, rows will be written to the changes table.
- Added support for MS SQL Server
- Various bug fixes
Laravel 5.5 Support
- Updates example app to L5.5
- Adds L5.5 package auto-discovery fields to JSON
- Uses newer, L5.5-friendly version of Upchuck
- Uses L5.4 console command syntax
Misc
- Explicitly set the
public
value to1
or0
via JS.
Various utility features and some fixes
Features
- Adds
admin_mutators
property to models to allow their mutators and acccessors to be used within Decoy, #79 - Adds
Decoy::hasEl()
method to check whether an Element key is defined, #64 - Adds
Decoy::els()
method to retrieve multiple Elements at a time. - Adding another default image size:
icon
- Adds helper
getSitemapUrlAttribute
andscopeForSitemap
methods for use with https://github.com/BKWLD/sitemap-from-routes
Fixes
- Date localization fix: #71
- Image field localization fixes: #79
- L5.4 pviot sorting fix: #74
- Commands title fix: #78
- Updating to latest minor versio of Redactor 1.x and fixing bold and italic buttons
- Fix
image
-type Elements not working when using the expanded Element syntax (like where there is asections
key - Fix visibility tooltip value when a listing loads and a model isn't currently public
- Move the overflow hidden on the sidebar listings so it doesn't affect the autocomplete menu of many to many relationships.
Boolean form field, support for soft deleted models, exposing JS libraries, and more
- Added
Former::boolean()
custom field - Added support for soft deleted models in the controller listing
- Betters support for postgres (@noxify, #48)
- Minor increase in test coverage
- Exposing the jQuery, Lodash, and Backbone used by Decoy on it's JS package for use when adding custom JS to a project
- Dates routed through localization (@SomosAMambo, #69)
- Deprecating using
Former::image()
with no arguments - Bux fixes (such as #68)
Localization improvements and bug fixes
New features
- All strings routed through localization files
- Ships with Brazilian Portugese language pack (thanks to @SomosAMambo, #38)
- New
Former::radiolist
andFormer::checklist
form fields, to make instantiating radio and checkbox fields easier from associative arrays.
Fixes
- Fixes for Changes: #34, #40, #20
- Fixes for Commands: #35, #33
- Fix for updating model with existing image: #36
- Fix for default images in Elements with longform definition: #45
Notes
Update the dependency on bkwld/library
when updating to this version.
Supporting Laravel 5.4
5.5.0 Merge branch 'laravel-5.4'
Supporting Laravel 5.3
5.4.0 Merge branch 'laravel-5.3'
Adding .gitattributes file
- No longer downloading unnecessary directories when installing from dist #28
PSR-2 and integration tests
- Switches to PSR-2 coding style (@svenluijten, #8)
- Adds many integration tests against the new
/example
Laravel project. - Fixes many issues (discovered by @SomosAMambo) with localization that were introduced in Decoy 5. Some fixes were made to the assets, so republish them after updating:
php artisan vendor:publish --provider="Bkwld\Decoy\ServiceProvider" --tag=assets
Next up, adding Laravel 5.3 and then Laravel 5.4 support. Then we'll be considering adding more features and additional testing.