Releases: cfpb/ccdb5-api
Releases · cfpb/ccdb5-api
Update dependencies and add support for Django 4.2
Merge pull request #207 from cfpb/django42 Update dependencies and support Django 4.2
Drop support for Django<3.2, repo fixes
What's Changed
- Added editorconfig, black, flake8, isort, pre-commit by @jslay-excella in #189
- Fix flake8 configuration by @chosak in #195
- Deprecate Django support before version 3.2 by @chosak in #196
- Use Python 3.8 to build releases by @chosak in #197
Full Changelog: 1.6.6...1.7.0
Batch pagination
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
- 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
Merge pull request #184 from cfpb/add-cache-tag Add a complaints cache tag to the api views
Remove outdated Elasticsearch env vars
Remove use of env vars ES7_HOST and COMPLAINT_DOC_TYPE
Convert elasticsearch7 imports to elasticsearch
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
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
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
Added support for Django 3.2