This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from davidyell/develop
Merge to master for release
- Loading branch information
Showing
9 changed files
with
67 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ app/[Cc]onfig/database.php | |
|
||
/vendor/ | ||
composer.lock | ||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Upgrading | ||
If you are upgrading between versions this documentation page will give you some insights into the changes which you | ||
will need to make and potential pitfalls. | ||
|
||
For more release information [please see the releases](https://github.com/davidyell/CakePHP3-Proffer/releases). | ||
|
||
## 0.6.0 | ||
[Release 0.6.0](https://github.com/davidyell/CakePHP3-Proffer/releases/tag/0.6.0) | ||
|
||
When migrating to `0.6.0` you might encounter problems with validation, specifically the `filesize()` method. You will | ||
need to change the param order to match, `fileSize($check, $operator = null, $size = null)`. This is documented in the | ||
[api validation docs](http://api.cakephp.org/3.0/class-Cake.Validation.Validation.html#_fileSize). | ||
|
||
The `operator` can be either a word or operand is greater >, is less <, greater or equal >= less or equal <=, is less <, | ||
equal to ==, not equal !=. | ||
|
||
## 0.5.0 | ||
[Release 0.5.0](https://github.com/davidyell/CakePHP3-Proffer/tree/0.5.0) | ||
|
||
When upgrading to `0.5.0` you no longer need to bootstrap the plugin, as the data type class will be loaded | ||
automatically. | ||
|
||
So the only change required is to change your `config/bootstrap.php` to be `Plugin::load('Proffer')`. | ||
|
||
## 0.4.0 | ||
[Release 0.4.0](https://github.com/davidyell/CakePHP3-Proffer/releases/tag/v0.4.0) | ||
|
||
This version removes some of the events in the plugin, so any code which hooks the events will need to be updated. | ||
Instead of hooking these events you can inject your own transform class in the plugin in which you can implement your | ||
changes. | ||
|
||
## 0.3.0 | ||
[Release 0.3.0](https://github.com/davidyell/CakePHP3-Proffer/releases/tag/v0.3.0) | ||
|
||
If you need to make the generation of thumbnails optional, this is now possible by updating the configuration. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters