1 | Changelog |
---|
2 | ========= |
---|
3 | |
---|
4 | Changelog for the current CacheFu release. For a history of changes |
---|
5 | prior to this release, see docs/HISTORY.txt |
---|
6 | |
---|
7 | |
---|
8 | 1.2.1 - released 2009-05-17 |
---|
9 | --------------------------- |
---|
10 | |
---|
11 | Release manager: |
---|
12 | Ricardo Newbery, ric@digitalmarbles.com |
---|
13 | Compatible with: |
---|
14 | Plone 3.2, 3.1, 3.0, and 2.5 |
---|
15 | |
---|
16 | - Convert view name to string type before looking up matching cache rules. |
---|
17 | Also fix up base_cache_rule._associateTemplate to ignore NotFound errors. |
---|
18 | Thanks to Silvio Tomatis for the report. |
---|
19 | [newbery] |
---|
20 | |
---|
21 | - Fixed a Plone 2.5 incompatibility in exportimport/atcontent.py. |
---|
22 | Thanks to Kai Lautaportti for the patch. |
---|
23 | [newbery] |
---|
24 | |
---|
25 | - Added a workaround to fix creating GenericSetup snapshots. |
---|
26 | [rossp] |
---|
27 | |
---|
28 | - Added at_download purge URLs for files and images. Fixes a problem |
---|
29 | with stale file downloads. |
---|
30 | [rossp] |
---|
31 | |
---|
32 | - Changed over to a "version-less" naming of policies to make GenericSetup |
---|
33 | updates more sane. |
---|
34 | [newbery] |
---|
35 | |
---|
36 | - Don't throw an error in Plone 2.5 if all the 'folder_buttons' actions |
---|
37 | have been deleted/hidden. That's an odd configuration since it makes |
---|
38 | folder_contents views useless but we should still not throw an error. |
---|
39 | Fixes http://plone.org/products/cachefu/issues/141 |
---|
40 | [newbery] |
---|
41 | |
---|
42 | - Fixed a bug where Accept-Encoding was showing up twice in the Vary |
---|
43 | header. Also made setVaryHeader a bit smarter about what values |
---|
44 | are required so instead of throwing a validation error we now just |
---|
45 | quietly fix the obvious omissions. |
---|
46 | [newbery] |
---|
47 | |
---|
48 | - Added a free-form, syntax-checked field to the list of headers |
---|
49 | that a headerset can apply. We now support surrogate cache control. |
---|
50 | [newbery] |
---|
51 | |
---|
52 | - A CMFQuickInstaller uninstall/install after a GenericSetup install |
---|
53 | appears broken somehow. It's as if GS-installed tools do not get |
---|
54 | properly unregistered by QI (this is unconfirmed), but oddly a zope |
---|
55 | restart after a QI uninstall fixes this. But if a restart is not done, |
---|
56 | one consequence is that setTitle never gets called because getToolByName |
---|
57 | says the cachetool exists already. Since title is a required field |
---|
58 | but hidden in the edit form, this makes it impossible to enable CacheFu. |
---|
59 | QI is going away soon anyway so we punt on this bug and just call |
---|
60 | setTitle unconditionally. |
---|
61 | [newbery] |
---|
62 | |
---|
63 | - Added missing workflow binding for CachePolicy entry in the |
---|
64 | GenericSetup workflow.xml settings. |
---|
65 | [newbery] |
---|
66 | |
---|
67 | - Added missing title for RuleFolder/HeaderSetFolder entries in the |
---|
68 | GenericSetup cache settings. |
---|
69 | [newbery] |
---|
70 | |
---|
71 | - Fixed a GS setuphandlers issue where importing ObjectInitializedEvent |
---|
72 | breaks in Plone 2.5. Thanks to Kai Lautaportti for the report. |
---|
73 | [newbery] |
---|
74 | |
---|
75 | - Fixed a boolean issue seen in Plone 2.5 where setEnabled() fails due |
---|
76 | to an inappropriate type comparison. Thanks to Kai Lautaportti for |
---|
77 | the report. Fixes http://plone.org/products/cachefu/issues/143 |
---|
78 | [newbery] |
---|
79 | |
---|
80 | - Fixed up the version checking. We now no longer rely on quickinstaller |
---|
81 | to keep track of the installed version since qi is unreliable on |
---|
82 | product path changes and during some GS installs. We also now no |
---|
83 | longer do a "full" disable during version mismatches -- we don't need |
---|
84 | need to anymore since everything now respects the 'enabled' flag. |
---|
85 | [newbery] |
---|
86 | |
---|
87 | - Fixed up the CacheFu Caching Policy Manager so that it respects the |
---|
88 | CacheSetup 'enabled' field. We don't have to delete this tool now |
---|
89 | in order to turn off caching behavior. |
---|
90 | [newbery] |
---|
91 | |
---|
92 | - Use the FasterStringIO from CMFPlone/patches/unicodehacks instead of the |
---|
93 | standard StringIO to avoid issues due to a mix of strings and unicode. |
---|
94 | [fschulze] |
---|
95 | |
---|
96 | - Improve the GenericSetup export code: |
---|
97 | |
---|
98 | - Also export the title field for header and rule sets. |
---|
99 | - PolicyHTTPCacheManagerCacheRule also needs the basic header set fields. |
---|
100 | - Import sub-items before importing the object itself so references |
---|
101 | work correctly. |
---|
102 | |
---|
103 | [wichert] |
---|
104 | |
---|
105 | - Add missing title for entries in the GenericSetup cache settings. |
---|
106 | [wichert] |
---|
107 | |
---|
108 | |
---|
109 | - If we silently ignore the 'enable CacheFu' option when the user is changing |
---|
110 | the cache tool settings show a very clear warning. |
---|
111 | [wichert] |
---|
112 | |
---|
113 | - Fixed two return values in patch_cmf.py. In Plone 3 you need to return |
---|
114 | Unicode all the time. Otherwise PageTemplate files in the ZODB would generate |
---|
115 | an assertion error in pt_render, complaining about the empty string not being |
---|
116 | Unicode. |
---|
117 | [hannosch] |
---|
118 | |
---|
119 | - Add a vocabulary which lists all header sets. |
---|
120 | [wichert] |
---|
121 | |
---|