~free.ekanayaka/storm/any-expr

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: James Henstridge
  • Date: 2008-05-07 11:09:18 UTC
  • mfrom: (223.1.18 unset-references)
  • Revision ID: james@jamesh.id.au-20080507110918-k55y0svxkew8xyek
Fix a number of issues with Reference objects.
 * when changing the foreign key column, break the reference.
 * when removing the remote object for a back reference, break the 
   reference.
 * only add flush ordering when the key for a reference is dirty.
[r=jamesh,niemeyer,radix,therve] [f=221522]

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
Bug fixes
17
17
---------
 
18
 - References now won't flush the store or query the database when
 
19
   the foreign key is None.
 
20
 - When a reference is set to an object that wasn't yet inserted in
 
21
   the database, the foreign key is immediately unset instead of
 
22
   keeping the old value up to the flushing.
 
23
 - Setting a reference to None works even if the previously referenced
 
24
   object isn't in memory.
 
25
 - When setting a reference, flush ordering is only enforced if the
 
26
   key is dirty.  This allows a number of changes that would
 
27
   previously raise OrderLoopError.
 
28
 - If the remote object in a back reference is removed, the reference
 
29
   will now be broken.
18
30
 
19
31
 
20
32
0.12 (2008-01-28)