Products.zcatalog

Latest version: v7.1

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

Scan your dependencies

Page 4 of 10

4.1

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

- Add new precision property to date and date range indexes.
This lets you index more coarse grained time values instead of the
default one minute based time resolution.

- Add new `getAllBrains` method to the ZCatalog, returning a generator
of brains for all cataloged objects. You can use this if you relied
on `searchResults` returning all brains for empty queries before
version 4.0a2.

- Fix logging issue in KeywordIndex.

4.0.1

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

- Fix a bug in the BooleanIndex where documents without an entry in
the index were not being filtered out in all queries.

- More PEP8 compliance.

4.0.0

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

- Python 3 compatibility

- Target use with Zope 4: no longer support 2.13.x.

- `five.globalrequest` got merged into Zope2 itself.

- Use aq_inner before aq_parent at some places to safely get the parent.

4.0a3

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

- 19: Fix stale cache results after clearing an index.

- Use `implementer` class decorator.

- Add `__contains__` method to ZCatalogIndexes, fixes zopefoundation/Zope69.

- Raise BadRequest instead of returning MessageDialog.

4.0a2

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

- Move PluginIndexes.common.UnIndex module to PluginIndexes.unindex.

- Remove unused `Products.PluginIndexes.common.ResultList` and
`randid` modules.

- Merge in the ZCTextIndex code.

- Extend IQueryIndex interface to handle operator parsing.

- Add new IQueryIndex interface for indices. This introduces a new
`query_index` method on each index with a simplified contract compared
to `_apply_index`. The responsibility for parsing and skipping the query
has moved into the catalog, and the return value no longer has to be
a tuple of (result, used_attributes), as the later wasn't used by the
catalog.

- Rename `parseIndexRequest` to `IndexQuery` and move it to `ZCatalog.query`.

- Remove unused ZMI icons.

- Remove deprecated Catalog(Path)Awareness modules.

- Remove CatalogSearchArgumentsMap and support for using requests
objects as queries.

- Empty catalog queries now return no results.

- No longer special-case empty strings in catalog queries.

- Add new CompositeIndex index type.

4.0a1

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

- Moved `Products.ZCatalog.Lazy` module to `ZTUtils.Lazy`.

- Add configure.zcml with deprecatedManageAddDelete directives.

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.