Elixir 0.3.0 released!
Gaetan de Menten
gdementen at gmail.com
Tue Mar 27 18:56:28 CEST 2007
We are pleased to announce that version 0.3.0 of Elixir is now
available. As always, feedback is very welcome, preferably on Elixir
Highlights for this release
- Added support for autoloading/reflecting databases with
has_and_belongs_to_many relationships. See the docs for details.
- Added support for the "version_id_col" option on entities. This option adds
a column to the table which will be used to prevent concurrent modifications
on any row of the entity's table (i.e. it will raise an error if it happens).
- Added an "ondelete" argument to belongs_to relationships.
- The tablename option can now be given a callable so that people can provide
their own function to get the table name for an entity.
- Made the provided metadata not threadlocal. This could break things for you
in some rare case. Please see the (newly created) FAQ file for details about
- Fixed bug preventing having entities without any statement.
- Fixed typo which broke the use_alter argument on belongs_to relationships.
The full list of changes can be seen at:
What is Elixir?
Elixir is a declarative layer on top of SQLAlchemy. It is a fairly
thin wrapper, which provides the ability to define model objects
following the Active Record design pattern, and using a DSL syntax
similar to that of the Ruby on Rails ActiveRecord system.
Elixir does not intend to replace SQLAlchemy's core features, but
instead focuses on providing a simpler syntax for defining model
objects when you do not need the full expressiveness of SQLAlchemy's
manual mapper definitions.
Gaëtan de Menten
More information about the Python-announce-list