[Checkins]
SVN: grok/branches/jw-simpler-skin-registration/doc/upgrade.txt
Upgrade notes
Philipp von Weitershausen
philikon at philikon.de
Sat Aug 2 07:31:15 EDT 2008
Log message for revision 89193:
Upgrade notes
Changed:
U grok/branches/jw-simpler-skin-registration/doc/upgrade.txt
-=-
Modified: grok/branches/jw-simpler-skin-registration/doc/upgrade.txt
===================================================================
--- grok/branches/jw-simpler-skin-registration/doc/upgrade.txt 2008-08-02 11:27:54 UTC (rev 89192)
+++ grok/branches/jw-simpler-skin-registration/doc/upgrade.txt 2008-08-02 11:31:14 UTC (rev 89193)
@@ -6,6 +6,28 @@
describes changes involving incompatibilities or deprecations, not new
features (please refer to ``CHANGES.txt`` for those).
+Upgrading to 0.14
+-----------------
+
+* The ``grok.Skin`` class has been removed in favour of a
+ ``grok.skin()`` directive for interfaces. For instance, if you
+ previously registered a browser layer as a skin like so::
+
+ class IMyLayer(grok.IGrokLayer):
+ pass
+
+ class MySkin(grok.Skin):
+ grok.layer(IMyLayer)
+
+ you can now simply write::
+
+ class IMyLayer(grok.IBrowserRequest):
+ grok.skin('myskin')
+
+ As you can see, ``IGrokLayer`` has also been removed, in favour of
+ the exposure of ``IBrowserRequest``.
+
+
Upgrading to 0.13
-----------------
More information about the Checkins
mailing list