ChangeLog 4.87 KB
Newer Older
root's avatar
root committed
1
2
ChangeLog for yams 
------------------
Sylvain's avatar
Sylvain committed
3

4
5
6
7
--
    * fix a bug in entity validation : should convert value to the correct
      python type before checking constraints
	
Sylvain's avatar
0.16    
Sylvain committed
8
2008-02-15  --  0.16.0
Sylvain's avatar
Sylvain committed
9
    * nicer schema image view
Sylvain's avatar
0.16    
Sylvain committed
10
11
12
13
    * more methods to alter existing schema definition
    * store string instead of schema types in the errors dict to be able to
      serialize them
    * eschema.check() now take an optional translation function as argument
Sylvain's avatar
Sylvain committed
14
	
Sylvain's avatar
0.16    
Sylvain committed
15
2008-02-05  --  0.15.0
Sylvain's avatar
Sylvain committed
16
17
18
19
    * heavy refactoring of the schema building process
    * rename rproperty_keys to iter_rdef, new has_rdef method
    * use dbhelper to generate index sql
    * don't use ordered_relation when it's not necessary
Sylvain's avatar
Sylvain committed
20
    * removed deprecated code
21
    * fix a bug on deletion of symetric relation definition
Sylvain's avatar
Sylvain committed
22

"Sylvain ext:(%22)'s avatar
0.14    
"Sylvain ext:(%22) committed
23
2007-10-29  --  0.14.0
24
25
26
    * schema building refactoring to read schema from a bunch of directories
    * drop .perms file support
	
Sylvain's avatar
Sylvain committed
27
2007-08-13  --  0.13.0
28
    * new RegexpBasedConstraint
Sylvain's avatar
Sylvain committed
29
    * new schema.rename_entity_type method
30
31
    * api on EntityType to modify an existant type (add_relation,
      remove_relation, extend)
Sylvain's avatar
Sylvain committed
32
33
    * some other refactoring to ease schema modification (set_vocabulary)
    * user.matching_groups replace user.in_groups
34

Sylvain's avatar
Sylvain committed
35
2007-06-25  --  0.12.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
36
    * IntervalBoundConstraint replaces BoundConstraint
Sylvain's avatar
Sylvain committed
37
    * new import_erschema method available in schema definition files
Adrien Di Mascio's avatar
Adrien Di Mascio committed
38

Sylvain's avatar
Sylvain committed
39
2007-06-04  --  0.11.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
40
    * introduced Interval
41
    * dropped the schema_view module
Sylvain's avatar
Sylvain committed
42
    * new has_unique_values method on EntitySchema instance checking if a
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
43
      subject relation should be unique
44
    * improved required attributes' checks
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
45
46

2007-05-14  --  0.10.0
"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
47
48
49
50
51
52
    * automatically sets maxsize only for String attributes (fix #3272)
    * #3272: crash when some static vocabulary specified on a non String
      attribute
    * #3465: BoundConstraint is not usable
	
2006-12-06  --  0.9.3
53
    * fix _ to unicode so we can have unicode description in schema file
"Sylvain ext:(%22)'s avatar
merge    
"Sylvain ext:(%22) committed
54
    * automatically sets maxsize when some vocabulary is defined
55
	
56
57
58
2006-11-14  --  0.9.2
    * new "includefinal" optional argument to ESchema.relation_definitions

"Sylvain ext:(%22)'s avatar
0.9.1    
"Sylvain ext:(%22) committed
59
2006-11-14  --  0.9.1
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
60
61
    * fix (well, hack) pickling problem

"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
62
2006-10-27  --  0.9.0
63
64
    * implements __cmp__ and __hash__ on entity and relation schemas to
      make them comparable to their equivalent type (eg string representation)
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
65
66
    * major api and implementation cleanup thanks to this change
    * deprecate schema_view module
67
    * test fixes
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
68
    * (almost) backward compatible with proper warnings when necessary
69
70
71
    * new .type() method on constraints
    * moved some code of schema2dot into logilab-common

72
	
"Sylvain ext:(%22)'s avatar
0.8    
"Sylvain ext:(%22) committed
73
2006-10-08  --  0.8.0
"Sylvain ext:(%22)'s avatar
0.8    
"Sylvain ext:(%22) committed
74
    * new RestrictedEntityType base class and new maxsize, vocabulary and unique
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
75
      parameters on relation definition to ease schema construction
"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
76
    * schema2dot nicely refactored but schema_view'll probably be deprecated soon
77
    * fix schema reading to correctly handle raw RelationDefinition classes
"Sylvain ext:(%22)'s avatar
0.8    
"Sylvain ext:(%22) committed
78

79
	
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
80
2006-09-22  --  0.7.0
81
82
    * fix a major bug in entity validation
    * refactor RelationFileReader to ease customization
root's avatar
root committed
83

84
	
Adrien Di Mascio's avatar
Adrien Di Mascio committed
85
86
87
2006-09-11  --  0.6.1
    * consider meta when a relation type is implicitly created

Adrien Di Mascio's avatar
Adrien Di Mascio committed
88
2006-09-05  --  0.6.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
89
    * improved schema definition
90
    * support for comments (lines beginning with a #) in Include file
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
91
92
    * new internal dictionary to ease definition of non final relation
      properties
93

94
	
Adrien Di Mascio's avatar
Adrien Di Mascio committed
95
2006-07-13  --  0.5.3
96
    * enhance schema validation (focus on attributes only)
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
97
98
    * check password value is an encoded string

Adrien Di Mascio's avatar
Adrien Di Mascio committed
99
2006-06-08  --  0.5.2
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
100
101
    * fix eschema.default method to deal with boolean default values stored as string

102
	
syt's avatar
syt committed
103
2006-04-27  --  0.4.3
104
105
    * some fixes related to dynamic schema modification

root's avatar
root committed
106
107
108
109
110
111
112
113
114
115
116
117
2006-04-10  --  0.4.2
    * fixed a bug when wildcard are used as subject and object of a
      relation definition
    * fixed default permissions for user entities
	
2006-03-31  --  0.4.1
    * finish api changes, ("final") refactoring
    * cleanup
	
2006-03-29  --  0.4.0
    * major api changes

118

root's avatar
root committed
119
120
2006-03-14  --  0.3.3
    * // in schema definition files may be used to indicate a deprecated
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
121
      attribute
root's avatar
root committed
122
    * control which entities are considered by wildcarded relations refinition
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
123
      using a variable on the relations file reader
root's avatar
root committed
124
125
126

2006-02-24  --  0.3.2
    * let subject_types and object_types rschema methods raise a KeyError if a
127
      type is specified but not found for the relation (as it was documented)   
root's avatar
root committed
128
129
130
131
132
133
134
135
   
2006-01-25  --  0.3.1
    * new function in schema2sql to give grants to a user

2005-07-29  --  0.3.0
    * support for a new 'inline' property on relation
    * don't check for type differences for same relation names

136

root's avatar
root committed
137
138
139
2005-07-25  --  0.2.0
    * conditional drop into sql schema
    * support for schema displaying using dot (graphviz)
140
141


root's avatar
root committed
142
143
144
145
146
147
148
149
150
2005-07-07  --  0.1.2
    * fixed bug with association types of symetric relation

2005-06-24  --  0.1.1
    * mini-modification for external use

2004-11-01  --  0.1.0
    * creation of changelog