[Checkins] SVN: Sandbox/nadako/zope.browserresource/ Add more notes to CHANGES.txt.

Dan Korostelev nadako at gmail.com
Mon Aug 24 08:09:16 EDT 2009


Log message for revision 103141:
  Add more notes to CHANGES.txt.

Changed:
  U   Sandbox/nadako/zope.browserresource/CHANGES.txt
  U   Sandbox/nadako/zope.browserresource/setup.py

-=-
Modified: Sandbox/nadako/zope.browserresource/CHANGES.txt
===================================================================
--- Sandbox/nadako/zope.browserresource/CHANGES.txt	2009-08-24 12:08:03 UTC (rev 103140)
+++ Sandbox/nadako/zope.browserresource/CHANGES.txt	2009-08-24 12:09:16 UTC (rev 103141)
@@ -24,10 +24,25 @@
 
    See zope.browserresource.interfaces.IResourceFactoryFactory interface.
 
+ * The Image resource class was removed, as they are actually simple files.
+   To migrate, simply rename the "image" argument in browser:resource and
+   browser:i18n-resource directives to "file", if you don't do this, resouces
+   will work, but you'll get deprecation warnings.
+ 
+   If you need custom behaviour for images, you can register a resource
+   factory utility for needed file extensions.
+
+ * The PageTemplateResource was moved into a separate package, "zope.ptresource",
+   which is a plugin for this package now. Because of that, the "template"
+   argument of browser:resource directive was deprecated and you should rename
+   it to "file" to migrate. The PageTemplateResource will be created for
+   "pt", "zpt" and "html" files automatically, if zope.ptresource package is
+   included in your configuration.
+
  * Fix stripping the "I" from an interface name for icon title, if no
    title is specified.
 
  * When publishing a resource via Resources view, set resource parent
    to an ISite object, not to current site manager.
 
- * Clean up code and improve test coverage a little.
+ * Clean up code and improve test coverage.

Modified: Sandbox/nadako/zope.browserresource/setup.py
===================================================================
--- Sandbox/nadako/zope.browserresource/setup.py	2009-08-24 12:08:03 UTC (rev 103140)
+++ Sandbox/nadako/zope.browserresource/setup.py	2009-08-24 12:09:16 UTC (rev 103141)
@@ -51,7 +51,6 @@
                         'zope.schema',
                         'zope.site',
                         'zope.traversing>3.7.0',
-                        'zope.browser',
                         ],
       extras_require={
           'test': ['zope.testing'],



More information about the Checkins mailing list