Products.zcatalog

Latest version: v7.1

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

Scan your dependencies

Page 9 of 10

2.13.8

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

- Fixed bug in date range index, which would omit objects exactly matching the
query term if a resultset was provided.

- Fixed the BooleanIndex to not index objects without the cataloged attribute.

2.13.7

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

- Fixed the `DateIndex._unindex` to be of type `IIBTree` instead of `OIBTree`.
It stores document ids as keys, which can only be ints.

2.13.6

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

- Remove docstrings from various methods, as they shouldn't be web-publishable.

2.13.5

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

- Fixed test failures introduced in 2.13.4.

2.13.4

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

- Added a new UUIDIndex, based on the common UnIndex. It behaves like a
FieldIndex, but can only store one document id per value, so there's a 1:1
mapping from value to document id. An error is logged if a different document
id is indexed for an already taken value. The internal data structures are
optimized for this and avoid storing one IITreeSet per value.

- Optimize sorting in presence of batching arguments. If a batch from the end
of the result set is requested, we internally reverse the sorting order and
at the end reverse the lazy sequence again. In a sequence with 100 entries,
if we request the batch with items 80 to 90, we now reverse sort 20 items
(100 to 80), slice of the first ten items and then reverse them. Before we
would had to sort the first 90 items and then slice of the last 10.

- If batching arguments are provided, limit the returned lazy sequence to the
items in the required batch instead of returning leading items falling
outside of the requested batch.

- Fixed inline `IISet` to `IITreeSet` conversion code inside DateRangeIndex'
`_insertForwardIndexEntry` method.

2.13.3

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

- Avoid locale-dependent test condition in `test_length_with_filter`.

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.