Skip to content

Releases: cfpb/ccdb5-api

Update dependencies and add support for Django 4.2

06 Mar 16:33
3c83d88
Compare
Choose a tag to compare
Merge pull request #207 from cfpb/django42

Update dependencies and support Django 4.2

Drop support for Django<3.2, repo fixes

31 Jan 17:25
01334f5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.6...1.7.0

Batch pagination

17 Feb 20:32
2cc3f0d
Compare
Choose a tag to compare

Implement progressive batch pagination, which lets most searches get by with paginating only 200 results, and paginating deeper only on demand, via the "Next" button.

Reduce pagination depth

10 Feb 18:35
ea5c7f3
Compare
Choose a tag to compare
  • Paginate to 1K hits instead of 10K
  • Fix off-by-1 error that left off the last paginated page

Add cache tags to API responses

18 Jan 14:14
dbf6e4a
Compare
Choose a tag to compare
Merge pull request #184 from cfpb/add-cache-tag

Add a complaints cache tag to the api views

Remove outdated Elasticsearch env vars

08 Nov 18:21
8174b71
Compare
Choose a tag to compare

Remove use of env vars ES7_HOST and COMPLAINT_DOC_TYPE

Convert elasticsearch7 imports to elasticsearch

27 Sep 17:23
0310e52
Compare
Choose a tag to compare

Now that all consumerfinance.gov apps are using Elasticsearch 7, we no longer need to import the custom elasticsearch7 library.

Refactor ccdb API for Elasticsearch 7

20 Aug 15:16
13f4ea2
Compare
Choose a tag to compare

This change should have little effect on search users, but it is a significant code update. Among the changes:

  • Implements a new pagination method based on Elasticsearch's "search_after" values.
  • Preserve accurate counts when searches return more than 10,000 hits, adapting to an Elasticsearch API change.
  • Handles breaking changes to aggregation sizes.

Refactor API to use Elasticsearch 7.9

03 Aug 20:19
92a4c78
Compare
Choose a tag to compare

This change should have little effect on search users, but it is a significant code update. Among the changes:

  • Implements a new pagination method based on Elasticsearch's "search_after" values.
  • Preserve accurate counts when searches return more than 10,000 hits, adapting to an Elasticsearch API change.
  • Handles breaking changes to aggregation sizes.

Support Django 3.2

09 Jul 15:34
6973363
Compare
Choose a tag to compare

Added support for Django 3.2