Upgrading to 51Degrees version 4🔗

This guide details how current Version 3 customers of 51Degrees can upgrade to Version 4.

Version 4 is faster, has a smaller data file, and has an upgraded algorithm that allows better detection of new, different, and rare User-Agents. Version 4 supports Google's changes to the User-Agent and User-Agent Client Hints HTTP request headers.

The steps to upgrade will vary depending on whether you are using our Cloud or On-premise service.


V3 Cloud users🔗

Create a new Resource Key at configure.51degrees.com. You can follow our Resource Key guide. This Resource Key should contain all the properties you wish to collect data for – you can find a list of all the available properties on our property dictionary. Some advanced properties may require the purchase of a License Key. Sign up to one of our pricing plans to be granted a License Key.

If you are looking for User-Agent Client Hints support in the cloud, please follow the User-Agent Client Hints documentation.


V3 on-premise users🔗

If you wish to continue to use 51Degrees On-premise, the free Lite data file needs no License Key, but it has fewer properties and is updated monthly. Data files with every property need a License Key from the Bespoke plan, which you can ask about on our pricing page. Alternatively, you may wish to use our Cloud Service, which can be called from the server via our APIs.

Once you have received a License Key after signing up for a pricing plan, you can use the key to download a data file for On-premise implementations that contains all the properties. You can download the file manually or set up automatic data file updates.

You can download the latest API packages for your programming language via our downloads page or GitHub.

Once you have obtained your new License Key and downloaded the latest API packages and data file, see the language-specific migration guideslanguage-specific migration guides below for the next steps.

We also recommend enabling usage sharing in your environment. This allows our machine learning algorithm to grow and therefore detect new and unique User-Agents quicker with higher levels of accuracy.

If you are looking for User-Agent Client Hints support, please follow the User-Agent Client Hints documentation.

If you require any help upgrading, get in touch with Sales.


New customers🔗

If you wish to get started with 51Degrees, check out our pricing page for an overview of all our pricing tiers. You can then follow the Resource Key guide to get started in the cloud or use our On-premise documentation.

Alternatively, get in touch with our Sales team and mention your use case. Please provide as much information as possible such as intended deployment method, programming language, and environment configuration as this will help us discuss the best solution for you.


Migration guides🔗

This section describes the detailed steps for migrating from the previous 51Degrees Device detection API to either version 4 of that API or to the Pipeline API where it is available. In either case, there are breaking changes so this guide should be followed carefully to ensure no problems arise.

Overview🔗

The language that you are using is the most important factor in determining what work is required to migrate to the new API. For some languages and frameworks, such as C, Nginx, or Varnish, there is no Pipeline API so you will be migrating directly to version 4 of the Device Detection API. For other languages such as Java or .NET, you will be migrating from a pure device detection installation to the Pipeline API with a device detection plugin.

Language-specific migration steps🔗

Regardless of which API you are migrating to, there are breaking changes and new features to be aware of. See the following section for detail on the changes needed for your language of choice.

Select a language to view a language specific migration guide.