Commits

Author Commit Message Labels Comments Date
Mike Bayer
0.7.2 + release date
Tags
rel_0_7_2
Mike Bayer
fix the test
Mike Bayer
- Load of a deferred() attribute on an object where row can't be located raises ObjectDeletedError instead of failing later on; improved the message in ObjectDeletedError to include other conditions besides a simple "delete". [ticket:2191] - break up test_get_refreshes() in test_expire
Mike Bayer
- document get_bind(), [ticket:1053] - ensure mapper=None in get_bind()
Mike Bayer
- add CoerceUTF8 example - New feature: with_variant() method on all types. Produces an instance of Variant(), a special TypeDecorator which will select the usage of a different type based on the dialect in use. [ticket:2187]
Mike Bayer
- Fixed bug where query.join() + aliased=True from a joined-inh structure to itself on relationship() with join condition on the child table would convert the lead entity into the joined one inappropriately. [ticket:2234] Also in 0.6.9.
Mike Bayer
- Added public attribute ".validators" to Mapper, an immutable dictionary view of all attributes that have been decorated with the @validates decorator. [ticket:2240] courtesy Stefano Fontanelli
Mike Bayer
- SQLite dialect no longer strips quotes off of reflected default value, allowing a round trip CREATE TABLE to work. This is consistent with other dialects that also maintain the exact form of the default. [ticket:2189]
Mike Bayer
- rework Annotated to no longer use __cmp__(), supply an __eq__() that works with ColumnElement as well as works with non-__eq__() suppliers, works with sets, on Py3K as well.
Mike Bayer
default dialect, oopsie
Mike Bayer
- rewrite cloned_traverse() and replacement_traverse() to use a straight recursive descent with clone() + _copy_internals(). This is essentially what it was doing anyway with lots of unnecessary steps. Fix Alias() to honor the given clone() function which may have been the reason the traversal hadn't been fixed sooner. Alias._copy_internals() will specifically skip an alias of a Table as a more specific form of what it was doing before. This may need to be further …
Mike Bayer
- recall that groupby() expects a sorted collection, ditch it
Mike Bayer
fix broken tests
Mike Bayer
- added CURRENT to reserved word list. [ticket:2212] Also in 0.6.9.
Mike Bayer
- Fixed OurSQL dialect to use ansi-neutral quote symbol "'" for XA commands instead of '"'. [ticket:2186]. Also in 0.6.9.
Mike Bayer
- Fixed regression from 0.6 where Session.add() against an object which contained None in a collection would raise an internal exception. Reverted this to 0.6's behavior which is to accept the None but obviously nothing is persisted. Ideally, collections with None present or on append() should at least emit a warning, which is being considered for 0.8. [ticket:2205]
Mike Bayer
- Fixed bug apparent only in Python 3 whereby sorting of persistent + pending objects during flush would produce an illegal comparison, if the persistent object primary key is not a single integer. [ticket:2228] Also in 0.6.9
Mike Bayer
- document query.get(), ObjectDeletedError fully, [ticket:2146]
Mike Bayer
- Added an informative error message when ForeignKeyConstraint refers to a column name in the parent that is not found. Also in 0.6.9. - add tests for [ticket:2226], as if we hit each @declared_attr directly with obj.__get__(obj, name) instead of using getattr(cls, name). Basic inheritance mechanics are improperly used in this case, so 2226 is invalid.
Mike Bayer
fix some more typos
Mike Bayer
put a really explicit note about joinedload vs. join, everywhere joinedload() is mentioned
Mike Bayer
- Fixed regression from 0.6 where a get history operation on some relationship() based attributes would fail when a lazyload would emit; this could trigger within a flush() under certain conditions. [ticket:2224] Thanks to the user who submitted the great test for this.
Mike Bayer
- Fixed bug whereby the source clause used by query.join() would be inconsistent if against a column expression that combined multiple entities together. [ticket:2197]
Mike Bayer
fix keyword error
Mike Bayer
- Added new "postgresql_ops" argument to Index, allows specification of PostgreSQL operator classes for indexed columns. [ticket:2198] Courtesy Filip Zyzniewski.
Mike Bayer
- repaired the oracle.RAW type which did not generate the correct DDL. [ticket:2220] Also in 0.6.9.
Mike Bayer
- Fixed bug whereby if a mapped class redefined __hash__() or __eq__() to something non-standard, which is a supported use case as SQLA should never consult these, the methods would be consulted if the class was part of a "composite" (i.e. non-single-entity) result set. [ticket:2215] Also in 0.6.9.
Mike Bayer
- Feature enhancement: joined and subquery loading will now traverse already-present related objects and collections in search of unpopulated attributes throughout the scope of the eager load being defined, so that the eager loading that is specified via mappings or query options unconditionally takes place for the full depth, populating whatever is not already populated. Previously, this traversal would sto…
Mike Bayer
- Context manager provided by Connection.begin() will issue rollback() if the commit() fails, not just if an exception occurs.
Mike Bayer
- add a latex Makefile to texinputs that gets copied on latex build, ensures pdflatex/latex errors are totally ignored - fix all SQL/code examples in the inherits doc to be within 79 chars. will need to do this for all the docs to get pdf to not look crappy. - add an abspath to the "templates" dir, not sure of the rationale here but is harmless, [ticket:2211] - integrate pdf build with site-mako build
  1. Prev
  2. Next