Note: Triggers full index rebuild
I’m happy to announce the release of Yente 4.5.0 with a few new features and the usual bag of dependency upgrades. This release includes the following new features:
- a new
auth_token
parameter to set on catalogs in the manifest. This token (which can also be set from an environment variable) will be sent in theAuthorization
header in all requests for the catalog and its dataset files.- This mechanism replaces the
DATA_TOKEN
environment variable (which sets theAuthentication
header). This mechanism is now deprecated and will be removed in a future version of Yente. If you’re using this, please migrate toauth_token
instead.
- This mechanism replaces the
- The
/match
endpoint now has aexclude_entity_ids
parameter that allows callers to exclude some entities from matching. This may be useful if you’re doing periodic screening of the same entities and have decided that a match is a false-positive and want it to be excluded from matching completely.
Further, the release includes the following improvements & changes worth noting:
- Entities are now retrieved from the search index with stable ordering during search and match queries. This produces reproducible match results in cases where all match candidates equally ranked in terms of relevance, often because of an overly broad query (like “LLC”, “John”) matching too many entities. It does not, in itself, improve the quality of candidates that will be retrieved.
- The usual round of dependency upgrades, including the cryptography package from 45.0.3 to 45.0.5
Full Commit Log
- Bump index and app version by @jbothma in #764
- Bump aiohttp[speedups] from 3.12.9 to 3.12.12 by @dependabot in #767
- Bump cryptography from 45.0.3 to 45.0.4 by @dependabot in #768
- Bump aiohttp[speedups] from 3.12.12 to 3.12.13 by @dependabot in #771
- Gracefully handle missing entity_id field while index rebuild adds it by @jbothma in #772
- Bump fastapi from 0.115.12 to 0.115.13 by @dependabot in #776
- Refactor data/manifest.py to be less side-effecty by @leonhandreke in #778
- Update pytest-asyncio requirement from <1.0.0,>=0.25.0 to >=0.25.0,<2.0.0 by @dependabot in #770
- Bump pytest from 8.4.0 to 8.4.1 by @dependabot in #774
- Allow setting auth token per catalog by @leonhandreke in #777
- Bump fastapi from 0.115.13 to 0.115.14 by @dependabot in #781
- Add exclude_entity_ids param to /match by @leonhandreke in #783
- Bump fastapi from 0.115.14 to 0.116.0 by @dependabot in #789
- Bump cryptography from 45.0.4 to 45.0.5 by @dependabot in #787
- Bump uvicorn[standard] from 0.34.3 to 0.35.0 by @dependabot in #785
- Implement env var expansion for auth_token in manifest by @leonhandreke in #788
Full Changelog: v4.4.0…v4.5.0
GitHub Release: Release v4.5.0 · opensanctions/yente · GitHub