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

sylvain.thenault@logilab.fr's avatar
0.22    
sylvain.thenault@logilab.fr committed
4
5
6
7
8
9
10
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
11
12
13
14
15
16
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
17
      attributes which are describing another attribute
Aurelien Campeas's avatar
Aurelien Campeas committed
18

sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
19
    * has_[subject|object]_relation now return the associated relation schema or None
Aurelien Campeas's avatar
Aurelien Campeas committed
20
21
22
23



2008-12-09  --  0.20.2
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
24
25
    * 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
26
27
28



Adrien Di Mascio's avatar
Adrien Di Mascio committed
29
30
2008-09-24  --  0.20.0
    * support for inheritance
Aurelien Campeas's avatar
Aurelien Campeas committed
31
32
33



Sylvain Thenault's avatar
0.19    
Sylvain Thenault committed
34
2008-08-07  --  0.19.0
Pierre-Yves David's avatar
Pierre-Yves David committed
35
36
    * add attributs to dots view

Pierre-Yves David's avatar
Pierre-Yves David committed
37
38
    * new Decimal Final

Pierre-Yves David's avatar
Pierre-Yves David committed
39
40
41


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

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

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

Nicolas Chauvat's avatar
Nicolas Chauvat committed
48
49
    * various bugfixes

Pierre-Yves David's avatar
Pierre-Yves David committed
50
51


Sylvain's avatar
Sylvain committed
52
2008-03-26  --  0.17.0
53
54
55
    * 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
56

57
    * backported subjrproperty/objrproperty ESchema methods
Pierre-Yves David's avatar
Pierre-Yves David committed
58

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

Pierre-Yves David's avatar
Pierre-Yves David committed
61
62


Sylvain's avatar
Sylvain committed
63
2008-03-05  --  0.16.1
Sylvain's avatar
0.17    
Sylvain committed
64
65
    * 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
66
67
68



Sylvain's avatar
0.16    
Sylvain committed
69
2008-02-15  --  0.16.0
Sylvain's avatar
Sylvain committed
70
    * nicer schema image view
Pierre-Yves David's avatar
Pierre-Yves David committed
71

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

Sylvain's avatar
0.16    
Sylvain committed
74
75
    * 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
76

Sylvain's avatar
0.16    
Sylvain committed
77
    * eschema.check() now take an optional translation function as argument
Pierre-Yves David's avatar
Pierre-Yves David committed
78
79
80



Sylvain's avatar
0.16    
Sylvain committed
81
2008-02-05  --  0.15.0
Sylvain's avatar
Sylvain committed
82
    * heavy refactoring of the schema building process
Pierre-Yves David's avatar
Pierre-Yves David committed
83

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

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

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

Sylvain's avatar
Sylvain committed
90
    * removed deprecated code
Pierre-Yves David's avatar
Pierre-Yves David committed
91

92
    * fix a bug on deletion of symetric relation definition
Sylvain's avatar
Sylvain committed
93

Pierre-Yves David's avatar
Pierre-Yves David committed
94
95


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

99
    * drop .perms file support
Pierre-Yves David's avatar
Pierre-Yves David committed
100
101
102



Sylvain's avatar
Sylvain committed
103
2007-08-13  --  0.13.0
104
    * new RegexpBasedConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
105

Sylvain's avatar
Sylvain committed
106
    * new schema.rename_entity_type method
Pierre-Yves David's avatar
Pierre-Yves David committed
107

108
109
    * api on EntityType to modify an existant type (add_relation,
      remove_relation, extend)
Pierre-Yves David's avatar
Pierre-Yves David committed
110

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

Sylvain's avatar
Sylvain committed
113
    * user.matching_groups replace user.in_groups
114

Pierre-Yves David's avatar
Pierre-Yves David committed
115
116


Sylvain's avatar
Sylvain committed
117
2007-06-25  --  0.12.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
118
    * IntervalBoundConstraint replaces BoundConstraint
Pierre-Yves David's avatar
Pierre-Yves David committed
119

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

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


Sylvain's avatar
Sylvain committed
124
2007-06-04  --  0.11.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
125
    * introduced Interval
Pierre-Yves David's avatar
Pierre-Yves David committed
126

127
    * dropped the schema_view module
Pierre-Yves David's avatar
Pierre-Yves David committed
128

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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
134
135


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

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

"Sylvain ext:(%22)'s avatar
0.9.4    
"Sylvain ext:(%22) committed
142
    * #3465: BoundConstraint is not usable
Pierre-Yves David's avatar
Pierre-Yves David committed
143
144
145



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

"Sylvain ext:(%22)'s avatar
merge    
"Sylvain ext:(%22) committed
149
    * automatically sets maxsize when some vocabulary is defined
Pierre-Yves David's avatar
Pierre-Yves David committed
150
151
152



153
154
155
2006-11-14  --  0.9.2
    * new "includefinal" optional argument to ESchema.relation_definitions

Pierre-Yves David's avatar
Pierre-Yves David committed
156
157


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

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


"Sylvain ext:(%22)'s avatar
0.9    
"Sylvain ext:(%22) committed
163
2006-10-27  --  0.9.0
164
165
    * 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
166

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

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

171
    * test fixes
Pierre-Yves David's avatar
Pierre-Yves David committed
172

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

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

177
178
    * moved some code of schema2dot into logilab-common

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


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

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

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

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


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

194
    * refactor RelationFileReader to ease customization
root's avatar
root committed
195

Pierre-Yves David's avatar
Pierre-Yves David committed
196
197


Adrien Di Mascio's avatar
Adrien Di Mascio committed
198
199
200
2006-09-11  --  0.6.1
    * consider meta when a relation type is implicitly created

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


Adrien Di Mascio's avatar
Adrien Di Mascio committed
203
2006-09-05  --  0.6.0
Adrien Di Mascio's avatar
Adrien Di Mascio committed
204
    * improved schema definition
Pierre-Yves David's avatar
Pierre-Yves David committed
205

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

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

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


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

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

Pierre-Yves David's avatar
Pierre-Yves David committed
218
219


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

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


syt's avatar
syt committed
225
2006-04-27  --  0.4.3
226
227
    * some fixes related to dynamic schema modification

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


root's avatar
root committed
230
231
232
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
233

root's avatar
root committed
234
    * fixed default permissions for user entities
Pierre-Yves David's avatar
Pierre-Yves David committed
235
236
237



root's avatar
root committed
238
239
2006-03-31  --  0.4.1
    * finish api changes, ("final") refactoring
Pierre-Yves David's avatar
Pierre-Yves David committed
240

root's avatar
root committed
241
    * cleanup
Pierre-Yves David's avatar
Pierre-Yves David committed
242
243
244



root's avatar
root committed
245
246
247
2006-03-29  --  0.4.0
    * major api changes

248

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

root's avatar
root committed
250
251
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
252
      attribute
Pierre-Yves David's avatar
Pierre-Yves David committed
253

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

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


root's avatar
root committed
259
260
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
261
      type is specified but not found for the relation (as it was documented)
Pierre-Yves David's avatar
Pierre-Yves David committed
262
263
264



root's avatar
root committed
265
266
267
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
268
269


root's avatar
root committed
270
271
2005-07-29  --  0.3.0
    * support for a new 'inline' property on relation
Pierre-Yves David's avatar
Pierre-Yves David committed
272

root's avatar
root committed
273
274
    * don't check for type differences for same relation names

275

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

root's avatar
root committed
277
278
2005-07-25  --  0.2.0
    * conditional drop into sql schema
Pierre-Yves David's avatar
Pierre-Yves David committed
279

root's avatar
root committed
280
    * support for schema displaying using dot (graphviz)
281
282


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

root's avatar
root committed
284
285
286
2005-07-07  --  0.1.2
    * fixed bug with association types of symetric relation

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


root's avatar
root committed
289
290
291
2005-06-24  --  0.1.1
    * mini-modification for external use

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


root's avatar
root committed
294
295
296
2004-11-01  --  0.1.0
    * creation of changelog

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