This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via c7574877ac2d0eba0f5555d58c351a32375e1b07 (commit)
from f844e14e7425bf2885e344496d5e61ea0884abaf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/c7574877ac2d0eba0f5555d58c351a32375e1b07
commit c7574877ac2d0eba0f5555d58c351a32375e1b07
Author: Oleg Broytman <ph...@ph...>
Date: Wed Oct 29 01:44:14 2014 +0300
Old news were restored back to version 0.2.1
News.txt was split into 5 small files.
diff --git a/docs/News.txt b/docs/News.txt
index 9968cc2..4639431 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -32,6 +32,13 @@ Development
* Development was switched from Subversion to git.
+Documentation
+-------------
+
+* Old news were restored back to version 0.2.1.
+
+* News.txt was split into 5 small files.
+
SQLObject 1.7.0
===============
@@ -395,317 +402,9 @@ Features & Interface
* Parameter ``backend`` in DB URI is no longer supported, use parameter
``driver``.
-SQLObject 0.15.1
-================
-
-Released 22 Mar 2011.
-
-* A bug was fixed in MSSQLConnection.
-
-* A minor bug was fixed in sqlbuilder.Union.
-
-SQLObject 0.15.0
-================
-
-Released 6 Dec 2010.
-
-Features & Interface
---------------------
-
-* Major API change: all signals are sent with the instance (or the class)
- as the first parameter. The following signals were changed:
- RowCreateSignal, RowCreatedSignal, DeleteColumnSignal.
-
-* Major API change: post-processing functions for all signals are called
- with the instance as the first parameter. The following signals were
- changed: RowUpdatedSignal, RowDestroySignal, RowDestroyedSignal.
-
-SQLObject 0.14.2
-================
-
-* A minor bug was fixed in sqlbuilder.Union.
-
-SQLObject 0.14.1
-================
-
-Released 15 Oct 2010.
-
-* A bugfix was ported from `SQLObject 0.13.1`_.
-
-SQLObject 0.14.0
-================
-
-Released 10 Oct 2010.
-
-Features & Interface
---------------------
-
-* The lists of columns/indices/joins are now sorted according to the order
- of declaration.
-
-* ``validator2`` was added to all columns; it is inserted at the beginning
- of the list of validators, i.e. its ``from_python()`` method is called
- first, ``to_python()`` is called last, after all validators in the list.
-
-* SQLiteConnection's parameter ``use_table_info`` became boolean with default
- value True; this means the default schema parser is now based on ``PRAGMA
- table_info()``.
-
-* Major API change: attribute ``dirty`` was moved to sqlmeta.
-
-SQLObject 0.13.1
-================
-
-Released 15 Oct 2010.
-
-* A bug was fixed in a subtle case when a per-instance connection is not
- passed to validators.
-
-SQLObject 0.13.0
-================
-
-Released 11 Aug 2010.
-
-Features & Interface
---------------------
-
-* SQLObject instances that don't have a per-instance connection can be
- pickled and unpickled.
-
-* Validators became stricter: StringCol and UnicodeCol now accept only str,
- unicode or an instance of a class that implements __unicode__ (but not
- __str__ because every object has a __str__ method); BoolCol accepts only
- bool or int or an instance of a class that implements __nonzero__; IntCol
- accepts int, long or an instance of a class that implements __int__ or
- __long__; FloatCol accepts float, int, long or an instance of a class
- that implements __float__, __int__ or __long__.
-
-* Added a connection class for rdbhost.com (commercial Postgres-over-Web
- service).
-
-Small Features
---------------
-
-* Added TimedeltaCol; currently it's only implemented on PostgreSQL as an
- INTERVAL type.
-
-* Do not pollute the base sqlmeta class to allow Style to set idName. In
- the case of inherited idName inherited value takes precedence; to allow
- Style to set idName reset inherited idName to None.
-
-* Better handling of circular dependencies in sqlobject-admin -
- do not include the class in the list of other classes.
-
-* Renamed db_encoding to dbEncoding in UnicodeStringValidator.
-
-* A new parameter ``sslmode`` was added to PostgresConnection.
-
-* Removed SQLValidator - its attemptConvert was never called because in
- FormEncode it's named attempt_convert.
-
-SQLObject 0.12.5
-================
-
-* ``backend`` parameter was renamed to ``driver``. To preserve backward
- compatibility ``backend`` is still recognized and will be recognized
- for some time.
-
-SQLObject 0.12.4
-================
-
-Released 5 May 2010.
-
-* Bugs were fixed in calling from_python().
-
-* A bugfix was ported from `SQLObject 0.11.6`_.
-
-SQLObject 0.12.3
-================
-
-Released 11 Apr 2010.
-
-* A bugfix ported from `SQLObject 0.11.5`_.
-
-SQLObject 0.12.2
-================
-
-Released 4 Mar 2010.
-
-* Bugfixes ported from `SQLObject 0.11.4`_.
-
-SQLObject 0.12.1
-================
-
-Released 8 Jan 2010.
-
-* Fixed three bugs in PostgresConnection.
-
-* A number of changes ported from `SQLObject 0.11.3`_.
-
-SQLObject 0.12
-==============
-
-Released 20 Oct 2009.
-
-Features & Interface
---------------------
-
-* .selectBy(), .deleteBy() and .by*() methods pass all values through
- .from_python(), not only unicode.
-
-* The user can choose a DB API driver for SQLite by using a ``backend``
- parameter in DB URI or SQLiteConnection that can be a comma-separated
- list of backend names. Possible backends are: ``pysqlite2`` (alias
- ``sqlite2``), ``sqlite3``, ``sqlite`` (alias ``sqlite1``). Default is
- to test pysqlite2, sqlite3 and sqlite in that order.
-
-* The user can choose a DB API driver for PostgreSQL by using a ``backend``
- parameter in DB URI or PostgresConnection that can be a comma-separated
- list of backend names. Possible backends are: ``psycopg2``, ``psycopg1``,
- ``psycopg`` (tries psycopg2 and psycopg1), ``pygresql``. Default is
- ``psycopg``.
- WARNING: API change! PostgresConnection's parameter
- ``usePygresql`` is now replaced with ``backend=pygresql``.
-
-* The user can choose a DB API driver for MSSQL by using a ``backend``
- parameter in DB URI or MSSQLConnection that can be a comma-separated
- list of backend names. Possible backends are: ``adodb`` (alias
- ``adodbapi``) and ``pymssql``. Default is to test adodbapi and pymssql
- in that order.
-
-* alternateMethodName is defined for all unique fields, not only alternateID;
- this makes SQLObject create .by*() methods for all unique fields.
-
-* SET client_encoding for PostgreSQL to the value of ``charset`` parameter
- in DB URI or PostgresConnection.
-
-* TimestampCol() can be instantiated without any defaults, in this case
- default will be None (good default for TIMESTAMP columns in MySQL).
-
-Small Features
---------------
-
-* Imported DB API drivers are stored as connection instance variables, not
- in global variables; this allows to use different DB API drivers at the
- same time; for example, PySQLite2 and sqlite3.
-
-* Removed all deprecated attributes and functions.
-
-* Removed the last remained string exceptions.
-
-SQLObject 0.11.6
-================
-
-Released 5 May 2010.
-
-* A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as
- size/precision to DecimalCol; DecimalCol doesn't allow default values (to
- force user to pass meaningful values); but columnsFromSchema() doesn't
- implement proper parsing of column details.
-
-SQLObject 0.11.5
-================
-
-Released 11 Apr 2010.
-
-* Fixed a bug in replacing _connection in a case when no previous
- _connection has been set.
-
-SQLObject 0.11.4
-================
-
-Released 4 Mar 2010.
-
-* Fixed a bug in inheritance - if creation of the row failed and if the
- connection is not a transaction and is in autocommit mode - remove
- parent row(s).
-
-* Do not set _perConnection flag if get() or _init() is passed the same
- connection; this is often the case with select().
-
-SQLObject 0.11.3
-================
-
-Released 8 Jan 2010.
-
-* Fixed a bug in col.py and dbconnection.py - if dbEncoding is None suppose
- it's 'ascii'.
-
-* Fixed a bug in FirebirdConnection.
-
-* The cache culling algorithm was enhanced to eliminate memory leaks by
- removing references to dead objects; tested on a website that runs around
- 4 million requests a day.
-
-SQLObject 0.11.2
-================
-
-Released 30 Sep 2009.
-
-* Fixed a bug in logging to console - convert unicode to str.
-
-* Fixed an obscure bug in ConnectionHub triggered by an SQLObject class
- whose instances can be coerced to boolean False.
-
-SQLObject 0.11.1
-================
-
-Released 20 Sep 2009.
-
-* Fixed a bug: Sybase tables with identity column fire two identity_inserts.
-
-* Fixed a bug: q.startswith(), q.contains() and q.endswith() escape (with a
- backslash) all special characters (backslashes, underscores and percent
- signs).
-
-SQLObject 0.11.0
-================
-
-Released 12 Aug 2009.
-
-Features & Interface
---------------------
-
-* Dropped support for Python 2.3. The minimal version of Python for
- SQLObject is 2.4 now.
-
-* Dropped support for PostgreSQL 7.2. The minimal supported version of
- PostgreSQL is 7.3 now.
-
-* New magic attribute ``j`` similar to ``q`` was added that
- automagically does join with the other table in MultipleJoin or
- RelatedJoin.
-
-* SQLObject can now create and drop a database in MySQL, PostgreSQL, SQLite
- and Firebird/Interbase.
-
-* Added some support for schemas in PostgreSQL.
-
-* Added DecimalStringCol - similar to DecimalCol but stores data as strings
- to work around problems in some drivers and type affinity problem in
- SQLite.
-
-* Added sqlobject.include.hashcol.HashCol - a column type that automatically
- hashes anything going into it, and returns out an object that hashes
- anything being compared to itself. Basically, it's good for really simple
- one-way password fields, and it even supports the assignment of None to
- indicate no password set. By default, it uses the md5 library for
- hashing, but this can be changed in a HashCol definition.
-
-* RowDestroyedSignal and RowUpdatedSignal were added.
-
-Minor features
---------------
-
-* Use reversed() in manager/command.py instead of .__reversed__().
-
-* Minor change in logging to console - logger no longer stores the output
- file, it gets the file from module sys every time by name; this means
- logging will use new sys.stdout (or stderr) in case the user changed
- them.
+`Older news`__
-* Changed the order of testing of SQLite modules - look for external
- PySQLite2 before sqlite3.
+.. __: News4.html
.. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10
:target: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News1.txt b/docs/News1.txt
new file mode 100644
index 0000000..c81adb6
--- /dev/null
+++ b/docs/News1.txt
@@ -0,0 +1,458 @@
+++++
+News
+++++
+
+.. contents:: Contents:
+ :backlinks: none
+
+.. _start:
+
+SQLObject 0.6.1
+===============
+
+Interface Changes
+-----------------
+
+* The long broken and unused ``DBMConnection`` has been removed.
+
+* Added a connection parameter to all class methods (patch 974755)
+
+* Connection objects have a ``.module`` attribute, which points to
+ the DB-API module. This is useful for getting access to the
+ exception objects.
+
+Features
+--------
+
+* New ``UnicodeCol()`` that converts to and from Unicode
+ in the database. See docs_.
+
+.. _docs: SQLObject.html#subclasses-of-col
+
+* Added indexing (from Jeremy Fitzhardinge). See `the
+ documentation`__ for more.
+
+.. __: SQLObject.html#indexes
+
+* All connections are explicitly closed, not just garbage collected.
+ Many database drivers don't close database connections properly when
+ the connection object is garbage collected.
+
+* New ``distinct`` option to selects, like ``MyClass.select(...,
+ distinct=True)``
+
+* You can now do
+ ``MyClass.selectBy(joinedTable=joinedTableInstance)``, where before
+ you had to do
+ ``MyClass.selectBy(joinedTableID=joinedTableInstance.id)``. (From
+ Dave Cook)
+
+SQLObject 0.6
+=============
+
+Interface Changes
+-----------------
+
+* Lazy updates. Add ``_lazyUpdate=True`` to your class, and updates
+ will only be written when you call ``obj.syncUpdate()`` or
+ ``obj.sync()`` (``sync`` also refetches the data from the database,
+ which ``syncUpdate`` does not do). When enabled, instances have a
+ property ``dirty``, which indicates if they have pending updates.
+ Inserts are still done immediately.
+
+* Separated database drivers (PostgresConnection, MySQLConnection,
+ etc.) into separate packages. You can access the driver through
+ URIs, like ``mysql://user:pass@host/dbname`` -- to set drivers after
+ class creation you should use `sqlobject.connectionForURI()`.
+
+* The ``SQLObject`` package has been renamed to ``sqlobject``. This
+ makes it similar to several other packages, and emphasizes the
+ distinction between the ``sqlobject`` package and the ``SQLObject``
+ class.
+
+* Class instantiation now creates new rows (like `.new()` used to
+ do), and the `.get()` method now retrieves objects that already have
+ rows (like class instantiation used to do).
+
+* We're now using a Subversion repository instead of CVS. It is
+ located at http://svn.colorstudy.com/trunk/SQLObject
+
+* If you pass ``forceDBName=True`` to the ``*Col`` constructors, then
+ your column name doesn't have to be restricted to a-z, 0-9, and _.
+
+* ``*Col`` constructors now support cascade: ``cascade=None``
+ (default) means no constraint; ``cascade=True`` means that if the
+ foreign key is deleted, the object will be deleted;
+ ``cascade=False`` means that the delete will fail;
+ ``cascade="null"`` means that the column will be set to NULL. The
+ constraints are only implemented in the DBMS, not in SQLObject
+ (i.e., they will not work in databases like MySQL and SQLite).
+
+* New ``_create(id, **kw)`` method that can be overridden to intercept
+ and modify attempts to insert rows in the database.
+
+* You can specify ``_idType`` in your class, like ``_idType = str``.
+ The default type is ``int``; i.e., IDs are coerced to integers.
+ This is a temporary interface; a more general specifier for primary
+ keys will be added later.
+
+* New classmethod ``createTableSQL()`` method for SQLObject classes,
+ which returns the SQL that can be used to create the table. Analog
+ to ``createTable()``.
+
+Bugs
+----
+
+* SQLite booleans fixed.
+
+* You can now use ``sqlite:/:memory:`` to store the database in
+ memory.
+
+* Some bugs resolved when caching is turned off (SF 956847)
+
+SQLObject 0.5.3
+===============
+
+Bugs
+----
+
+* Python 2.2 booleans fixed (SF: 903488)
+
+* Longs (e.g., ``1L``) get converted properly (SF: 939965)
+
+SQLObject 0.5.2
+===============
+
+We're now using Subversion instead of CVS. The repository is located
+at svn://colorstudy.com/trunk/SQLObject
+
+Interface Changes
+-----------------
+
+* If you commit or rollback a transaction, you must call
+ ``trans.begin()`` to restart the transaction. Any database access on
+ the transaction inbetween commit/rollback and being will result in an
+ AssertionError. (It's also acceptable to create a new transaction
+ object instead of reusing the old one, but objects in that
+ transaction will be invalid)
+
... 1711 lines suppressed ...
hooks/post-receive
--
SQLObject development repository
|