Mike Bayer [Sat, 30 Nov 2013 22:31:00 +0000 (17:31 -0500)]
- the pronoun removal commit. there was only one instance of a
standalone gendered pronoun with a gender-neutral subject, but also
have replaced all occurences of "his/her", "his or her", etc. The docs have always
strived to account for both genders in any non-specific singular pronoun,
however recent controversy in the community suggests
that a zero-gendered-pronoun policy is probably best going forward.
Mike Bayer [Fri, 8 Jun 2012 19:59:54 +0000 (15:59 -0400)]
Add some `Sphinx` related version informations paragraph-level markups,
such as ``.. versionaddedd::``, ``.. versionchanged::`` and ``.. deprecated::``.
Mike Bayer [Tue, 24 Apr 2012 14:55:47 +0000 (10:55 -0400)]
- Backported the fix for [ticket:2317] introduced
in 0.7.4, which ensures that the connection
is in a valid state before attempting to call
rollback()/prepare()/release() on savepoint
and two-phase transactions.
Mike Bayer [Fri, 30 Dec 2011 20:29:44 +0000 (15:29 -0500)]
add a "jinja2 fallback" renderer for render_string(), which is used for the js/css templates
we don't really care about. not sure if this is going to break again with a newer sphinx
or what, but fixes [ticket:2359] for now.
Mike Bayer [Wed, 5 Oct 2011 15:54:15 +0000 (11:54 -0400)]
- Fixed bug related to [ticket:2141] whereby the
same modified index behavior in PG 9 affected
primary key reflection on a renamed column.
[ticket:2291].
Mike Bayer [Mon, 3 Oct 2011 19:25:47 +0000 (15:25 -0400)]
- a CREATE TABLE will put the COLLATE option
after CHARSET, which appears to be part of
MySQL's arbitrary rules regarding if it will actually
work or not. [ticket:2225]
Mike Bayer [Wed, 21 Sep 2011 21:28:12 +0000 (17:28 -0400)]
- Fixed bug whereby with_only_columns() method of
Select would fail if a selectable were passed.
[ticket:2270]. However, the FROM behavior is
still incorrect here, so you need 0.7 in
any case for this use case to be usable.
Mike Bayer [Wed, 21 Sep 2011 21:00:44 +0000 (17:00 -0400)]
patch from 0.7: Adjusted the "importlater" mechanism, which is
used internally to resolve import cycles,
such that the usage of __import__ is completed
when the import of sqlalchemy or sqlalchemy.orm
is done, thereby avoiding any usage of __import__
after the application starts new threads,
fixes [ticket:2279].
Mike Bayer [Sat, 30 Jul 2011 16:12:39 +0000 (12:12 -0400)]
- 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]
Mike Bayer [Sun, 24 Jul 2011 15:50:26 +0000 (11:50 -0400)]
- 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]
Mike Bayer [Thu, 21 Jul 2011 15:44:41 +0000 (11:44 -0400)]
- Added an informative error message when
ForeignKeyConstraint refers to a column name in
the parent that is not found.
- 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 [Wed, 20 Jul 2011 22:03:22 +0000 (18:03 -0400)]
- 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 [Tue, 19 Jul 2011 15:43:46 +0000 (11:43 -0400)]
- repaired the oracle.RAW type which did not
generate the correct DDL. [ticket:2220]
- Fixed bug whereby "warn on unicode" flag
would get set for the String type
when used with certain dialects. This
bug is not in 0.7.
Mike Bayer [Sun, 17 Jul 2011 20:44:07 +0000 (16:44 -0400)]
- 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]
Mike Bayer [Thu, 7 Jul 2011 15:34:59 +0000 (11:34 -0400)]
- 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
Mike Bayer [Wed, 6 Jul 2011 16:44:41 +0000 (12:44 -0400)]
- The join condition produced by with_parent
as well as when using a "dynamic" relationship
against a parent will generate unique
bindparams, rather than incorrectly repeating
the same bindparam. [ticket:2207].
Mike Bayer [Mon, 4 Jul 2011 20:35:27 +0000 (16:35 -0400)]
- fix pypostgresql typo, [ticket:2185]
- rewrite "getting a session" docs to delineate
all sessionmaker() use cases distinctly
- rewrite "Managing Transactions" doc to spell out
each specific step completely, [ticket:2204]
- add to create_engine() and main "engine" doc
an unambiguous statement that the create_engine()
does not create a connection
- other link fixes
- rewrite "deleting" section so that "deleting from collections"
is separate, well-described, [ticket:2202]
- rephrase "autocommit mode" into its own section, move it down,
put some bold text that you shouldn't be using it.
- simplify the "subtransactions" section and make it local to
"autocommit" since it is utterly unneeded by anybody.
- oracle is not doing 2-phase anytime soon
Mike Bayer [Mon, 27 Jun 2011 23:44:52 +0000 (19:44 -0400)]
- Fixed subtle bug that caused SQL to blow
up if: column_property() against subquery +
joinedload + LIMIT + order by the column
property() occurred. [ticket:2188].
Mike Bayer [Thu, 23 Jun 2011 23:54:50 +0000 (19:54 -0400)]
- the "cascade" section of the session doc was totally screwed up, mappings
used the wrong form, example for cascade_backref used the wrong names.
- rewrite relationship cascade_backrefs doc
Mike Bayer [Tue, 21 Jun 2011 14:03:40 +0000 (10:03 -0400)]
- Repaired the "no statement condition"
assertion in Query which would attempt
to raise if a generative method were called
after from_statement() were called.
[ticket:2199].
Mike Bayer [Sun, 5 Jun 2011 16:32:22 +0000 (12:32 -0400)]
- Fixed bug whereby DATETIME2 type would fail on
the "adapt" step when used in result sets or
bound parameters. This issue is not in 0.7.
[ticket:2159]
Mike Bayer [Sun, 5 Jun 2011 16:24:02 +0000 (12:24 -0400)]
- Fixed bug where transaction-level "deleted"
collection wouldn't be cleared of expunged
states, raising an error if they later
became transient [ticket:2182].
Mike Bayer [Sun, 5 Jun 2011 00:57:16 +0000 (20:57 -0400)]
- Adjusted the __contains__() method of
a RowProxy result row such that no exception
throw is generated internally;
NoSuchColumnError() also will generate its
message regardless of whether or not the column
construct can be coerced to a string.
[ticket:2178].
Mike Bayer [Sun, 5 Jun 2011 00:22:20 +0000 (20:22 -0400)]
- Some unit test fixes regarding numeric arrays,
MATCH operator. A potential floating-point
inaccuracy issue was fixed, and certain tests
of the MATCH operator only execute within an
EN-oriented locale for now. [ticket:2175].
Mike Bayer [Sun, 5 Jun 2011 00:09:21 +0000 (20:09 -0400)]
- Modify the text of the message which occurs
when the "identity" key isn't detected on
flush, to include the common cause that
the Column isn't set up to detect
auto-increment correctly; [ticket:2170].
Mike Bayer [Thu, 19 May 2011 16:03:00 +0000 (12:03 -0400)]
- Fixed bug in MSSQL dialect whereby the aliasing
applied to a schema-qualified table would leak
into enclosing select statements [ticket:2169].
Merge of r9b3bd0601a85 from default
Mike Bayer [Wed, 18 May 2011 16:12:00 +0000 (12:12 -0400)]
- merge 00380cf3c304ea7f1c7397f17b828166364c36ac from default
- Fixed bug whereby nesting a label of a select()
with another label in it would produce incorrect
exported columns. Among other things this would
break an ORM column_property() mapping against
another column_property(). [ticket:2167].
Mike Bayer [Sat, 7 May 2011 15:54:53 +0000 (11:54 -0400)]
- mapper() will ignore non-configured foreign keys
to unrelated tables when determining inherit
condition between parent and child class.
This is equivalent to behavior already
applied to declarative. [ticket:2153]
Mike Bayer [Sat, 7 May 2011 15:30:24 +0000 (11:30 -0400)]
- Fixed bug where determination of "self referential"
relationship would fail with no workaround
for joined-inh subclass related to itself,
or joined-inh subclass related to a subclass
of that with no cols in the sub-sub class
in the join condition. [ticket:2149]
Mike Bayer [Sat, 7 May 2011 15:18:40 +0000 (11:18 -0400)]
- Fixed the error message emitted for "can't
execute syncrule for destination column 'q';
mapper 'X' does not map this column" to
reference the correct mapper. [ticket:2163].
- orm/test_sync.py covers orm/sync.py 100%
Mike Bayer [Sat, 7 May 2011 14:44:49 +0000 (10:44 -0400)]
- Backported 0.7's identity map implementation, which
does not use a mutex around removal. This as some users
were still getting deadlocks despite the adjustments
in 0.6.7; the 0.7 approach that doesn't use a mutex
does not appear to produce "dictionary changed size"
issues, the original rationale for the mutex.
[ticket:2148]
Mike Bayer [Wed, 27 Apr 2011 16:51:50 +0000 (12:51 -0400)]
- a non_primary mapper will inherit the _identity_class
of the primary mapper. This so that a non_primary
established against a class that's normally in an
inheritance mapping will produce results that are
identity-map compatible with that of the primary
mapper [ticket:2151]
Mike Bayer [Sat, 23 Apr 2011 16:38:30 +0000 (12:38 -0400)]
- Fixed bug whereby if FetchedValue was passed
to column server_onupdate, it would not
have its parent "column" assigned, added
test coverage for all column default assignment
patterns. [ticket:2147]