Bug fixes:
- Remove setuptools fossils. [maurits] (#72)
Tests
- Fix test in combination with lxml 5+ due to namespace changes. In this example, an xpath /html/body/include cannot be found because lxml 5 sees it as /html/body/esi:include, but this cannot easily be used as an xpath. [maurits] (#87)
Breaking changes:
- Drop support for Pythons that are end of life. Support Python 3.8-3.12. [maurits] (#23)
Internal:
- Update configuration files. [plone devs] (5d3e918e)
New features:
- Remove dependency on future package. [petschki] (#85)
Bug fixes:
- Remove FormEncode test dependency. [maurits] (#83)
Bug fixes:
- Fix problems with tox4 and simplify tox and test setup. [loechel] (#80)
New features:
- Drop support for Python 3.4. No code changes. [maurits] (#78)
New features:
- Add support for Python 3.8 [pbauer] (#77)
Bug fixes:
- Avoid a ResourceWarning. [gforcada] (#75)
Bug fixes:
- Fix unicode errors in tests [petschki]
Bug fixes:
- Fix diazo.debug console with Python 2.7. [pbauer]
Bug fixes:
- Add compatibility for plone.app.testing for Python 3. [icemac]
Bug fixes:
- Make tox env release check manifest before releasing [loechel]
Bug fixes:
- Fix packaging error. [esteele]
Bug fixes:
- Code Cleanup and enforcing Code Conversions [loechel]
Bug fixes:
- Fix test with webob 1.7 [davisagli]
New features:
- only add absolute prefix for xlink:href attributes if url doesn't start with a '#' (use anchor_safe_urljoin) [huubbouma]
New:
- Add absolute url prefix to xlink:href attributes [krissik]
New:
- Allowed content-to-content inclusion. [elro, ebrehault]
- Absolute prefix support for srcset attributes [huubbouma]
- Extend cssselect instead of using experimental.cssselect [elro]
- Allow inline content for after and before. [ebrehault, elro]
- Fixed issue with remote themes via https connections [loechel]
- Make flake8 happy by moving imports to top of file. [elro]
- Python 3 support. [regebro, elro]
- Use formencode's xml_compare method to compare test results. This solves test failures on several systems. [timo]
- Also evaluate if-not-content. However, we are at risk of replicating apply-conditions.xsl in it's entirety. this needs refactoring. [lentinj]
- Remove any xml:lang attribute from content to prevent multiple xml:lang attributes when the html tag's attributes are copied. [danjacka]
- Escape curly brackets on theme attributes. [TracyWebTech]
- Provide the request's query string as the
$query_string
variable for use in the rules file. [davidjb] - Fix
diazo.scheme
definition to be correct. Previously, this was defined asrequest.host
. [davidjb]
- Support selectors matching multiple elements for merge attributes, e.g.
<merge attributes="class" css:theme="body" css:content="#one, #two"/>
[elro] - Also evaluate merged-condition. This means a rule tag will turn red when a condition on an outer rules tag doesn't match. [lentinj]
- use boolean(), not count() for if-content. Otherwise we generate expressions like "count(nodeset and other_nodeset)", which aren't valid. [lentinj]
- Output contents of error log as part of debugging output [lentinj]
- Debugging output. [lentinj]
- Don't close the response unless Diazo is transforming it. [mitchellrj]
- fix error caused by empty style tag e.g. <style/> [djay]
- Handle error when serializing empty responses by returning an unthemed response. Previously, empty text/html responses resulted in an raised exception, resulting in a 500 response and no output. [davidjb]
- Allow attributes (i.e. xml:id) to pass through on drop @attribute nodes [lentinj]
- Fixed to not apply absolute prefix for relative urls starting with '#'. [datakurre]
- Preserve resolvers in the rules document when updating from an old namespace.
- Add javascript / css include support to WSGIResolver.
- Refactoring if WSGI middleware to use WebOb better and fix corner cases.
- Use same xpath prefix for css:if-not-content and css:if-content.
- Add support for @if-not-path.
Note: for older changes, see docs/changelog.rst
.