Z3c-form

Latest version: v4.2

Safety actively analyzes 638430 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

2.4.4

------------------

- Remove unneeded dependency on deprecated ``zope.app.security``.

- Fixed ButtonActions.update() to correctly remove actions when called again,
after the button condition become false.

2.4.3

------------------

- Declare TextLinesFieldWidget as an IFieldWidget implementer.

- Clarify MultiWidget.extract(), when there are zero items,
this is now [] instead of <NO_VALUE>

- Some typos fixed

- Fixed test failure due to change in floating point representation in Python
2.7.

- Ensure at least min_length widgets are rendered for a MultiWidget in input
mode.

- Added Japanese translation.

- Added base of Czech translation.

- Added Portuguese Brazilian translation.

2.4.2

------------------

- Adjust test for the contentprovider feature to not depend on the
ContentProviderBase class that was introduced in zope.contentprovider 3.5.0.
This restores compatibility with Zope 2.10.

- Security issue, removed IBrowserRequest from IFormLayer. This prevents to
mixin IBrowserRequest into non IBrowserRequest e.g. IJSONRPCRequest.
This should be compatible since a browser request using z3c.form already
provides IBrowserRequest and the IFormLayer is only a marker interface used
as skin layer.

- Add English translation (generated from translation template using
msgen z3c.form.pot > en/LC_MESSAGES/z3c.form.po).

- Added Norwegian translation, thanks to Helge Tesdal and Martijn Pieters.

- Updated German translation.

2.4.1

Not secure
------------------

- Since version 2.3.4 ``applyChanges`` required that the value exists
when the field had a ``DictionaryField`` data manager otherwise it
broke with an ``AttributeError``. Restored previous behavior that
values need not to be exist before ``applyChanges`` was called by
using ``datamanager.query()`` instead of ``datamanager.get()`` to
get the previous value.

- Added missing dependency on ``zope.contentprovider``.

- No longer using deprecated ``zope.testing.doctest`` by using
python's built-in ``doctest`` module.

2.4.0

Not secure
------------------

- Feature: mix fields and content providers in forms. This allow to enrich
the form by interlacing html snippets produced by content providers.
Adding html outside the widgets avoids the systematic need of
subclassing or changing the full widget rendering.

- Bug: Radio widget was not treating value as a list in hidden mode.

2.3.4

Not secure
------------------

- Bugfix: applyChanges should not try to compare old and new values if the old
value can not be accessed.

- Fix DictionaryField to conform to the IDataManager spec: get() should raise
an exception if no value can be found.

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.