- Nothing changed yet.
- Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.
- Drop support for Python 2.7, 3.4, 3.5, 3.6.
- viewletmanager.viewlets should be a list so we can iterate over it several times in consumer code instead of having to remember it's an iterable we can only list once.
- Rearrange tests such that Travis CI can pick up all functional tests too.
- Python 3 compatibility.
- Make the
has_render()
andhas_no_render()
symmetrical to those in grokcore.view, grokcore.layout and grokcore.formlib, where arender.base_method
attribute is checked.
- Do not require the role extra from grokcore.security.
- Use the component registration api from grokcore.component.
- Update how the static resources are found on a
ViewletManager
and aViewlet
, following the new name__static_name__
set by the template association.
- Introduce the available() method on viewlet component. The viewlet manager will filter out unavailable viewlet by calling this method. The available() method is called after the viewlet's update() is called, but before the render() is called.
- Update to use TemplateGrokker from grokcore.view to associate viewlet and viewletmanager templates.
- The computed default value for the viewletmanager directive is now defined in the directiv itself, not as a separate function that needs to be passed along.
- Upped version requirements for martian, grokcore.component, and grokcore.view.
- Move the order directive to grokcore.component.
- Move the view directive to grokcore.view.
- Make package comply to zope.org repository policy.
- Update functional tests to use Browser implementation of zope.app.wsgi instead of zope.app.testing.
- Reduce dependencies (zope.app.pagetemplate no longer necessary).
- Dropped the dependency on
zope.app.zcmlfiles
. - Cleaned the code to remove unused imports and ensure the pep8 syntax.
- Updated tests to have a return value consistency. The grokcore.viewlet viewlet manager implementation requires viewlets to return unicode strings. Now, viewlets return unicode strings in the test packages.
- Define test requires.
- Reverted the use of grokcore.view.CodeView. We now require
grokcore.view
1.12.1 or newer. As ofgrokcore.view
1.12, the CodeView/View separation has been undone.
- Remove the reference to the grok.View permission that is no longer in grokcore.security 1.2
- Use the grok.zope.org/releaseinfo information instead of our own
copy of
versions.cfg
, for easier maintenance.
- Adapted tests to new grokcore.view release: switched from View to CodeView.
- Add grok.View permissions to functional tests (requires grokcore.security 1.1)
- Created
grokcore.viewlet
in November 2008 by factoringzope.viewlet
-based components, grokkers and directives out of Grok.