* Running pyproject-fmt * Update bundled user agents file * Add SPDX license identifier * Add Python 3.13 to test matrix OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=27
168 lines
6.9 KiB
Plaintext
168 lines
6.9 KiB
Plaintext
-------------------------------------------------------------------
|
|
Sun Jul 13 12:18:35 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 2.2.0:
|
|
* Running pyproject-fmt
|
|
* Update bundled user agents file
|
|
* Add SPDX license identifier
|
|
* Add Python 3.13 to test matrix
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Apr 8 10:31:46 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
|
|
|
- Update to 2.1.0
|
|
* Speedup ua_convert parser by @sebastian-correa in #424
|
|
* Check for dunder attributes in FakeUserAgent.getattr() and
|
|
make safe_attrs = ['shape'] by default by @rjys365 in #454
|
|
- Release 2.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.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Sep 26 18:44:11 UTC 2024 - Guang Yee <gyee@suse.com>
|
|
|
|
- Enable sle15_python_module_pythons.
|
|
- Disable test_utils_load_pkg_resource_fallback test case because
|
|
of pkg_resource and setuptools incompatibility.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Mar 18 10:39:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.5.1:
|
|
* Remove trailing spaces in user agent strings
|
|
- update to 1.5.0:
|
|
* 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).
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Dec 2 14:16:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.4.0:
|
|
* python 3.12 support
|
|
* Introducing new `ua.getRandom`, `ua.getFirefox`,
|
|
`ua.getChrome`, `ua.getSafari`. And a generic method:
|
|
`ua.getBrowser(..)` (eg. `getBrowser('firefox')`)
|
|
These new properties above allows you to retrieve the whole
|
|
raw Python dictionary, instead of only the UA string.
|
|
These properties might return different key/values pairs in
|
|
the future! So `ua.random` is a more stable interface.
|
|
* Improved user-agent scraper (now also containing Safari
|
|
browser again)
|
|
* Updated browsers.json data file
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Aug 8 10:59:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.2.1:
|
|
* Still using the new dataset of course!
|
|
* Small improvements in the min_percentage check
|
|
* Update all Pip package dependencies
|
|
* Updated browser useragent data 🚀
|
|
* Allow filters on browser, OS and usage percentage 🚀
|
|
* Update the cache scraper to scape the new data source for
|
|
user-agent strings
|
|
* Adapted the code to work with the new JSON data format
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Apr 19 09:46:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.1.3:
|
|
* Update deps
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Feb 9 17:10:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.1.2:
|
|
* security update
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jan 2 16:00:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.1.1:
|
|
* Remove white spaces from user agent strings, this is a patch release
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Dec 6 03:26:51 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
|
|
|
- Update to v1.1.0
|
|
* Add pkg_resource as fallback mechanism in trying to retrieve the local JSON data file
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Nov 18 23:13:12 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
- Update to v1.0.1
|
|
* Add importlib-metadata & importlib-resources as dependencies
|
|
* Check on specific Python version regarding the importlib resources
|
|
(python v3.10 or higher) in order to have files() working
|
|
* importlib_metadata should now also work on Python version before 3.8
|
|
* Remove obsolete MANIFEST.in file
|
|
- from v1.0.0
|
|
* Make the JSON Lines data file part of the Python package,
|
|
data is retrieved locally
|
|
* Extend the myproject.toml file with package-data support
|
|
* Remove centralized caching server implementation
|
|
* Make real unit-tests which should run reliable, fast, independent
|
|
and without Internet connection
|
|
- from v0.1.14
|
|
* Improve code quality standards using modern Python >=3.7 syntax
|
|
* Migrated to pyproject.toml build system format + syntax check
|
|
* Add additional classifiers to the toml file
|
|
* Improved tox.ini file
|
|
* Improved GitHub Actions job using pip cache
|
|
* And various small fixes
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 3 23:14:45 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
- Re-activate test suite
|
|
- Update to v0.1.13
|
|
* Implement browsers argument, allowing you to override the browser
|
|
names you want to use
|
|
* Fix browser listing of Internet Explorer and Edge
|
|
* Don't depend on w3schools.com anymore
|
|
* Clean-up data (temp) file format
|
|
* Update fallback cache server URL / use JSON Lines as file format
|
|
* Move to GitHub Actions instead of Travis
|
|
* Using black Python formatter in favour of Flake
|
|
- from v0.1.12
|
|
* Project moved to https://github.com/fake-useragent/fake-useragent
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Sep 15 10:31:22 UTC 2021 - pgajdos@suse.com
|
|
|
|
- %check: note tests are online, do not run them
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 4 00:40:32 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
|
|
|
- Initial version for v0.1.11
|