Products.zcatalog

Latest version: v7.1

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

Scan your dependencies

Page 2 of 10

6.1

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

- Improve performance of simple ``not`` queries on large catalogs.
(`124 <https://github.com/zopefoundation/Products.ZCatalog/pull/124>`_)

- Fix case where multiple indexes with similar name separated by ``_``
were interpreted as options.
(`78 <https://github.com/zopefoundation/Products.ZCatalog/issues/78>`_)

- Fix reversed sorting by multiple index by forcing the
``_sort_iterate_resultset`` sorting method when we have more than one sorting
index.
(`108 <https://github.com/zopefoundation/Products.ZCatalog/issues/108>`_)

- Add support for Python 3.10.

6.0

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

Backwards incompatible changes
++++++++++++++++++++++++++++++

- Remove deprecated ``Products.PluginIndexes.common`` module and ``Products.ZCatalog.Lazy``.
(`54 <https://github.com/zopefoundation/Products.ZCatalog/issues/54>`_)

- This version is only intend to be used in Zope >= 5.0, although it might
still work on Zope 4.

Features
++++++++

- Add new method ``searchAll`` to perform a search for all documents.

- Add support for Python 3.9.

Changes
+++++++

- Rework request caching to avoid stale cache results in scripts (with
an artificial request).
For details:
`94 <https://github.com/zopefoundation/Products.ZCatalog/issues/94>`_,
`Plone 5.2 mass migration: bad search results
<https://community.plone.org/t/potential-memory-corruption-during-migration-plone-4-2-5-2/11655/11>`_

Fixes
+++++

- Document ``getAllBrains`` and ``searchAll`` in the interface.

- Update `catalogView.dtml` to changed behavior of empty searches
(`102 <https://github.com/zopefoundation/Products.ZCatalog/issues/102>`_).

- Fix case where index value is changed to None after previously being indexed.
(`100 <https://github.com/zopefoundation/Products.ZCatalog/issues/100>`_)

5.1

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

- Fix with Python 3.8: Replace deprecated ``time.clock()`` use by
``time.process_time``.
(`96 <https://github.com/zopefoundation/Products.ZCatalog/issues/96>`_)

- Add support for ``not`` queries in the ``UUIDIndex``
(`98 <https://github.com/zopefoundation/Products.ZCatalog/issues/98>`_)

5.0.4

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

- Fix some ``DocumentTemplate`` imports to prevent DeprecationWarnings

5.0.3

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

- Fix exception when viewing `Indexes` tab when Chameleon template
engine is deactivated.
(`84 <https://github.com/zopefoundation/Products.ZCatalog/issues/84>`_)

5.0.2

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

- Fix exception happening when reindexing multiple indexes while having a
progress handler.
(`89 <https://github.com/zopefoundation/Products.ZCatalog/pull/89>`_)

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.