ChangeLog 9.38 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

Sylvain Thénault's avatar
Sylvain Thénault committed
4
5
6
7
8
2010-09-23  --  0.30.1
    * updated to logilab.database 1.3.0 api



Sylvain Thénault's avatar
0.30    
Sylvain Thénault committed
9
2010-09-10  --  0.30.0
10
11
12
    * fix [de]serialization bug of vocabulary constraints in case
      where some vocabulary value contains a comma followed by a space

Sylvain Thénault's avatar
0.30    
Sylvain Thénault committed
13
14
15
16
17
18
    * support for __unique_together__ on EntityType to declare some
      unique constraint on multiple attributes / relations (relations
      should be inlined on the entity to which the constraint apply)



Sylvain Thénault's avatar
0.29.1    
Sylvain Thénault committed
19
2010-06-21  --  0.29.1
Sylvain Thénault's avatar
Sylvain Thénault committed
20
21
22
23
24
25
26
27
28
29
    * not use a hardcoded datatype for string colums with a max length (closes
      #35380). When a dbhelper provides a SizeConstrainedString entry in the
      TYPE_MAPPING dictionary, use it, otherwise default to varchar(%s).

    * avoid spurious warnings in functions defined in schema modules and called
      after that module loading by another schema module (stop removing stuff from
      module's globals...)

    * xy: switch register_prefix argument

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

Sylvain Thénault's avatar
0.29.1    
Sylvain Thénault committed
31

Sylvain Thénault's avatar
0.29    
Sylvain Thénault committed
32
33
34
35
36
37
38
39
40
41
42
2010-04-26  --  0.29.0
    * setuptools compat

    * nicer error messages on constraint failure

    * rename BoundConstraint to BoundaryConstraint

    * deprecate ObjectRelation and BothWayRelation



Sylvain Thénault's avatar
0.28.1    
Sylvain Thénault committed
43
2010-03-26  --  0.28.1
44
45
    * EntitySchema.check() accepts an explicit set of relations to check

46
47
48
    * provides a new role_name function to generate qualified name to put
      in validation errors

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


Sylvain Thénault's avatar
0.28    
Sylvain Thénault committed
51
52
53
54
2010-02-26  --  0.28.0
    * proper attribute permissions: should now use 'update' instead of 'add'/'delete'


55

Sylvain Thénault's avatar
Sylvain Thénault committed
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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
71
    * #19467 add post_build_callback support
Sylvain Thénault's avatar
Sylvain Thénault committed
72

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

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

2010-01-12  --  0.25.1
Pierre-Yves David's avatar
Pierre-Yves David committed
76
77
78
79
80
81
82
83
    * 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
84
2009-10-21  --  0.25.0
Sylvain Thénault's avatar
0.25    
Sylvain Thénault committed
85
    * api cleanup
Sylvain Thénault's avatar
Sylvain Thénault committed
86

Sylvain Thénault's avatar
0.25    
Sylvain Thénault committed
87
    * optimization
Sylvain Thénault's avatar
Sylvain Thénault committed
88

Sylvain Thénault's avatar
0.25    
Sylvain Thénault committed
89
    * fix Interval support
Aurelien Campeas's avatar
Aurelien Campeas committed
90

Sylvain Thénault's avatar
Sylvain Thénault committed
91
92


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

Sylvain Thénault's avatar
Sylvain Thénault committed
96
97
98
99
100
    * 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
101

Sylvain Thénault's avatar
Sylvain Thénault committed
102
103
2009-09-01  --  0.24.2
    * check for duplicated relation type
Sylvain Thénault's avatar
Sylvain Thénault committed
104

Sylvain Thénault's avatar
Sylvain Thénault committed
105
106
107
    * 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
108
109


Sylvain Thénault's avatar
Sylvain Thénault committed
110
111
2009-08-31  --  0.24.1
    * schema inheritance fixes
Sylvain Thénault's avatar
Sylvain Thénault committed
112

Sylvain Thénault's avatar
Sylvain Thénault committed
113
114
    * fix schema import pb

Sylvain Thénault's avatar
Sylvain Thénault committed
115
116


Sylvain Thénault's avatar
Sylvain Thénault committed
117
118
119
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
120

Sylvain Thénault's avatar
Sylvain Thénault committed
121
    * new owl2yams script
Sylvain Thénault's avatar
Sylvain Thénault committed
122

Sylvain Thénault's avatar
Sylvain Thénault committed
123
    * added RichString base type
Sylvain Thénault's avatar
Sylvain Thénault committed
124

Sylvain Thénault's avatar
Sylvain Thénault committed
125
126
    * maxsize / vocabulary constraint consistency

Sylvain Thénault's avatar
Sylvain Thénault committed
127
128


Nicolas Chauvat's avatar
Nicolas Chauvat committed
129
130
2009-06-03  --  0.23.0
    * stop setting default values in underlying sql schema
Sylvain Thénault's avatar
Sylvain Thénault committed
131
132


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

sylvain.thenault@logilab.fr's avatar
0.22    
sylvain.thenault@logilab.fr committed
134
135
136
137
138
139
140
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
141
142
143
144
145
146
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
147
      attributes which are describing another attribute
Aurelien Campeas's avatar
Aurelien Campeas committed
148

sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
149
    * has_[subject|object]_relation now return the associated relation schema or None
Aurelien Campeas's avatar
Aurelien Campeas committed
150
151
152
153



2008-12-09  --  0.20.2
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
154
155
    * 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
156
157
158



Adrien Di Mascio's avatar
Adrien Di Mascio committed
159
160
2008-09-24  --  0.20.0
    * support for inheritance
Aurelien Campeas's avatar
Aurelien Campeas committed
161
162
163



Sylvain Thenault's avatar
0.19    
Sylvain Thenault committed
164
2008-08-07  --  0.19.0
Pierre-Yves David's avatar
Pierre-Yves David committed
165
166
    * add attributs to dots view

Pierre-Yves David's avatar
Pierre-Yves David committed
167
168
    * new Decimal Final

Pierre-Yves David's avatar
Pierre-Yves David committed
169
170
171


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

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

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

Nicolas Chauvat's avatar
Nicolas Chauvat committed
178
179
    * various bugfixes

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


Sylvain's avatar
Sylvain committed
182
2008-03-26  --  0.17.0
183
184
185
    * 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
186

187
    * backported subjrproperty/objrproperty ESchema methods
Pierre-Yves David's avatar
Pierre-Yves David committed
188

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

Pierre-Yves David's avatar
Pierre-Yves David committed
191
192


Sylvain's avatar
Sylvain committed
193
2008-03-05  --  0.16.1
Sylvain's avatar
0.17    
Sylvain committed
194
195
    * 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
196
197
198



Sylvain's avatar
0.16    
Sylvain committed
199
2008-02-15  --  0.16.0
Sylvain's avatar
Sylvain committed
200
    * nicer schema image view
Pierre-Yves David's avatar
Pierre-Yves David committed
201

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

Sylvain's avatar
0.16    
Sylvain committed
204
205
    * 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
206

Sylvain's avatar
0.16    
Sylvain committed
207
    * eschema.check() now take an optional translation function as argument
Pierre-Yves David's avatar
Pierre-Yves David committed
208
209
210



Sylvain's avatar
0.16    
Sylvain committed
211
2008-02-05  --  0.15.0
Sylvain's avatar
Sylvain committed
212
    * heavy refactoring of the schema building process
Pierre-Yves David's avatar
Pierre-Yves David committed
213

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

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

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

Sylvain's avatar
Sylvain committed
220
    * removed deprecated code
Pierre-Yves David's avatar
Pierre-Yves David committed
221

222
    * fix a bug on deletion of symetric relation definition
Sylvain's avatar
Sylvain committed
223

Pierre-Yves David's avatar
Pierre-Yves David committed
224
225


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

229
    * drop .perms file support
Pierre-Yves David's avatar
Pierre-Yves David committed
230
231
232



Sylvain's avatar
Sylvain committed
233
2007-08-13  --  0.13.0
234
    * new RegexpBasedConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
235

Sylvain's avatar
Sylvain committed
236
    * new schema.rename_entity_type method
Pierre-Yves David's avatar
Pierre-Yves David committed
237

238
239
    * api on EntityType to modify an existant type (add_relation,
      remove_relation, extend)
Pierre-Yves David's avatar
Pierre-Yves David committed
240

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

Sylvain's avatar
Sylvain committed
243
    * user.matching_groups replace user.in_groups
244

Pierre-Yves David's avatar
Pierre-Yves David committed
245
246


Sylvain's avatar
Sylvain committed
247
2007-06-25  --  0.12.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
248
    * IntervalBoundConstraint replaces BoundConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
249

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

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


Sylvain's avatar
Sylvain committed
254
2007-06-04  --  0.11.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
255
    * introduced Interval
Pierre-Yves David's avatar
Pierre-Yves David committed
256

257
    * dropped the schema_view module
Pierre-Yves David's avatar
Pierre-Yves David committed
258

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
264
265


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

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

"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
272
    * #3465: BoundConstraint is not usable
Pierre-Yves David's avatar
Pierre-Yves David committed
273
274
275



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

"Sylvain ext:(%22)'s avatar
merge    
"Sylvain ext:(%22) committed
279
    * automatically sets maxsize when some vocabulary is defined
Pierre-Yves David's avatar
Pierre-Yves David committed
280
281
282



283
284
285
2006-11-14  --  0.9.2
    * new "includefinal" optional argument to ESchema.relation_definitions

Pierre-Yves David's avatar
Pierre-Yves David committed
286
287


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

Pierre-Yves David's avatar
Pierre-Yves David committed
291
292


"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
293
2006-10-27  --  0.9.0
294
295
    * 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
296

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

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

301
    * test fixes
Pierre-Yves David's avatar
Pierre-Yves David committed
302

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

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

307
308
    * moved some code of schema2dot into logilab-common

Pierre-Yves David's avatar
Pierre-Yves David committed
309
310


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

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
319
320


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

324
    * refactor RelationFileReader to ease customization
root's avatar
root committed
325

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


Adrien Di Mascio's avatar
Adrien Di Mascio committed
328
329
330
2006-09-11  --  0.6.1
    * consider meta when a relation type is implicitly created

Pierre-Yves David's avatar
Pierre-Yves David committed
331
332


Adrien Di Mascio's avatar
Adrien Di Mascio committed
333
2006-09-05  --  0.6.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
334
    * improved schema definition
Pierre-Yves David's avatar
Pierre-Yves David committed
335

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
341
342


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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
348
349


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

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


syt's avatar
syt committed
355
2006-04-27  --  0.4.3
356
357
    * some fixes related to dynamic schema modification

Pierre-Yves David's avatar
Pierre-Yves David committed
358
359


root's avatar
root committed
360
361
362
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
363

root's avatar
root committed
364
    * fixed default permissions for user entities
Pierre-Yves David's avatar
Pierre-Yves David committed
365
366
367



root's avatar
root committed
368
369
2006-03-31  --  0.4.1
    * finish api changes, ("final") refactoring
Pierre-Yves David's avatar
Pierre-Yves David committed
370

root's avatar
root committed
371
    * cleanup
Pierre-Yves David's avatar
Pierre-Yves David committed
372
373
374



root's avatar
root committed
375
376
377
2006-03-29  --  0.4.0
    * major api changes

378

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

root's avatar
root committed
380
381
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
382
      attribute
Pierre-Yves David's avatar
Pierre-Yves David committed
383

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

Pierre-Yves David's avatar
Pierre-Yves David committed
387
388


root's avatar
root committed
389
390
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
391
      type is specified but not found for the relation (as it was documented)
Pierre-Yves David's avatar
Pierre-Yves David committed
392
393
394



root's avatar
root committed
395
396
397
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
398
399


root's avatar
root committed
400
401
2005-07-29  --  0.3.0
    * support for a new 'inline' property on relation
Pierre-Yves David's avatar
Pierre-Yves David committed
402

root's avatar
root committed
403
404
    * don't check for type differences for same relation names

405

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

root's avatar
root committed
407
408
2005-07-25  --  0.2.0
    * conditional drop into sql schema
Pierre-Yves David's avatar
Pierre-Yves David committed
409

root's avatar
root committed
410
    * support for schema displaying using dot (graphviz)
411
412


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

root's avatar
root committed
414
415
416
2005-07-07  --  0.1.2
    * fixed bug with association types of symetric relation

Pierre-Yves David's avatar
Pierre-Yves David committed
417
418


root's avatar
root committed
419
420
421
2005-06-24  --  0.1.1
    * mini-modification for external use

Pierre-Yves David's avatar
Pierre-Yves David committed
422
423


root's avatar
root committed
424
425
426
2004-11-01  --  0.1.0
    * creation of changelog

Pierre-Yves David's avatar
Pierre-Yves David committed
427
428