Releases: 51Degrees/Java-Device-Detection
Releases · 51Degrees/Java-Device-Detection
v3.1.8.4
Changes in version 3.1.8.4:
- Added several methods to pre-load data on the Dataset object:
initSignatures()
initNodes()
initProfiles()
initComponents()
initProperties()
initValues()
initSignatureRanks() - Added iterators classes, StreamVariableListIterator and StreamFixedListIterator. These fixed a NotSupportedOperation exception on some Dataset collections when created with a StreamFactory.
- Modified auto update logic where the auto update would always replace the original data file regardless of the version due to an issue with file name comparison logic. Now the data file will only be replaced if the new data file has a more recent published date or a different name.
- Modified the behaviour of the file output stream when writing the new data to the original file. The output stream will now attempt to pen the file 5 times and wait for two seconds if the attempt was unsuccessful. This is intended to help prevent exceptions caused by garbage collector not being able to clear the dataset and remove file locks before the file is written to.
v3.1.7.2
Changes in version 3.1.7.2:
- Addressed the "Not yet implemented" exception that was thrown when trying to invoke the findProfile method of the dataset object. Exception was only thrown when Provider was constructed using the StreamFactory.
- Fixed an issue where findProfile method would often return the same profile for different profile IDs.
v3.1.6.1
This release has the following change:
- Addressed a file lock exception when updating data.
v3.1.5.5
The release has the following changes:
- Updated the embedded data file.
v3.1.5.4
This release has the following changes:
- Added missing descriptions in comments that prevented generating Javadoc.
- Updated Lite data files (both Trie and Pattern) to the latest version.
- Fixed an issue in AutoUpdate that would cause the amount of threads created by the auto update to increase with each iteration, using up more memory with every iteration.
- The error message in AutoUpdate is now more informative. Server response code is now printed along with the short message explaining what the cause might be.
v3.1.4.8
This release has the following changes:
- Added a new property to the Signature.java entity class called Rank. This
property returns the rank of the signature, where 0 is the most popular
signature, to indicate the popularity of a signature compared to others. - Changed AutoUpdate so lite data always gets updated. Also fixed a bug where the
publishedDate was being queried rather than nextUpdate, which means update
requests would be made far more than necessary. - No longer uses session to store detection results.
- Now only one temp data file is created at a time.
- Changed getValues and getSignatures to avoid using a list before creating an
array to improve performance and reduce memory usage. - Fixed a defect in getSignatures where the wrong signatures were being returned.
- Fixed error when building servlet java docs using the ant script.
- Removed illegal characters that would sometimes cause compilation errors.
v3.1.3.2
This release fixes the following bugs:
- Client side javascript no longer writes names with '/' characters in them which
would cause parser errors. They are now stripped out completely. - Fixed bug where Unix type systems would not cache images in the correct directory.
v3.1.2.16
After extensive testing and a lot of time in open and closed beta we are marking this version as stable. See the ReadMe for a full list of changes and instructions.
v3.1.1.3-beta
This release uses a slightly different device data file format which contains presorted lists for Nearest and Closest methods, improving performance.
See the ReadMe for a full change log.
v3.0.6.5
First public release of the 51Degrees Java detector. This is a beta r…