[ZPatterns] Announce: TransactionAgents 0.0.3
Steve Alexander
[email protected]
Fri, 24 Aug 2001 21:22:00 +0100
Hi Folks,
You can get TransactionAgents 0.0.3 here:
http://www.cat-box.net/steve/TransactionAgents-0.0.3.tar.gz
Install it in your lib/python/Products directory.
It contains three directories: ZPatterns, PlugIns and TransactionAgents.
Release notes are in ZPatterns/ZED_PATTERNS_RELEASE_NOTES.txt
This requires Python 2.1 or 2.1.1 and Zope 2.4.x.
As usual, I need to warn you that this is experimental stuff, not
blessed by Phillip Eby and Ty Sarna, and it's quite possible that none
of the stuff in TransactionAgents will make it into a proper ZPatterns
release.
Here are the changes, taken from the release notes:
----
24 August 2001
Welcome to ZedPatterns-0-4-3p2-transactionagents-003
Changes:
* Removed ArmTriggers method from ZPatterns/DataSkins.py
(It shouldn't have been in there to start with!)
* Added DynPersist.pyd as contributed by Steve Spicklemire, compiled
for Zope 2.4 on Python2.1 on Win32
* Added Steve Spicklemire's fix to PlugIns to get rid of the ambiguous
method names
* BoundaryAgents now run on subtransaction commits as well as outer
transaction commits. Fixed tests to reflect this.
31 July 2001
Welcome to ZedPatterns-0-4-3p2-transactionagents-002
Changes:
* Added PrincipiaSearchSource method to SkinScript/Methods.py to
make SkinScript Methods work with ZopeFind.
* Fixed bug in INDEX CALLING syntax in SkinScript.
You'll need to recompile any SkinScript that uses this syntax,
by editing it in the ZMI.
26 July 2001
Welcome to ZedPatterns-0-4-3p2-transactionagents.
This is an experimental and unofficial release of ZPatterns,
to test out new ideas, and clear a path to compatibility with
Zope 2.4 and Python 2.1.
I've included an unaltered copy of the PlugIns product, as it
is required by ZPatterns.
UnTar the contents of the archive directly in your Products
directory.
Changes from ZPatterns 0-4-3p2:
* SkinScript works with Zope 2.4.
* Fixed __set_attr__ bug involving _v_parent
* Requires Python 2.1, Zope 2.4.
* Requires TransactionAgents product.
* Agents now run just before transactions get commited
rather than during a tpc_commit.
* New SkinScript for running a trigger as an IndexingAgent.
It goes like this::
WHEN OBJECT CHANGED INDEX CALLING expression
Indexing agents run after normal agents/triggers (called
Rule Agents), although there are special rules for
when a subtransaction is committed while an agent is running.
See the TransactionAgents product's test suite for details.
* ZPatterns doesn't go into an infinite loop if you commit
a subtransaction from a trigger.
* Support for list comprehensions in SkinScript.
* Per-transaction cached _v_ attributes now last until the
outermost transaction has finished. This will improve
execution speed by a miniscule amount in some circumstances.
---
--
Steve Alexander
Software Engineer
Cat-Box limited