forked from javigomez/fof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
113 lines (104 loc) · 6.45 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
FOF 3.0.4
================================================================================
# [HIGH] If you declared onBefore/onAfter Controller methods public FOF would erroneously treat them as tasks
FOF 3.0.3
================================================================================
+ gh-572 Allow to translate toolbar title in fof.xml
+ gh-570 Pass the form to child, needed for parseFieldTags
+ gh-565 Fine grained caching control for controller tasks
~ InstallScript: use is_file / is_dir instead of JFile/JFolder
# [MEDIUM] gh-571 $rowId is not a monotonically increasing ID
# [HIGH] push() does not save relations of new items
FOF 3.0.2
================================================================================
~ Clear the OPcache when installing / updaing an extension as long as it uses Installscript
~ You can now use a folder called ViewTemplate in your extension to hold your view templates
# [LOW] empty() returns false even when there are no items in a collection
FOF 3.0.1
================================================================================
+ Added Params service to the container to easily get/set the component's options
+ Added appropriate responses on CRUD json save
+ Color Field
+ Added parse_value attribute in the Model field. Allows for `[ITEM:fieldName]` replacement in rendered drop-down values.
+ Form Field Button, added listItemTask attribute for sending POST task in the JHtml grid.
+ Browse view: Only show Publish buttons in the Toolbar if the DataModel has an "enabled" field
+ Numeric field type
+ Added forceDelete method in DataController to always delete, never trash, selected record(s)
+ Added onAfterApplySaveError event in DataController when saving fails
+ Rebasing of relation after item creation
~ Use the 'as' parameter of the JDatabase API for the HasMany relation
~ Ip helper class: let the workarounds be disabled
~ Updating bundled cacert.pem
# [HIGH] The "callable" type hint is not compatible with PHP 5.3
# [HIGH] DataModel reorder is non-deterministic when multiple records with the same ordering value exist in the same scope
# [HIGH] LayoutHelper: we aren't loading files from the layouts directory
# [HIGH] When a record is locked and cannot be unlocked it should not be saved regardless
# [MEDIUM] You couldn't create new records using HTTP verbs (e.g. JSON API)
# [MEDIUM] DataModel's automatic validation for INT columns with '0' default value was broken
# [LOW] Front-end rendering of XML forms results in a superfluous div when sidebar rendering is disabled.
# [LOW] InstallScript::_createAdminMenus didn't assign values for NOT NULL columns of the menu database table
# [LOW] AkeebaStrapper renderer would not access the session through the container
# [LOW] Json view would use getItemsArray() instead of get() thus not making use of eager loaded relations
FOF 3.0.0
================================================================================
+ CLI tool to quickly create FOF components – not included in the library ZIP package, look at https://github.com/akeeba/fof/tree/development/cli
+ Preliminary changes for PHP 7 compatibility
+ Improve performance of AccessLevel field in Browse views
+ Improve performance of Language field in Browse views
+ Add relation depth support in Forms
+ Container: assign custom platform classes with platformClass parameter
+ Add support for [TOKEN] in XML form field text replacements
+ ViewTemplate field: pass $this->item as $model in repeatable (browse) mode
+ You can now set default values for the add task
+ Allow field value overrides when copying items
+ DataModel::check(): use default value for NOT NULL but empty fields
+ DataModel::check() set default ordering to 0 when it's NULL
+ XML forms pass the format and tmpl parameters if they are set in the request
+ Model header and form field: "with" attribute
+ DataModel: getRawDataArray() to get the raw database query results
+ DataModel\Collection: reset() allows you to clear all elements in the collection
~ Reworked Tags field
~ Suppress warnings in Selectable and GenericList headers when developers provide invalid list data
# Two Model fields on the same form would result in the wrong data being displayed
# Typo: tdwith instead of tdwidth in Scaffolding
# Media field: did not take `directory` attribute into account
# Filter order and direction not passed correctly to the view
# Calendar field type, notice thrown when the format attribute was not defined
# InstallScript would screw up trying to remove post-installation messages resulting in removal not happening
# Scaffolidng: some language keys had a double underscore
# Relation field: wrong Model object instance used
# Floating sidebar and messages didn't play along nicely
FOF 3.0.0.b2
================================================================================
+ Controller: Additional special ACL tasks "guest" and "user"
+ Added PageParametersToState model behaviour
+ Toolbar: Buttons now support privileges through the `acl` attribute
+ Toolbar: More buttons can be defined through fof.xml
+ Toolbar: You can render the front-end toolbar through fof.xml
+ User field: parse field tags
+ F0FDatabaseInstaller: work around custom drivers with non-standard names (e.g. mysqlicustom or custommysqli)
~ Allow more customisation for Chosen integration
~ Improved Button form field rendering
~ DataModel: Apply order and direction even when $overrideLimits is true
~ (Re)load the relations when using DataModel::find
# Fatal error with Text field in read tasks
# FOF\Download\Adapter\Curl: Would not follow HTTP redirects on servers with PHP Safe Mode enabled
FOF 3.0.0.b1
================================================================================
! Rewritten FOF
Backwards compatibility notes
----------------------------------------
* FOF has been rewritten in version 3 and breaks b/c. Good news: you can have FOF 2 and FOF 3 run side by side thanks to
the new version using namespaces. Please consult the documentation wiki in the GitHub repository for information on
how FOF 3 works.
Note for older versions
================================================================================
FOF 2 follows a different development cycle. This CHANGELOG contains entries for FOF 3 only.
*** LEGEND ***
================================================================================
+ New feature or addition (no b/c issues)
- Feature removal
~ Small change (no b/c issues)
# Bug fix (no b/c or security issues)
$ Security bug fix (b/c issues possible; check description)
! Major change or bug fix (b/c issues)