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

Update dependency fake-useragent to v2 #691

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fake-useragent ^1.4.0 -> ^2.0.0 age adoption passing confidence

Release Notes

fake-useragent/fake-useragent (fake-useragent)

v2.0.3

Compare Source

Full Changelog: fake-useragent/fake-useragent@2.0.2...2.0.3

v2.0.2

Compare Source

Sync latest docs to PyPi. See the 2.0.0 release below for all the changes that are in v2.0.0!!

Full Changelog: fake-useragent/fake-useragent@2.0.1...2.0.2

v2.0.1

Compare Source

Small patch release after v2.0.0, by adding a requires-python line to the toml file. We only support Python 3.9 or newer.

What's Changed

New Contributors

Full Changelog: fake-useragent/fake-useragent@2.0.0...2.0.1

v2.0.0

Compare Source

fake-useragent v2.0.0

Finally, we successfully switched (again) to a new data source from Intoli, which allows us to have much more user-agent strings again. Thank you all for your support!

Important: Keep in mind that v2.0.0 does have some breaking changes like platform type "pc" value is now changed to "desktop" (in case you were using this). See below for all breaking changes!

Breaking changes

  • OS and browser options are now case sensitive!!
  • Possible browser options are: ["Google", "Chrome", "Firefox", "Edge", "Opera"," Safari", "Android", "Yandex Browser", "Samsung Internet", "Opera Mobile", "Mobile Safari", "Firefox Mobile", "Firefox iOS", "Chrome Mobile", "Chrome Mobile iOS", "Mobile Safari UI/WKWebView", "Edge Mobile", "DuckDuckGo Mobile", "MiuiBrowser", "Whale", "Twitter", "Facebook", "Amazon Silk"]
  • Most browser strings are case-sensitive, except for some common browsers like firefox, edge, chrome, opera, safari. In these cases you will receive both mobile and non-mobile user-agent strings by default.
  • Platforms types (if specified) allowed options are: ["desktop", "mobile", "tablet"] (no pc anymore)
  • Possible OS options are now increased to the following list: ["Windows", "Linux", "Ubuntu", "Chrome OS", "Mac OS X", "Android", "iOS"]. And again case sensitive.

Improved

  • min_percentage option works again! And uses the percent field of the user-agent data

Please read the README for more examples and options.

What's Changed

New Contributors

Full Changelog: fake-useragent/fake-useragent@1.5.1...2.0.0

v1.5.1: 📦

Compare Source

Fix: Remove trailing spaces in user agent strings

What's Changed

Full Changelog: fake-useragent/fake-useragent@1.5.0...1.5.1

v1.5.0: 📦

Compare Source

Most important change: The user-agent database has been updated with a more recent list of user agents. It also now comes with mobile UA's, meaning a new parameter: platforms has been introduced (see README.md).

The only down-side is that this new data source didn't contain any usage data, meaning min_percentage is not useful anymore. Despite which min_percentage value you set, fake-useragent always return all data records for backwards compatibility reasons.

What's Changed

New Contributors

Full Changelog: fake-useragent/fake-useragent@1.4.0...1.5.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from JaneJeon December 27, 2024 01:27
@renovate renovate bot force-pushed the renovate/fake-useragent-2.x branch 6 times, most recently from ef71171 to 3500e4a Compare December 30, 2024 21:52
@renovate renovate bot force-pushed the renovate/fake-useragent-2.x branch from 3500e4a to 5e04564 Compare January 1, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants