Plone-api

Latest version: v1.11.0

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

Scan your dependencies

Page 3 of 8

1.8.3

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

Bug fixes:

- Improved code quality according to isort and flake8. [maurits]

- Fixed regular expression in test for Plone version. [maurits]

1.8.2

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

Bug fixes:

- Fix test in Zope4,
where ``Products.PlonePAS.tools.memberdata.MemberData`` is an adapter now.
It can't be proofed to be equal when fetched twice.
[jensens]

- Change api.group.get_groups to work with CMF master.
[jaroel]

- Added six to deal with Python 2 / 3 compatibility.
[rudaporto]

1.8.1

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

Bug fixes:

- Don't rename an object when the id already is the target id.
Fixes `issue 361 <https://github.com/plone/plone.api/issues/361>`_.
[jaroel]

- Change content.delete to allow both obj=None and objects=[] or objects=None.
Fixes `issue 383 <https://github.com/plone/plone.api/issues/383>`_.
[jaroel]

- Let ``zope.i18n`` do the language negotiation for our ``translate`` function.
Our ``get_current_translation`` does not always give the correct one, especially with combined languages:
``nl-be`` (Belgian/Flemish) should fall back to ``nl`` (Dutch).
The correct negotiated language can also differ per translation domain, which we do not account for.
``zope.i18n`` does that better.
Fixes `issue 379 <https://github.com/plone/plone.api/issues/379>`_.
[maurits]

- Fix use of Globals.DB which was removed in Zope4 (Fix https://github.com/plone/plone.api/issues/385)
[pbauer]

1.8

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

New features:

- Add method to check if ZODB is in read-only mode.
[loechel]

- added tox.ini and code convention definitions in setup.py and .editorconfig so that they could be enforced
[loechel]

Bug fixes:

- Fixes Tests and code convention son this repository.
[loechel]

1.7

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

New features:

- Add disable_roles_acquisition and enable_roles_acquisition to api.content
[MrTango]

Bug fixes:

- Simplify the ``plone.api.content.delete`` method.
[thet]

- content.copy with safe_id=False should raise it's own exeception. Fixes 340
[jaroel]

1.6.1

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

Bug fixes:

- Simplify delete and transition functions.
[adamcheasley]

- Do not reassign dynamic roles as local roles when using user.grant_roles().
Fixes same issue as 351 for groups.
[pbauer]

- Include local roles granted from being in a group when using "inherit=False"
in user.get_roles. Fixes 346
[pbauer]

- Ignore local roles granted on parents when using "inherit=False" in either
user.get_roles or group.get_roles. Fixes 354
[pbauer]

- Fix title wrongly set by ``api.content.create`` when called from GS setup
handler https://github.com/plone/plone.api/issues/99
[gotcha, pgrunewald]

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.