Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Releases: davidyell/CakePHP-Proffer

First CakePHP 4 Alpha

30 Jan 16:48
Compare
Choose a tag to compare
First CakePHP 4 Alpha Pre-release
Pre-release

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

02 Aug 08:28
d0fb682
Compare
Choose a tag to compare

I have made some updates to the deprecations in preparation for the CakePHP 4 release. Also made updates to the documentation and test suite.

A number of code quality issues have been addressed.

Maintenance release

08 Jan 11:25
b4a841e
Compare
Choose a tag to compare

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

17 Apr 13:36
a96b6de
Compare
Choose a tag to compare

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

03 Apr 15:38
Compare
Choose a tag to compare

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

24 Jan 16:14
Compare
Choose a tag to compare

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

09 Jan 10:02
Compare
Choose a tag to compare

⚠️ It's been brought to my attention that this release contains a bug, please be aware of #211

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

28 Jun 14:14
Compare
Choose a tag to compare

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

03 Mar 12:46
Compare
Choose a tag to compare

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 and Proffer.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

22 Oct 14:19
Compare
Choose a tag to compare

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.