ChangeLog 7.21 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
------------------
Aurelien Campeas's avatar
Aurelien Campeas committed
3

Sylvain Thénault's avatar
0.24.4    
Sylvain Thénault committed
4
5
2009-10-07  --  0.24.4
    * support new 'name' metadata (for e.g. files)
Sylvain Thénault's avatar
Sylvain Thénault committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    * remove deprecation warning on bound constraint: it is actually valuable
      when only one boundary or when boundary inclusion/exclusion has to be
      specified


2009-09-01  --  0.24.2
    * check for duplicated relation type
    * when a relation type is explicitly defined in a schema, it should takes
      precedence other those infered from relation def

2009-08-31  --  0.24.1
    * schema inheritance fixes
    * fix schema import pb

2009-08-07  --  0.24.0
    * new Attribute, NOW and TODAY classes to handle more complex (interval
      bound) constraints
    * new owl2yams script
    * added RichString base type
    * maxsize / vocabulary constraint consistency

Nicolas Chauvat's avatar
Nicolas Chauvat committed
27
28
2009-06-03  --  0.23.0
    * stop setting default values in underlying sql schema
Sylvain Thénault's avatar
Sylvain Thénault committed
29
30


sylvain.thenault@logilab.fr's avatar
0.22    
sylvain.thenault@logilab.fr committed
31
32
33
34
35
36
37
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
38
39
40
41
42
43
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
44
      attributes which are describing another attribute
Aurelien Campeas's avatar
Aurelien Campeas committed
45

sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
46
    * has_[subject|object]_relation now return the associated relation schema or None
Aurelien Campeas's avatar
Aurelien Campeas committed
47
48
49
50



2008-12-09  --  0.20.2
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
51
52
    * 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
53
54
55



Adrien Di Mascio's avatar
Adrien Di Mascio committed
56
57
2008-09-24  --  0.20.0
    * support for inheritance
Aurelien Campeas's avatar
Aurelien Campeas committed
58
59
60



Sylvain Thenault's avatar
0.19    
Sylvain Thenault committed
61
2008-08-07  --  0.19.0
Pierre-Yves David's avatar
Pierre-Yves David committed
62
63
    * add attributs to dots view

Pierre-Yves David's avatar
Pierre-Yves David committed
64
65
    * new Decimal Final

Pierre-Yves David's avatar
Pierre-Yves David committed
66
67
68


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

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

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

Nicolas Chauvat's avatar
Nicolas Chauvat committed
75
76
    * various bugfixes

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


Sylvain's avatar
Sylvain committed
79
2008-03-26  --  0.17.0
80
81
82
    * 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
83

84
    * backported subjrproperty/objrproperty ESchema methods
Pierre-Yves David's avatar
Pierre-Yves David committed
85

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

Pierre-Yves David's avatar
Pierre-Yves David committed
88
89


Sylvain's avatar
Sylvain committed
90
2008-03-05  --  0.16.1
Sylvain's avatar
0.17    
Sylvain committed
91
92
    * 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
93
94
95



Sylvain's avatar
0.16    
Sylvain committed
96
2008-02-15  --  0.16.0
Sylvain's avatar
Sylvain committed
97
    * nicer schema image view
Pierre-Yves David's avatar
Pierre-Yves David committed
98

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

Sylvain's avatar
0.16    
Sylvain committed
101
102
    * 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
103

Sylvain's avatar
0.16    
Sylvain committed
104
    * eschema.check() now take an optional translation function as argument
Pierre-Yves David's avatar
Pierre-Yves David committed
105
106
107



Sylvain's avatar
0.16    
Sylvain committed
108
2008-02-05  --  0.15.0
Sylvain's avatar
Sylvain committed
109
    * heavy refactoring of the schema building process
Pierre-Yves David's avatar
Pierre-Yves David committed
110

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

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

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

Sylvain's avatar
Sylvain committed
117
    * removed deprecated code
Pierre-Yves David's avatar
Pierre-Yves David committed
118

119
    * fix a bug on deletion of symetric relation definition
Sylvain's avatar
Sylvain committed
120

Pierre-Yves David's avatar
Pierre-Yves David committed
121
122


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

126
    * drop .perms file support
Pierre-Yves David's avatar
Pierre-Yves David committed
127
128
129



Sylvain's avatar
Sylvain committed
130
2007-08-13  --  0.13.0
131
    * new RegexpBasedConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
132

Sylvain's avatar
Sylvain committed
133
    * new schema.rename_entity_type method
Pierre-Yves David's avatar
Pierre-Yves David committed
134

135
136
    * api on EntityType to modify an existant type (add_relation,
      remove_relation, extend)
Pierre-Yves David's avatar
Pierre-Yves David committed
137

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

Sylvain's avatar
Sylvain committed
140
    * user.matching_groups replace user.in_groups
141

Pierre-Yves David's avatar
Pierre-Yves David committed
142
143


Sylvain's avatar
Sylvain committed
144
2007-06-25  --  0.12.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
145
    * IntervalBoundConstraint replaces BoundConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
146

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

Pierre-Yves David's avatar
Pierre-Yves David committed
149
150


Sylvain's avatar
Sylvain committed
151
2007-06-04  --  0.11.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
152
    * introduced Interval
Pierre-Yves David's avatar
Pierre-Yves David committed
153

154
    * dropped the schema_view module
Pierre-Yves David's avatar
Pierre-Yves David committed
155

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

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

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


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

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

"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
169
    * #3465: BoundConstraint is not usable
Pierre-Yves David's avatar
Pierre-Yves David committed
170
171
172



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

"Sylvain ext:(%22)'s avatar
merge    
"Sylvain ext:(%22) committed
176
    * automatically sets maxsize when some vocabulary is defined
Pierre-Yves David's avatar
Pierre-Yves David committed
177
178
179



180
181
182
2006-11-14  --  0.9.2
    * new "includefinal" optional argument to ESchema.relation_definitions

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


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

Pierre-Yves David's avatar
Pierre-Yves David committed
188
189


"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
190
2006-10-27  --  0.9.0
191
192
    * 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
193

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

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

198
    * test fixes
Pierre-Yves David's avatar
Pierre-Yves David committed
199

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

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

204
205
    * moved some code of schema2dot into logilab-common

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


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

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
216
217


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

221
    * refactor RelationFileReader to ease customization
root's avatar
root committed
222

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


Adrien Di Mascio's avatar
Adrien Di Mascio committed
225
226
227
2006-09-11  --  0.6.1
    * consider meta when a relation type is implicitly created

Pierre-Yves David's avatar
Pierre-Yves David committed
228
229


Adrien Di Mascio's avatar
Adrien Di Mascio committed
230
2006-09-05  --  0.6.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
231
    * improved schema definition
Pierre-Yves David's avatar
Pierre-Yves David committed
232

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

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

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


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

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

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


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

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


syt's avatar
syt committed
252
2006-04-27  --  0.4.3
253
254
    * some fixes related to dynamic schema modification

Pierre-Yves David's avatar
Pierre-Yves David committed
255
256


root's avatar
root committed
257
258
259
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
260

root's avatar
root committed
261
    * fixed default permissions for user entities
Pierre-Yves David's avatar
Pierre-Yves David committed
262
263
264



root's avatar
root committed
265
266
2006-03-31  --  0.4.1
    * finish api changes, ("final") refactoring
Pierre-Yves David's avatar
Pierre-Yves David committed
267

root's avatar
root committed
268
    * cleanup
Pierre-Yves David's avatar
Pierre-Yves David committed
269
270
271



root's avatar
root committed
272
273
274
2006-03-29  --  0.4.0
    * major api changes

275

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

root's avatar
root committed
277
278
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
279
      attribute
Pierre-Yves David's avatar
Pierre-Yves David committed
280

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

Pierre-Yves David's avatar
Pierre-Yves David committed
284
285


root's avatar
root committed
286
287
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
288
      type is specified but not found for the relation (as it was documented)
Pierre-Yves David's avatar
Pierre-Yves David committed
289
290
291



root's avatar
root committed
292
293
294
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
295
296


root's avatar
root committed
297
298
2005-07-29  --  0.3.0
    * support for a new 'inline' property on relation
Pierre-Yves David's avatar
Pierre-Yves David committed
299

root's avatar
root committed
300
301
    * don't check for type differences for same relation names

302

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

root's avatar
root committed
304
305
2005-07-25  --  0.2.0
    * conditional drop into sql schema
Pierre-Yves David's avatar
Pierre-Yves David committed
306

root's avatar
root committed
307
    * support for schema displaying using dot (graphviz)
308
309


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

root's avatar
root committed
311
312
313
2005-07-07  --  0.1.2
    * fixed bug with association types of symetric relation

Pierre-Yves David's avatar
Pierre-Yves David committed
314
315


root's avatar
root committed
316
317
318
2005-06-24  --  0.1.1
    * mini-modification for external use

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


root's avatar
root committed
321
322
323
2004-11-01  --  0.1.0
    * creation of changelog

Pierre-Yves David's avatar
Pierre-Yves David committed
324
325