Skip to content

Breaking changes between 3.11.8 and 3.12.2 #6152

@webmake

Description

@webmake

Hello,

I wanted to update package from 3.11.8 up to 3.12.2 but noticed by already parsed UA database, 570 missmatches, and for example
Mozilla/5.0 (Linux; Android 6.0.1) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Web Explorer/2.6.1 Chrome/74.0.3729.157 Mobile Safari/537.36
on 3.11.8 getDeviceName() was smartphone
now on 3.12.2 getDeviceName() gives ""

another sample:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.2 Chrome/67.0.3396.87 Safari/537.36
on 3.11.8 getDeviceName() was desktop
now on 3.12.2 getDeviceName() gives ""

Mozilla/5.0 (Linux; Android 8.1.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/72.0.3626.76 Mobile Safari/537.36
on 3.11.8 getDeviceName() was smartphone
now on 3.12.2 getDeviceName() gives ""

This is pairs how changed:

-'smartphone' (old)
+'phablet' (new)

-'' (old)
+'smartphone' (new)

-'smartphone' (old)
+'tablet' (new)

-'tablet' (old)
+'phablet' (new)

-'tablet' (old)
+'' (new)

-'smartphone' (old)
+'' (new)

-'tablet' (old)
+'smartphone' (new)

-'phablet' (old)
+'smartphone' (new)

-'desktop' (old)
+'' (new)

-'' (old)
+'desktop' (new)

-'' (old)
+'console' (new)

I dont't worry about smartphone ->tablet and similar conversions, neither about empty which will be filled after upgrade, but worried about resets such as
'tablet' (old) -> '' (new)
'smartphone' (old) ->'' (new)
'desktop' (old) -> '' (new)

If you need additional samples, I can attach

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions