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.0 #10

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps duckduckgo-search from 4.4.2 to 5.0.

Release notes

Sourced from duckduckgo-search's releases.

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.

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

v4.5.0

What's Changed

  1. remove nest-asyncio, run new event loop in thread to bypass 'loop already running',
  2. DDGS._iter_over_async() - recode to use queue,
  3. AsyncDDGS.translate() - recode to AsyncGenerator, DDGS.translate() - to Generator,
  4. update requirements,
  5. update README.

v4.5.0 by @​deedy5 in deedy5/duckduckgo_search#189

Full Changelog: deedy5/duckduckgo_search@v4.4.3...v4.5.0

... (truncated)

Commits
  • 6b46884 v5.0
  • 0a88c5b using orjson if installed
  • 04dea51 AsyncDDGS.images(): bugfix - increase results list initial size to 600
  • e009b40 AsyncDDGS: add global _SHARED_EXECUTOR for using in run_in_executor
  • 2201805 DDGS: reuse shared event loop,running in thread
  • 34c388c remove 'concurrency' parameter, recode _text_html() and _text_lite()
  • 348b409 add .ruff_cache to .gitignore
  • 9e5bc76 v5.0b1
  • c0c39e3 Dependencies: update curl-cffi version to 0.6.2
  • 73f1741 _extract_vqd(): replace regex pattern with .index
  • 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.0.
- [Release notes](https://github.com/deedy5/duckduckgo_search/releases)
- [Commits](deedy5/duckduckgo_search@v4.4.2...v5.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 11, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 18, 2024

Superseded by #12.

@dependabot dependabot bot closed this Mar 18, 2024
@dependabot dependabot bot deleted the dependabot/pip/duckduckgo-search-5.0 branch March 18, 2024 02:14
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