1 ZTUtils history
3 This file contains change information for previous versions of
4 ZTUtils. Change information for the current release can be found
5 in the file CHANGES.txt.
8 Version 1.1.3
10 Brown-bag bugfix release.
12 Version 1.1.2
14 Bugs Fixed
16 - Orphans defaulted to 3, which was confusing and out of sync
17 with DTML-In.
19 - Orphan batches were broken.
21 Version 1.1.1
23 Bugs Fixed
25 - Python 1.5.2-incompatible changes crept in.
27 Version 1.1.0
29 Features Added
31 - TreeMakers have a setChildAccess() method that you can use
32 to control tree construction. Child nodes can be accessed
33 through either an attribute name or callback function.
34 Children fetched by attribute name can be filtered through a
35 callback function.
37 - A new LazyFilter class allows you to filter a sequence using
38 Zope security and an optional filter callback function. The
39 security and filter tests are lazy, meaning they are
40 performed as late as possible.
42 The optional 'skip' argument determines the reaction when
43 access to a sequence element is refused by the Zope security
44 policy. The default (None) is to raise the 'Unauthorized'
45 exception. If a string is passed, such elements are
46 skipped. If the string is non-empty, it is treated as a
47 permission name, and the element is skipped if the user
48 doesn't have that permission on the element.
50 - The Zope versions of TreeMaker, SimpleTreeMaker, and Batch
51 now use LazyFilter. The TreeMakers have a setSkip() method
52 that can be used to set the 'skip' value. Batch has an
53 optional 'skip_unauthorized' argument that is passed to
54 LazyFilter as 'skip'.
56 - Utility functions make_query(), url_query(), and
57 make_hidden_input() have been added.