Released: October 27, 2016
[orm] [bug] Fixed regression caused by #2677 whereby calling
Session.delete()on an object that was already flushed as
deleted in that session would fail to set up the object in the
identity map (or reject the object), causing flush errors as the
object were in a state not accommodated by the unit of work.
The pre-1.1 behavior in this case has been restored, which is that
the object is put back into the identity map so that the DELETE
statement will be attempted again, which emits a warning that the number
of expected rows was not matched (unless the row were restored outside
of the session).
[orm] [bug] Fixed regression where some
Query.update()and others would fail if the
were against a series of mapped columns, rather than the mapped
entity as a whole.
[sql] [bug] Fixed bug involving new value translation and validation feature
Enumwhereby using the enum object in a string
concatenation would maintain the
Enumtype as the type
of the expression overall, producing missing lookups. A string
concatenation against an
Enum-typed column now uses
Stringas the datatype of the expression itself.
[sql] [bug] Fixed regression which occurred as a side effect of #2919,
which in the less typical case of a user-defined
TypeDecoratorthat was also itself an instance of
SchemaType(rather than the implementation being such)
would cause the column attachment events to be skipped for the
[postgresql] [bug] PostgreSQL table reflection will ensure that the
Column.autoincrementflag is set to False when reflecting
a primary key column that is not of an
even if the default is related to an integer-generating sequence.
This can happen if a column is created as SERIAL and the datatype
is changed. The autoincrement flag can only be True if the datatype
is of integer affinity in the 1.1 series.