Releases: davidyell/CakePHP-Proffer
First CakePHP 4 Alpha
I have done some work to implement compatibility with CakePHP 4.
- Upgraded the test suite
- Fixed methods which implement the new
UploadedFile
object wrapper for uploads in request data - Changed the behaviour to account for the new class when processing request data
- Updated the documentation where appropriate to match new Cake 4 practises and method names
- Built a very basic example Cake 4 application to facilitate some integration testing in an application environment. You can find that repo over here
This release allows for uploading images and thumbnail creation and regular files. With some request data manipulation it also supports HTML5 multiple file uploading.
Please open issues if you try this release and discover any bugs or other irregularities. Feature requests for the Cake 4 version are welcome, but will come after a stable release of the upgraded version.
Fixed deprecations
Maintenance release
This releases lays the foundations for updating the plugin to work with newer versions of CakePHP, thanks to @isemantics for the contributions.
Also a minor fix in this release thanks to @keisukefunatsu which preserves aspect ratio when resizing images.
Compatibility release and finalised api
This release adds compatibility with CakePHP 3.6 releases thanks to @Schlaefer for the contributions on fixing the deprecations.
This release also pushes the minimum required CakePHP version up to 3.4.0.
I have decided to tag this as 1.0.0 release, as the api is considered stable now due to no changes having been made in a while.
Thanks!
Minor feature release
Small release, with some minor tweaks and a a new feature.
- Allow for reading and changing the orientation of images which contain orientation data using Intervention image.
- Refactoring of the path class to remove code duplication.
Thanks to everyone who submitted code for this release.
Bugfix release
This is a patch release which fixes a breaking bug introduced as part of the associated uploads feature in #207 which was broken in the 0.8.0 release (see #211).
This updated release resolve this issue, and restores functionality.
Thanks to everyone who reported this issue and to those who contributed fixes to get it sorted out.
Feature release
This new release addresses a feature which has been requested by users on a number of occasions and that is multiple uploads using associations.
So now you can finally associate many uploads to a single parent. For example if you are creating a new Post entity, you can associate many Uploads to that Post, using a Posts hasMany Uploads
in your table relationships.
There is a more complete example in the documentation.
Thanks to everyone who contributed code, thoughts and issues for this release.
Maintenance release
This release addresses a long standing ticket which was holding the plugin back from achieving more with the thumbnail generation. This update swaps the Imagine library for the Intervention Image library which allows far greater flexibility with creating custom image thumbnails.
If you are uploading other file types, your code should be unaffected.
This release also pushed the minimum requirements forward so that PHP 5.6 is now a requirement. This is mostly driven by changes to phpunit/phpunit
but also ensures compatibility with the currently supported versions of PHP. I do understand this is jumping the gun a bit with PHP 5.5, but a few weeks is okay with me.
If you are implementing your own Transformation classes and depending on Imagine, you will now need to require this in your own projects composer file.
Thanks to everyone who contributed fixes, ideas and input to make this release a success.
Feature and bugfix release
This release features some new features and functionality implemented by community contributors.
- New examples for managing image creation and deletion
- Uses the newly implemented
Proffer.afterCreateImage
andProffer.beforeDeleteImage
events - The shell can now strip behaviours when working, so that extra callbacks are skipped
- Fixed a bug when cleaning up a Table class with multiple upload fields
- SensioLabs Insights have been fixed
- Multiple fixes to the documentation in both the docs files and to the class doc blocks
- Updated the constraint of Imagine to pull any
0.6.*
release to hopefully prevent Composer version clashes - Deleting records will now correctly delete associated uploads if you are using a custom path class
Huge thanks to everyone who contributed code, issues and other ideas towards this release.
Documentation updates
This release incorporates some updates to the documentation to reflect changes made in recent version of the plugin.
Thanks to all the contributors for their help with this release.