forked from rcoelho/giix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPGRADE
71 lines (55 loc) · 3.12 KB
/
UPGRADE
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
Upgrading Instructions for giix
===============================
IMPORTANT
The following upgrading instructions are cumulative. That is,
if you want to upgrade from version A to version C and there is
version B between A and C, you need to follow the instructions
for both versions A and B.
General upgrade intructions
---------------------------
- Make a backup.
- Clean up your assets directory.
- Clean up your cache directory.
- Remove the "giix" diretory from your application's extensions directory.
- Check the requirements of the new version in the README file.
- Then follow the install instructions for the new release in the INSTALL file.
Upgrading from 1.9
---------------------
giix's directory layout has changed. Please review the installation instructions in INSTALL and change your configurations accordingly.
The message translation was removed from the generated view files. The translation of the view files should be done via file translation.
See <http://www.yiiframework.com/doc/guide/1.1/en/topics.i18n#file-translation> for more information.
GxActiveRecord::pkSeparator isn't declared as static anymore. You should check your code and make any necessary changes accordingly.
Upgrading from 1.8
---------------------
The method GxActiveRecord::label doesn't have the second parameter "ucwords" anymore. The same happens when it is overriden on the generated base model.
You will need to remove the parameter from the method on your base models.
You will have to check your code and fix any calls to the method that have the parameter.
The method GxActiveRecord::getRelationLabel doesn't have the third parameter "ucwords" anymore.
You will have to check your code and fix any calls to the method that have the parameter.
Upgrading from 1.7
---------------------
You must implement the "label" method on each AR that extends from GxActiveRecord.
Upgrading from 1.6
---------------------
No modification required.
Upgrading from 1.5
---------------------
The new default value for the option 'detectRelations' in the method GxActiveRecord::saveMultiple is false.
Upgrading from 1.4
---------------------
No modification required.
Upgrading from 1.3
---------------------
No modification required.
Upgrading from 1.2
---------------------
giix now has native support for saving MANY_MANY relations with the new method GxActiveRecord::saveWithRelated. You may remove any related extensions if you will use giix's native support.
If you want to use the new GxActiveRecord::saveWithRelated method, you must first generate the pivot model for the cross-reference table of the relationship. See README file for details.
Upgrading from 1.1.1
---------------------
More inline styling and formatting was removed from the generated code. Now you need to style your pages with your own css rules.
Class Controller (generated by "yiic webapp") is no longer necessary. You can remove it if it isn't used.
Upgrading from 1.0
---------------------
All inline styling and formatting is removed from the generated code. Now you need to style your pages with your own css rules.
Removed support for enum fields. If you need this, you will have to implement it in your code.