automattic/jetpack-device-detection
A way to detect device types based on User-Agent header.
v3.4.5
222K downloads/mo
#4242 most downloaded on Packagist
Automattic/jetpack-device-detection
What this package is like to depend on
Last release 2 months ago
15 Jun 2026
Release timing varies
gaps range from 9 days to 3 months
Nearly every release is documented
notes for 65 of 66 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
66 releases · first in 2020
10 releases in the last 12 months
see the full history below
Release timeline
66 releases · Jun 2020 to Jun 2026Releases
latest 60 of 66-
v3.4.515 Jun 2026Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/27544773912
Upstream-Ref: Automattic/jetpack@aab80c4
-
v3.4.408 Jun 2026Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/27124637535
Upstream-Ref: Automattic/jetpack@7ce5304
-
v3.4.305 Jun 2026Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/27017582684
Upstream-Ref: Automattic/jetpack@7035045
-
v3.4.219 May 2026Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/26087355782
Upstream-Ref: Automattic/jetpack@2894445
-
v3.4.104 May 2026Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/25329403874
Upstream-Ref: Automattic/jetpack@6691fb7
Release notes
Open source →Changed
- Internal: No longer require automattic/jetpack-changelogger as a per-project dev dependency. [#48225]
-
v3.4.002 Feb 2026Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/21590426463
Upstream-Ref: Automattic/jetpack@5932b2b
Release notes
Open source →Added
- Add is_agent() method for detecting bots, AI assistants, and programmatic HTTP clients. [#46803]
-
v3.3.003 Nov 2025Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/19028531892
Upstream-Ref: Automattic/jetpack@4e3403c
Release notes
Open source →Added
- Add a method that returns the browser display name. [#45674]
Changed
- Update bot detection list to include new AI and LLM crawler oriented bots. [#45695]
-
v3.2.028 Oct 2025Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/18880360352
Upstream-Ref: Automattic/jetpack@03d25fc
Release notes
Open source →Changed
- Improved user agent string parsing functionality and added browser detection for six more browsers (Samsung Internet, UC, Yandex, Vivaldi, MIUI, Amazon Silk) [#45632]
-
v3.1.127 Oct 2025Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/18830864082
Upstream-Ref: Automattic/jetpack@d26d6a4
-
v3.1.010 Oct 2025Release notes
Open source →Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/18410244704
Upstream-Ref: Automattic/jetpack@75523eb
-
v3.0.927 Jun 2025 -
v3.0.809 Jun 2025Release notes
Open source →Fixed
- Tests: Ensure method param count matches PHPUnit data providers. [#43828]
-
v3.0.706 Jun 2025 -
v3.0.628 Apr 2025 -
v3.0.521 Mar 2025 -
v3.0.417 Mar 2025 -
v3.0.312 Mar 2025 -
v3.0.205 Mar 2025 -
v3.0.124 Feb 2025 -
v3.0.014 Nov 2024 -
v2.1.604 Nov 2024 -
v2.1.516 Sep 2024Release notes
Open source →Changed
- Device_Detection::get_info() will now memoize its result [#39338]
-
v2.1.423 Aug 2024 -
v2.1.308 Apr 2024Release notes
Open source →Added
- Added functionality for extracting the browser and desktop platform from a user agent. [#36568]
Changed
- Add new bots. [#36477]
-
v2.1.218 Mar 2024 -
v2.1.114 Mar 2024 -
v2.1.022 Feb 2024 -
v2.0.121 Nov 2023 -
v2.0.020 Nov 2023 -
v1.5.114 Nov 2023Nothing published for this version
-
v1.5.013 Nov 2023Release notes
Open source →Added
- Added 'cookieinformationscanner' and 'facebookexternalhit' to the bot user agent list. [#34026]
-
v1.4.2723 Aug 2023 -
v1.4.2612 Jun 2023 -
v1.4.2510 Apr 2023 -
v1.4.2420 Feb 2023 -
v1.4.2311 Jan 2023 -
v1.4.2202 Dec 2022 -
v1.4.2122 Nov 2022Release notes
Open source →Added
- Add a guard in
functions.phpagainst being loaded twice from different copies of the package. [#27475]
Changed
- Updated package dependencies. [#27043]
- Add a guard in
-
v1.4.2007 Nov 2022Release notes
Open source →Fixed
- Ensure that User_Agent is loaded in environments without autoload enabled. (e.g.: WordPress.com and Super Cache) [#27223]
-
v1.4.1925 Oct 2022Release notes
Open source →Changed
- Update
wp_unslashwrapper to possibly run on wpcom before WordPress is loaded. [#26971]
- Update
-
v1.4.1826 Jul 2022 -
v1.4.1721 Jun 2022 -
v1.4.1626 Apr 2022 -
v1.4.1519 Apr 2022 -
v1.4.1429 Mar 2022 -
v1.4.1309 Feb 2022 -
v1.4.1225 Jan 2022 -
v1.4.1104 Jan 2022 -
v1.4.1014 Dec 2021 -
v1.4.916 Nov 2021 -
v1.4.802 Nov 2021Release notes
Open source →Changed
- Set
convertDeprecationsToExceptionstrue in PHPUnit config. - Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't.
- Set
-
v1.4.719 Oct 2021 -
v1.4.613 Oct 2021 -
v1.4.512 Oct 2021 -
v1.4.428 Sep 2021 -
v1.4.331 Aug 2021Release notes
Open source →Changed
- Run composer update on test-php command instead of phpunit.
- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills).
- Updated versions in annotations.
-
v1.4.225 May 2021 -
v1.4.127 Apr 2021 -
1.4.030 Mar 2021Release notes
Open source →Added
- Added Opera Desktop detection
- Composer alias for dev-master, to improve dependencies
Changed
- Update package dependencies.
Fixed
- Use
composer updaterather thaninstallin scripts, as composer.lock isn't checked in.
-
v1.3.205 Feb 2021