Skip to content

# Release Notes

## Version 4.2.1

- Released on March 1, 2025
- Fixed issue that caused querying `IDeviceCompat/supportedReferences` to crash for some device types (see Kotlin or Java).
- Fixed errors in color conversion functions in `ColorUtils`.
  - CIEXYZ to CIELUV (see Kotlin or Java)
  - CIELUV to CIEXYZ (see Kotlin or Java)

## Version 4.2.0

- Released on February 21, 2025
- Nix Universal SDK functions must now be enabled with a license key using `LicenseManager` (see Kotlin or Java). For further details, refer to Activating the SDK License.
- Existing `enum` types have added cases related to `LicenseManager` errors. Refer to the API documentation linked below for additional details.
  - `CommandStatus/ERROR_LICENSE` (see Kotlin or Java)
  - `DeviceScannerState/ERROR_LICENSE` (see Kotlin or Java)
  - `DeviceStatus/ERROR_LICENSE` (see Kotlin or Java)
- `ISpectralData.toDensityData()` now returns an optional data type (see Kotlin or Java).
  - The result is `null` when `LicenseFeature/DENSITY_DATA` is not provided by the active license.
- The dependency on `usb-serial-for-android` has been changed from 'required' to 'optional'
  - This dependency is used provide support for devices directly attached via USB. It can be safely omitted if USB support is not required.
  - To enable USB device support, include this dependency in your application's `build.gradle` file. Refer to Add dependencies for USB support for further details.

## Version 4.1.0

- Released on July 31, 2023
- Added support for Nix Spectro L devices
- Added `IDeviceCompat/fieldCalibrationMaxDelta`
  - Allows override of the maximum Delta E threshold used when performing in-field calibration
  - Review the API reference (Kotlin or Java getter and setter) for additional details
- Updated field calibration routine for Nix Spectro 2 devices
  - API calls to `IDeviceCompat/runFieldCalibration` function are unchanged
  - Additional diagnostics are performed during the white tile scan on Spectro 2 type devices. As a result, the calibration command can now take 5 - 10 seconds to complete
  - The operation can now fail with status `CommandStatus/ERROR_SCAN_DELTA` if the tile measurement delta exceeds the allowable threshold
- Added `IDeviceCompat/invalidateFieldCalibration` function
  - This function forces the field calibration record to expire on QC and Spectro 2 type devices.
  - Review the API reference (Kotlin or Java) for additional details

## Version 4.0.2

- Released on February 13, 2023
- Added ISO Density calculations and supporting classes
  - Density data can be obtained from measurements as `IDensityData`
  - The Handling Measurement Data article has been updated to reflect its usage

## Version 4.0.0

- Released on January 6, 2023
- Initial release for `NixUniversalSDK`, replacing the older `nixlibrary` project