ChangeLog 6.12 KB
Newer Older
root's avatar
root committed
1
2
ChangeLog for yams 
------------------
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
3
4
5
6
7
8
9
10
11
12
13
	
  --
    * py datetime support (must be explicitly activated until we drop mx.DateTime support)
    * new construction_mode argument to load() which allow to silently ignore some error
    * new has_metadata and meta_attributes methods on entity schema dealing with 
      attributes which are describing another attribute
	
2008-12-09 -- 0.20.2
    * add a strict argument to ESchema.is_subobject to return True only if the
      entity can't live outside another one
	
Adrien Di Mascio's avatar
Adrien Di Mascio committed
14
15
16
2008-09-24  --  0.20.0
    * support for inheritance
	
Sylvain Thenault's avatar
0.19    
Sylvain Thenault committed
17
2008-08-07  --  0.19.0
Pierre-Yves David's avatar
Pierre-Yves David committed
18
19
    * add attributs to dots view

Pierre-Yves David's avatar
Pierre-Yves David committed
20
21
    * new Decimal Final

Pierre-Yves David's avatar
Pierre-Yves David committed
22
23
24


2008-05-08  --  0.18.0
Nicolas Chauvat's avatar
Nicolas Chauvat committed
25
    * support for gae/django dbmodel
Pierre-Yves David's avatar
Pierre-Yves David committed
26

Nicolas Chauvat's avatar
Nicolas Chauvat committed
27
    * change some definitions in yams.interfaces
Pierre-Yves David's avatar
Pierre-Yves David committed
28

Nicolas Chauvat's avatar
Nicolas Chauvat committed
29
    * improve documentation and error messages
Pierre-Yves David's avatar
Pierre-Yves David committed
30

Nicolas Chauvat's avatar
Nicolas Chauvat committed
31
32
    * various bugfixes

Pierre-Yves David's avatar
Pierre-Yves David committed
33
34


Sylvain's avatar
Sylvain committed
35
2008-03-26  --  0.17.0
36
37
38
    * support for entities whose fulltext content should be indexed on a related
      entity, using new fulltext_container attribute on RelationSchema instance
      and new fulltext_relations and fulltext_containers methods on EntitySchema
Pierre-Yves David's avatar
Pierre-Yves David committed
39

40
    * backported subjrproperty/objrproperty ESchema methods
Pierre-Yves David's avatar
Pierre-Yves David committed
41

42
    * new has_[subject|object]_relation methods on ESchema
Sylvain's avatar
0.17    
Sylvain committed
43

Pierre-Yves David's avatar
Pierre-Yves David committed
44
45


Sylvain's avatar
Sylvain committed
46
2008-03-05  --  0.16.1
Sylvain's avatar
0.17    
Sylvain committed
47
48
    * fix a bug in entity validation : should convert value to the correct
      python type before checking constraints
Pierre-Yves David's avatar
Pierre-Yves David committed
49
50
51



Sylvain's avatar
0.16    
Sylvain committed
52
2008-02-15  --  0.16.0
Sylvain's avatar
Sylvain committed
53
    * nicer schema image view
Pierre-Yves David's avatar
Pierre-Yves David committed
54

Sylvain's avatar
0.16    
Sylvain committed
55
    * more methods to alter existing schema definition
Pierre-Yves David's avatar
Pierre-Yves David committed
56

Sylvain's avatar
0.16    
Sylvain committed
57
58
    * store string instead of schema types in the errors dict to be able to
      serialize them
Pierre-Yves David's avatar
Pierre-Yves David committed
59

Sylvain's avatar
0.16    
Sylvain committed
60
    * eschema.check() now take an optional translation function as argument
Pierre-Yves David's avatar
Pierre-Yves David committed
61
62
63



Sylvain's avatar
0.16    
Sylvain committed
64
2008-02-05  --  0.15.0
Sylvain's avatar
Sylvain committed
65
    * heavy refactoring of the schema building process
Pierre-Yves David's avatar
Pierre-Yves David committed
66

Sylvain's avatar
Sylvain committed
67
    * rename rproperty_keys to iter_rdef, new has_rdef method
Pierre-Yves David's avatar
Pierre-Yves David committed
68

Sylvain's avatar
Sylvain committed
69
    * use dbhelper to generate index sql
Pierre-Yves David's avatar
Pierre-Yves David committed
70

Sylvain's avatar
Sylvain committed
71
    * don't use ordered_relation when it's not necessary
Pierre-Yves David's avatar
Pierre-Yves David committed
72

Sylvain's avatar
Sylvain committed
73
    * removed deprecated code
Pierre-Yves David's avatar
Pierre-Yves David committed
74

75
    * fix a bug on deletion of symetric relation definition
Sylvain's avatar
Sylvain committed
76

Pierre-Yves David's avatar
Pierre-Yves David committed
77
78


"Sylvain ext:(%22)'s avatar
0.14    
"Sylvain ext:(%22) committed
79
2007-10-29  --  0.14.0
80
    * schema building refactoring to read schema from a bunch of directories
Pierre-Yves David's avatar
Pierre-Yves David committed
81

82
    * drop .perms file support
Pierre-Yves David's avatar
Pierre-Yves David committed
83
84
85



Sylvain's avatar
Sylvain committed
86
2007-08-13  --  0.13.0
87
    * new RegexpBasedConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
88

Sylvain's avatar
Sylvain committed
89
    * new schema.rename_entity_type method
Pierre-Yves David's avatar
Pierre-Yves David committed
90

91
92
    * api on EntityType to modify an existant type (add_relation,
      remove_relation, extend)
Pierre-Yves David's avatar
Pierre-Yves David committed
93

Sylvain's avatar
Sylvain committed
94
    * some other refactoring to ease schema modification (set_vocabulary)
Pierre-Yves David's avatar
Pierre-Yves David committed
95

Sylvain's avatar
Sylvain committed
96
    * user.matching_groups replace user.in_groups
97

Pierre-Yves David's avatar
Pierre-Yves David committed
98
99


Sylvain's avatar
Sylvain committed
100
2007-06-25  --  0.12.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
101
    * IntervalBoundConstraint replaces BoundConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
102

Sylvain's avatar
Sylvain committed
103
    * new import_erschema method available in schema definition files
Adrien Di Mascio's avatar
Adrien Di Mascio committed
104

Pierre-Yves David's avatar
Pierre-Yves David committed
105
106


Sylvain's avatar
Sylvain committed
107
2007-06-04  --  0.11.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
108
    * introduced Interval
Pierre-Yves David's avatar
Pierre-Yves David committed
109

110
    * dropped the schema_view module
Pierre-Yves David's avatar
Pierre-Yves David committed
111

Sylvain's avatar
Sylvain committed
112
    * new has_unique_values method on EntitySchema instance checking if a
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
113
      subject relation should be unique
Pierre-Yves David's avatar
Pierre-Yves David committed
114

115
    * improved required attributes' checks
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
116

Pierre-Yves David's avatar
Pierre-Yves David committed
117
118


"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
119
2007-05-14  --  0.10.0
"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
120
    * automatically sets maxsize only for String attributes (fix #3272)
Pierre-Yves David's avatar
Pierre-Yves David committed
121

"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
122
123
    * #3272: crash when some static vocabulary specified on a non String
      attribute
Pierre-Yves David's avatar
Pierre-Yves David committed
124

"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
125
    * #3465: BoundConstraint is not usable
Pierre-Yves David's avatar
Pierre-Yves David committed
126
127
128



"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
129
2006-12-06  --  0.9.3
130
    * fix _ to unicode so we can have unicode description in schema file
Pierre-Yves David's avatar
Pierre-Yves David committed
131

"Sylvain ext:(%22)'s avatar
merge    
"Sylvain ext:(%22) committed
132
    * automatically sets maxsize when some vocabulary is defined
Pierre-Yves David's avatar
Pierre-Yves David committed
133
134
135



136
137
138
2006-11-14  --  0.9.2
    * new "includefinal" optional argument to ESchema.relation_definitions

Pierre-Yves David's avatar
Pierre-Yves David committed
139
140


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

Pierre-Yves David's avatar
Pierre-Yves David committed
144
145


"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
146
2006-10-27  --  0.9.0
147
148
    * implements __cmp__ and __hash__ on entity and relation schemas to
      make them comparable to their equivalent type (eg string representation)
Pierre-Yves David's avatar
Pierre-Yves David committed
149

"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
150
    * major api and implementation cleanup thanks to this change
Pierre-Yves David's avatar
Pierre-Yves David committed
151

"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
152
    * deprecate schema_view module
Pierre-Yves David's avatar
Pierre-Yves David committed
153

154
    * test fixes
Pierre-Yves David's avatar
Pierre-Yves David committed
155

"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
156
    * (almost) backward compatible with proper warnings when necessary
Pierre-Yves David's avatar
Pierre-Yves David committed
157

158
    * new .type() method on constraints
Pierre-Yves David's avatar
Pierre-Yves David committed
159

160
161
    * moved some code of schema2dot into logilab-common

Pierre-Yves David's avatar
Pierre-Yves David committed
162
163


"Sylvain ext:(%22)'s avatar
0.8    
"Sylvain ext:(%22) committed
164
2006-10-08  --  0.8.0
"Sylvain ext:(%22)'s avatar
0.8    
"Sylvain ext:(%22) committed
165
    * new RestrictedEntityType base class and new maxsize, vocabulary and unique
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
166
      parameters on relation definition to ease schema construction
Pierre-Yves David's avatar
Pierre-Yves David committed
167

"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
168
    * schema2dot nicely refactored but schema_view'll probably be deprecated soon
Pierre-Yves David's avatar
Pierre-Yves David committed
169

170
    * fix schema reading to correctly handle raw RelationDefinition classes
"Sylvain ext:(%22)'s avatar
0.8    
"Sylvain ext:(%22) committed
171

Pierre-Yves David's avatar
Pierre-Yves David committed
172
173


"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
174
2006-09-22  --  0.7.0
175
    * fix a major bug in entity validation
Pierre-Yves David's avatar
Pierre-Yves David committed
176

177
    * refactor RelationFileReader to ease customization
root's avatar
root committed
178

Pierre-Yves David's avatar
Pierre-Yves David committed
179
180


Adrien Di Mascio's avatar
Adrien Di Mascio committed
181
182
183
2006-09-11  --  0.6.1
    * consider meta when a relation type is implicitly created

Pierre-Yves David's avatar
Pierre-Yves David committed
184
185


Adrien Di Mascio's avatar
Adrien Di Mascio committed
186
2006-09-05  --  0.6.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
187
    * improved schema definition
Pierre-Yves David's avatar
Pierre-Yves David committed
188

189
    * support for comments (lines beginning with a #) in Include file
Pierre-Yves David's avatar
Pierre-Yves David committed
190

"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
191
192
    * new internal dictionary to ease definition of non final relation
      properties
193

Pierre-Yves David's avatar
Pierre-Yves David committed
194
195


Adrien Di Mascio's avatar
Adrien Di Mascio committed
196
2006-07-13  --  0.5.3
197
    * enhance schema validation (focus on attributes only)
Pierre-Yves David's avatar
Pierre-Yves David committed
198

"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
199
200
    * check password value is an encoded string

Pierre-Yves David's avatar
Pierre-Yves David committed
201
202


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

Pierre-Yves David's avatar
Pierre-Yves David committed
206
207


syt's avatar
syt committed
208
2006-04-27  --  0.4.3
209
210
    * some fixes related to dynamic schema modification

Pierre-Yves David's avatar
Pierre-Yves David committed
211
212


root's avatar
root committed
213
214
215
2006-04-10  --  0.4.2
    * fixed a bug when wildcard are used as subject and object of a
      relation definition
Pierre-Yves David's avatar
Pierre-Yves David committed
216

root's avatar
root committed
217
    * fixed default permissions for user entities
Pierre-Yves David's avatar
Pierre-Yves David committed
218
219
220



root's avatar
root committed
221
222
2006-03-31  --  0.4.1
    * finish api changes, ("final") refactoring
Pierre-Yves David's avatar
Pierre-Yves David committed
223

root's avatar
root committed
224
    * cleanup
Pierre-Yves David's avatar
Pierre-Yves David committed
225
226
227



root's avatar
root committed
228
229
230
2006-03-29  --  0.4.0
    * major api changes

231

Pierre-Yves David's avatar
Pierre-Yves David committed
232

root's avatar
root committed
233
234
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
235
      attribute
Pierre-Yves David's avatar
Pierre-Yves David committed
236

root's avatar
root committed
237
    * control which entities are considered by wildcarded relations refinition
"Sylvain ext:(%22)'s avatar
"Sylvain ext:(%22) committed
238
      using a variable on the relations file reader
root's avatar
root committed
239

Pierre-Yves David's avatar
Pierre-Yves David committed
240
241


root's avatar
root committed
242
243
2006-02-24  --  0.3.2
    * let subject_types and object_types rschema methods raise a KeyError if a
244
      type is specified but not found for the relation (as it was documented)   
Pierre-Yves David's avatar
Pierre-Yves David committed
245
246
247



root's avatar
root committed
248
249
250
2006-01-25  --  0.3.1
    * new function in schema2sql to give grants to a user

Pierre-Yves David's avatar
Pierre-Yves David committed
251
252


root's avatar
root committed
253
254
2005-07-29  --  0.3.0
    * support for a new 'inline' property on relation
Pierre-Yves David's avatar
Pierre-Yves David committed
255

root's avatar
root committed
256
257
    * don't check for type differences for same relation names

258

Pierre-Yves David's avatar
Pierre-Yves David committed
259

root's avatar
root committed
260
261
2005-07-25  --  0.2.0
    * conditional drop into sql schema
Pierre-Yves David's avatar
Pierre-Yves David committed
262

root's avatar
root committed
263
    * support for schema displaying using dot (graphviz)
264
265


Pierre-Yves David's avatar
Pierre-Yves David committed
266

root's avatar
root committed
267
268
269
2005-07-07  --  0.1.2
    * fixed bug with association types of symetric relation

Pierre-Yves David's avatar
Pierre-Yves David committed
270
271


root's avatar
root committed
272
273
274
2005-06-24  --  0.1.1
    * mini-modification for external use

Pierre-Yves David's avatar
Pierre-Yves David committed
275
276


root's avatar
root committed
277
278
279
2004-11-01  --  0.1.0
    * creation of changelog

Pierre-Yves David's avatar
Pierre-Yves David committed
280
281