Collective.watcherlist

Latest version: v3.1.0

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

Scan your dependencies

Page 1 of 2

4.0.0a1

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

Breaking changes:


- Update for Plone 5.2 and 6.0, Python 3 only.
Drop support for older versions.
[thet, ale-rt, maurits] (14)


Internal:


- Update configuration files.
[plone devs]


Changelog
=========

3.1.1

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

- Nothing changed yet.

3.1.0

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

- Don't test with Plone 4.1, 4.2 or Python 2.6 anymore.
It should still work, but I don't want to spend time fixing the build on Travis.
[maurits]

3.0.1

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

- Declare ``zope.formlib`` dependency. [maurits]

3.0

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

- Pass ``immediate=False`` by default. This used to be ``True``. The
original idea was to send emails immediately, so that we could catch
any errors ourselves and continue with a warning. But since Plone
4.1 the emails are by default sent at the end of the transaction,
and exceptions are caught. For immediate mails they are not caught
there. So for our uses cases it makes most sense to not send emails
immediately, as then Plone does what we want already. You can still
pass ``immediate=True`` to ``mailer.simple_send_mail`` or now also
to ``watchers.send`` if you want the old behavior back.
This fixes `issue 8 <https://github.com/collective/collective.watcherlist/issues/8>`_.
[maurits]

- Check ``allow_recursive`` on the watcher list. The default value is
true, which gives the same behavior as before. When the value is
false, the ``addresses`` property only looks for watchers on the
current item, not on the parent. A sample usage would be in
Products.Poi to only allow recursive if an issue is not yet
assigned. (I am going to use this in custom code for a client).
[maurits]

- Strip the email address that we get from a member or the site.
I have a site where some email addresses are ``testexample.org\r\n``,
which gives an error when sending.
[maurits]

2.0

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

- Removed backwards compatibility code for Plone 3.3 and 4.0. We
already were not testing on 3.3 anymore, and 4.0 is too hard to keep
working too. [maurits]

- Fixed Plone 5 email sending. Improved code quality. Fixed Travis tests. [maurits]

- When the internal watchers list is of type list (instead of tuple),
make sure its updated when toggling a watcher [skurfer]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.