Sqlalchemy

Latest version: v2.0.30

Safety actively analyzes 638430 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 50 of 50

0.1.1

Not secure
:released: Thu Feb 23 2006

.. change::
:tags:
:tickets:

small fix to Function class so that expressions with a func.foo() use the type of the
Function object (i.e. the left side) as the type of the boolean expression, not the
other side which is more of a moving target (changeset 1020).

.. change::
:tags:
:tickets:

creating self-referring mappers with backrefs slightly easier (but still not that easy -
changeset 1019)

.. change::
:tags:
:tickets:

fixes to one-to-one mappings (changeset 1015)

.. change::
:tags:
:tickets:

psycopg1 date/time issue with None fixed (changeset 1005)

.. change::
:tags:
:tickets:

two issues related to postgres, which doesn't want to give you the "lastrowid"
since oids are deprecated:

* postgres database-side defaults that are on primary key cols *do* execute
explicitly beforehand, even though that's not the idea of a PassiveDefault. this is
because sequences on columns get reflected as PassiveDefaults, but need to be explicitly
executed on a primary key col so we know what we just inserted.
* if you did add a row that has a bunch of database-side defaults on it,
and the PassiveDefault thing was working the old way, i.e. they just execute on
the DB side, the "can't get the row back without an OID" exception that occurred
also will not happen unless someone (usually the ORM) explicitly asks for it.

.. change::
:tags:
:tickets:

fixed a glitch with engine.execute_compiled where it was making a second
ResultProxy that just got thrown away.

.. change::
:tags:
:tickets:

began to implement newer logic in object properties. you can now say
myclass.attr.property, which will give you the PropertyLoader corresponding to that
attribute, i.e. myclass.mapper.props['attr']

.. change::
:tags:
:tickets:

eager loading has been internally overhauled to use aliases at all times. more
complicated chains of eager loads can now be created without any need for explicit
"use aliases"-type instructions. EagerLoader code is also much simpler now.

.. change::
:tags:
:tickets:

a new somewhat experimental flag "use_update" added to relations, indicates that
this relationship should be handled by a second UPDATE statement, either after a
primary INSERT or before a primary DELETE. handles circular row dependencies.

.. change::
:tags:
:tickets:

added exceptions module, all raised exceptions (except for some
KeyError/AttributeError exceptions) descend from these classes.

.. change::
:tags:
:tickets:

fix to date types with MySQL, returned timedelta converted to datetime.time

.. change::
:tags:
:tickets:

two-phase objectstore.commit operations (i.e. begin/commit) now return a
transactional object (SessionTrans), to more clearly indicate transaction boundaries.

.. change::
:tags:
:tickets:

Index object with create/drop support added to schema

.. change::
:tags:
:tickets:

fix to postgres, where it will explicitly pre-execute a PassiveDefault on a table
if it is a primary key column, pursuant to the ongoing "we can't get inserted rows
back from postgres" issue

.. change::
:tags:
:tickets:

change to information_schema query that gets back postgres table defs, now
uses explicit JOIN keyword, since one user had faster performance with 8.1

.. change::
:tags:
:tickets:

fix to engine.process_defaults so it works correctly with a table that has
different column name/column keys (changeset 982)

.. change::
:tags:
:tickets:

a column can only be attached to one table - this is now asserted

.. change::
:tags:
:tickets:

postgres time types descend from Time type

.. change::
:tags:
:tickets:

fix to alltests so that it runs types test (now named testtypes)

.. change::
:tags:
:tickets:

fix to Join object so that it correctly exports its foreign keys (cs 973)

.. change::
:tags:
:tickets:

creating relationships against mappers that use inheritance fixed (cs 973)



=============
0.2 Changelog
=============


.. changelog::

Page 50 of 50

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.