Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump duckduckgo-search from 4.4.2 to 5.1.0 #12

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2024

Bumps duckduckgo-search from 4.4.2 to 5.1.0.

Release notes

Sourced from duckduckgo-search's releases.

v5.1.0

What's Changed

Full Changelog: deedy5/duckduckgo_search@v5.0...v5.1.0

v5.0

What's Changed

  1. [BREAKING CHANGES] DDGS, AsyncDDGS : all functions are now not generators, but return a list of dictionaries
  2. Results return is dramatically sped up by asynchronous requests under the hood, especially for large max_results values
  3. DDGS: reuse shared event loop,running in thread
  4. AsyncDDGS: add global _SHARED_EXECUTOR for using in run_in_executor
  5. maps(): removed MapsResult model, results are saved directly by the dictionary
  6. maps(): divide bbox only if distance between coordinates > 1km
  7. _extract_vqd(): replace regex pattern with .index
  8. text(): simplify xpath patterns in _text_html() and _text_lite()
  9. using orjson if installed
  10. update CLI and tests to keep up with the changes
  11. update dependencies: curl-cffi to 0.6.2, ruff to 0.3.0

Full Changelog: deedy5/duckduckgo_search@v4.5.0...v5.0

v5.0b1

  1. AsyncDDGS, DDGS: remove max_clients parameter (unclear behavior).
  2. AsyncDDGS, DDGS: add concurrency parameter to limit the number of concurrent requests (using asyncio.Semaphore).
  3. AsyncDDGS.maps(): add squares into queue only if distance between coordinates > 1km.
  4. AsyncDDGS.maps(): bugfix exception when work_bboxes_results element is a dict.
  5. _extract_vqd(): replace regex pattern with .index().
  6. Update dependencies: curl-cffi to 0.6.2. ruff to 0.3.0.

Full Changelog: deedy5/duckduckgo_search@v5.0b...v5.0b1

v5.0b

What's Changed

  1. [BRAKING CHANGES!!!] DDGS, AsyncDDGS : all functions are now not generators, but return results as a list of dictionaries,
  2. DDGS, AsyncDDGS: added max_clients parameter to regulate the number of concurrent HTTP clients.
  3. DDGS, AsyncDDGS: added possibility to use without context manager (it is not necessary to use with block).
  4. Results return is dramatically sped up by asynchronous requests under the hood, especially for large max_results values.
  5. maps(): removed MapsResult model, results are saved directly by the dictionary.
  6. updated CLI and tests to keep up with the changes.
  7. updated README.

... (truncated)

Commits
  • 2a96477 v5.1.0
  • 9c72db0 BUGFIX: _text_api() - update request payload (api blocks requests)
  • 2346f7b AsyncDDGS()._get_executor(max_workers=1), because >=2 lead to a big overhead
  • e400583 AsyncDDGS.init(): add 'self._parser' for reuse lxml HtmlParser within cla...
  • ebefde6 utils.py: _is_500_in_url() - decorate with lru_cache
  • 013636a AsyncDDGS: make _executor class variable
  • 05b82bd DDGS: make _loop class variable
  • e02c4ae AsyncDDGS.news(): remove 'if image_url else None'
  • cfc1361 maps(): raise exception if coordinates are not found
  • 21d4774 Add mypy type-checking, recode to comply (#193)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [duckduckgo-search](https://github.com/deedy5/duckduckgo_search) from 4.4.2 to 5.1.0.
- [Release notes](https://github.com/deedy5/duckduckgo_search/releases)
- [Commits](deedy5/duckduckgo_search@v4.4.2...v5.1.0)

---
updated-dependencies:
- dependency-name: duckduckgo-search
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Mar 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2024

Superseded by #14.

@dependabot dependabot bot closed this Apr 1, 2024
@dependabot dependabot bot deleted the dependabot/pip/duckduckgo-search-5.1.0 branch April 1, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants