ChangeLog 7.97 KB
Newer Older
sylvain.thenault@logilab.fr's avatar
0.22    
sylvain.thenault@logilab.fr committed
1
ChangeLog for yams
root's avatar
root committed
2
------------------
Sylvain Thénault's avatar
Sylvain Thénault committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

2010-02-10  --  0.27.0
    * symetric respelled to symmetric

    * permissions renamed __permissions__ in schema python files

    * permissions are now handled by relation definition, no more
      by the relation type

    * introduce (finally) RelationDefinition objects into schema
      instead of simple rproperties on the relation type. Update
      the api consequently.



2010-01-28  --  0.26.0
19
    * #19467 add post_build_callback support
Sylvain Thénault's avatar
Sylvain Thénault committed
20

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

Sylvain Thénault's avatar
Sylvain Thénault committed
22
23

2010-01-12  --  0.25.1
Pierre-Yves David's avatar
Pierre-Yves David committed
24
25
26
27
28
29
30
31
    * Small improvement of error message

    * Allow the use of add_relation on a declaration defined in the same file

    * Fix a bug when multiple reference to the same declaration exist



Sylvain Thénault's avatar
Sylvain Thénault committed
32
2009-10-21  --  0.25.0
Sylvain Thénault's avatar
0.25    
Sylvain Thénault committed
33
    * api cleanup
Sylvain Thénault's avatar
Sylvain Thénault committed
34

Sylvain Thénault's avatar
0.25    
Sylvain Thénault committed
35
    * optimization
Sylvain Thénault's avatar
Sylvain Thénault committed
36

Sylvain Thénault's avatar
0.25    
Sylvain Thénault committed
37
    * fix Interval support
Aurelien Campeas's avatar
Aurelien Campeas committed
38

Sylvain Thénault's avatar
Sylvain Thénault committed
39
40


Sylvain Thénault's avatar
0.24.4    
Sylvain Thénault committed
41
42
2009-10-07  --  0.24.4
    * support new 'name' metadata (for e.g. files)
Sylvain Thénault's avatar
Sylvain Thénault committed
43

Sylvain Thénault's avatar
Sylvain Thénault committed
44
45
46
47
48
    * remove deprecation warning on bound constraint: it is actually valuable
      when only one boundary or when boundary inclusion/exclusion has to be
      specified


Sylvain Thénault's avatar
Sylvain Thénault committed
49

Sylvain Thénault's avatar
Sylvain Thénault committed
50
51
2009-09-01  --  0.24.2
    * check for duplicated relation type
Sylvain Thénault's avatar
Sylvain Thénault committed
52

Sylvain Thénault's avatar
Sylvain Thénault committed
53
54
55
    * when a relation type is explicitly defined in a schema, it should takes
      precedence other those infered from relation def

Sylvain Thénault's avatar
Sylvain Thénault committed
56
57


Sylvain Thénault's avatar
Sylvain Thénault committed
58
59
2009-08-31  --  0.24.1
    * schema inheritance fixes
Sylvain Thénault's avatar
Sylvain Thénault committed
60

Sylvain Thénault's avatar
Sylvain Thénault committed
61
62
    * fix schema import pb

Sylvain Thénault's avatar
Sylvain Thénault committed
63
64


Sylvain Thénault's avatar
Sylvain Thénault committed
65
66
67
2009-08-07  --  0.24.0
    * new Attribute, NOW and TODAY classes to handle more complex (interval
      bound) constraints
Sylvain Thénault's avatar
Sylvain Thénault committed
68

Sylvain Thénault's avatar
Sylvain Thénault committed
69
    * new owl2yams script
Sylvain Thénault's avatar
Sylvain Thénault committed
70

Sylvain Thénault's avatar
Sylvain Thénault committed
71
    * added RichString base type
Sylvain Thénault's avatar
Sylvain Thénault committed
72

Sylvain Thénault's avatar
Sylvain Thénault committed
73
74
    * maxsize / vocabulary constraint consistency

Sylvain Thénault's avatar
Sylvain Thénault committed
75
76


Nicolas Chauvat's avatar
Nicolas Chauvat committed
77
78
2009-06-03  --  0.23.0
    * stop setting default values in underlying sql schema
Sylvain Thénault's avatar
Sylvain Thénault committed
79
80


Sylvain Thénault's avatar
Sylvain Thénault committed
81

sylvain.thenault@logilab.fr's avatar
0.22    
sylvain.thenault@logilab.fr committed
82
83
84
85
86
87
88
2009-05-04  --  0.22.0
    * new is_metadata method on entity schema

    * refactoring of default groups assignment so we can get back default groups.



Aurelien Campeas's avatar
Aurelien Campeas committed
89
90
91
92
93
94
2009-04-06  --  0.21.0
    * py datetime support (must be explicitly activated until we drop mx.DateTime support) #8435

    * new construction_mode argument to load() which allow to silently ignore some error #8439

    * new has_metadata and meta_attributes methods on entity schema dealing with
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
95
      attributes which are describing another attribute
Aurelien Campeas's avatar
Aurelien Campeas committed
96

sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
97
    * has_[subject|object]_relation now return the associated relation schema or None
Aurelien Campeas's avatar
Aurelien Campeas committed
98
99
100
101



2008-12-09  --  0.20.2
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
102
103
    * add a strict argument to ESchema.is_subobject to return True only if the
      entity can't live outside another one
Aurelien Campeas's avatar
Aurelien Campeas committed
104
105
106



Adrien Di Mascio's avatar
Adrien Di Mascio committed
107
108
2008-09-24  --  0.20.0
    * support for inheritance
Aurelien Campeas's avatar
Aurelien Campeas committed
109
110
111



Sylvain Thenault's avatar
0.19    
Sylvain Thenault committed
112
2008-08-07  --  0.19.0
Pierre-Yves David's avatar
Pierre-Yves David committed
113
114
    * add attributs to dots view

Pierre-Yves David's avatar
Pierre-Yves David committed
115
116
    * new Decimal Final

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


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

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

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

Nicolas Chauvat's avatar
Nicolas Chauvat committed
126
127
    * various bugfixes

Pierre-Yves David's avatar
Pierre-Yves David committed
128
129


Sylvain's avatar
Sylvain committed
130
2008-03-26  --  0.17.0
131
132
133
    * 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
134

135
    * backported subjrproperty/objrproperty ESchema methods
Pierre-Yves David's avatar
Pierre-Yves David committed
136

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

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


Sylvain's avatar
Sylvain committed
141
2008-03-05  --  0.16.1
Sylvain's avatar
0.17    
Sylvain committed
142
143
    * 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
144
145
146



Sylvain's avatar
0.16    
Sylvain committed
147
2008-02-15  --  0.16.0
Sylvain's avatar
Sylvain committed
148
    * nicer schema image view
Pierre-Yves David's avatar
Pierre-Yves David committed
149

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

Sylvain's avatar
0.16    
Sylvain committed
152
153
    * 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
154

Sylvain's avatar
0.16    
Sylvain committed
155
    * eschema.check() now take an optional translation function as argument
Pierre-Yves David's avatar
Pierre-Yves David committed
156
157
158



Sylvain's avatar
0.16    
Sylvain committed
159
2008-02-05  --  0.15.0
Sylvain's avatar
Sylvain committed
160
    * heavy refactoring of the schema building process
Pierre-Yves David's avatar
Pierre-Yves David committed
161

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

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

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

Sylvain's avatar
Sylvain committed
168
    * removed deprecated code
Pierre-Yves David's avatar
Pierre-Yves David committed
169

170
    * fix a bug on deletion of symetric relation definition
Sylvain's avatar
Sylvain committed
171

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


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

177
    * drop .perms file support
Pierre-Yves David's avatar
Pierre-Yves David committed
178
179
180



Sylvain's avatar
Sylvain committed
181
2007-08-13  --  0.13.0
182
    * new RegexpBasedConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
183

Sylvain's avatar
Sylvain committed
184
    * new schema.rename_entity_type method
Pierre-Yves David's avatar
Pierre-Yves David committed
185

186
187
    * api on EntityType to modify an existant type (add_relation,
      remove_relation, extend)
Pierre-Yves David's avatar
Pierre-Yves David committed
188

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

Sylvain's avatar
Sylvain committed
191
    * user.matching_groups replace user.in_groups
192

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


Sylvain's avatar
Sylvain committed
195
2007-06-25  --  0.12.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
196
    * IntervalBoundConstraint replaces BoundConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
197

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

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


Sylvain's avatar
Sylvain committed
202
2007-06-04  --  0.11.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
203
    * introduced Interval
Pierre-Yves David's avatar
Pierre-Yves David committed
204

205
    * dropped the schema_view module
Pierre-Yves David's avatar
Pierre-Yves David committed
206

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

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

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


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

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

"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
220
    * #3465: BoundConstraint is not usable
Pierre-Yves David's avatar
Pierre-Yves David committed
221
222
223



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

"Sylvain ext:(%22)'s avatar
merge    
"Sylvain ext:(%22) committed
227
    * automatically sets maxsize when some vocabulary is defined
Pierre-Yves David's avatar
Pierre-Yves David committed
228
229
230



231
232
233
2006-11-14  --  0.9.2
    * new "includefinal" optional argument to ESchema.relation_definitions

Pierre-Yves David's avatar
Pierre-Yves David committed
234
235


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

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


"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
241
2006-10-27  --  0.9.0
242
243
    * 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
244

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

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

249
    * test fixes
Pierre-Yves David's avatar
Pierre-Yves David committed
250

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

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

255
256
    * moved some code of schema2dot into logilab-common

Pierre-Yves David's avatar
Pierre-Yves David committed
257
258


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

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
267
268


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

272
    * refactor RelationFileReader to ease customization
root's avatar
root committed
273

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


Adrien Di Mascio's avatar
Adrien Di Mascio committed
276
277
278
2006-09-11  --  0.6.1
    * consider meta when a relation type is implicitly created

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


Adrien Di Mascio's avatar
Adrien Di Mascio committed
281
2006-09-05  --  0.6.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
282
    * improved schema definition
Pierre-Yves David's avatar
Pierre-Yves David committed
283

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
289
290


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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
296
297


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

Pierre-Yves David's avatar
Pierre-Yves David committed
301
302


syt's avatar
syt committed
303
2006-04-27  --  0.4.3
304
305
    * some fixes related to dynamic schema modification

Pierre-Yves David's avatar
Pierre-Yves David committed
306
307


root's avatar
root committed
308
309
310
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
311

root's avatar
root committed
312
    * fixed default permissions for user entities
Pierre-Yves David's avatar
Pierre-Yves David committed
313
314
315



root's avatar
root committed
316
317
2006-03-31  --  0.4.1
    * finish api changes, ("final") refactoring
Pierre-Yves David's avatar
Pierre-Yves David committed
318

root's avatar
root committed
319
    * cleanup
Pierre-Yves David's avatar
Pierre-Yves David committed
320
321
322



root's avatar
root committed
323
324
325
2006-03-29  --  0.4.0
    * major api changes

326

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

root's avatar
root committed
328
329
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
330
      attribute
Pierre-Yves David's avatar
Pierre-Yves David committed
331

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

Pierre-Yves David's avatar
Pierre-Yves David committed
335
336


root's avatar
root committed
337
338
2006-02-24  --  0.3.2
    * let subject_types and object_types rschema methods raise a KeyError if a
sylvain.thenault@logilab.fr's avatar
0.22    
sylvain.thenault@logilab.fr committed
339
      type is specified but not found for the relation (as it was documented)
Pierre-Yves David's avatar
Pierre-Yves David committed
340
341
342



root's avatar
root committed
343
344
345
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
346
347


root's avatar
root committed
348
349
2005-07-29  --  0.3.0
    * support for a new 'inline' property on relation
Pierre-Yves David's avatar
Pierre-Yves David committed
350

root's avatar
root committed
351
352
    * don't check for type differences for same relation names

353

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

root's avatar
root committed
355
356
2005-07-25  --  0.2.0
    * conditional drop into sql schema
Pierre-Yves David's avatar
Pierre-Yves David committed
357

root's avatar
root committed
358
    * support for schema displaying using dot (graphviz)
359
360


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

root's avatar
root committed
362
363
364
2005-07-07  --  0.1.2
    * fixed bug with association types of symetric relation

Pierre-Yves David's avatar
Pierre-Yves David committed
365
366


root's avatar
root committed
367
368
369
2005-06-24  --  0.1.1
    * mini-modification for external use

Pierre-Yves David's avatar
Pierre-Yves David committed
370
371


root's avatar
root committed
372
373
374
2004-11-01  --  0.1.0
    * creation of changelog

Pierre-Yves David's avatar
Pierre-Yves David committed
375
376