2013-10-23 10:10:42 +02:00
|
|
|
# 3.2.0 (unreleased)
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
|
|
* Minimum PHP version raised to 5.3.3
|
2013-12-19 04:27:54 +01:00
|
|
|
* DataObject::validate() method visibility changed to public
|
2013-06-05 18:09:33 +02:00
|
|
|
* UploadField "Select from files" shows files in all folders by default
|
2013-10-23 10:10:42 +02:00
|
|
|
|
|
|
|
## Changelog
|
|
|
|
|
2013-12-19 04:27:54 +01:00
|
|
|
### DataObject::validate() method visibility changed to public
|
|
|
|
|
|
|
|
The visibility of `DataObject::validate()` has been changed from `protected` to `public`.
|
|
|
|
|
|
|
|
Any existing classes that currently set this as `protected` should be changed like in
|
|
|
|
this example:
|
|
|
|
|
|
|
|
::php
|
|
|
|
class MyDataClass extends DataObject {
|
|
|
|
...
|
|
|
|
public function validate() {
|
|
|
|
...
|
|
|
|
}
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
2013-06-05 18:09:33 +02:00
|
|
|
### UploadField "Select from files" shows files in all folders by default
|
|
|
|
|
|
|
|
In order to list files in a single folder by default (previous default behaviour),
|
|
|
|
use `setDisplayFolderName()` with a folder path relative to `assets/`:
|
|
|
|
|
|
|
|
UploadField::create('MyField')->setDisplayFolderName('Uploads');
|
|
|
|
|
2013-12-19 04:27:54 +01:00
|
|
|
### Bugfixes
|