# SPDX-FileCopyrightText: 2024 CERN and the Allpix Squared authors
# SPDX-License-Identifier: CC-BY-4.0
title:"PatchRelease3.1.1"
date:2024-09-09T14:42:11+02:00
draft:false
---
We are happy to announce the first patch release in the 3.1 series of **Allpix Squared, version 3.1.1**.
This release contains 43 commits over the feature release 3.1.0 and fixes a host of issues discovered by users across the
framework.
The release is available as Docker image, CVMFS installation and source code from the [repository](https://gitlab.cern.ch/allpix-squared/allpix-squared/).
The following changes have been made:
<!--more-->
* Adjusted the C++ version of the underlying ROOT build based on the new `ROOT_CXX_STANDARD` environment variable, falling back to the old behavior of testing build flags for versions of ROOT which do not export this variable. These variables have been added to ROOT 6.30.07.
* Framework core: the handling of configuration values with type integer and units attached have been improved. Before, in rare cases an integer configuration parameter combined with a unit that contains a division could lead to loss of precision and a subsequent unintended rounding down of the value. Now an exception is thrown.
**DepositionGeant4* Module:
* The Geant4 creation process string of `MCTrack` objects is changed from the Geant4 `GetProcessType()` call to the `GetProcessSubType()` as the former only provides the process category ("electromagnetic") but not the process itself. Code relying on the process ID continues to work unchanged.
* The code for loading physics lists has been improved to also deal with Geant4 physics lists which deviate from the standard upper-case naming scheme, such as `Shielding`.
**CapacitiveTransfer* Module: correct issue with `max_depth_distance` parameter not being read correctly and defaulting to 0. This also adds the `collect_from_implant` parameter known from other transfer modules.
* Updated to *magic enum* v0.9.6
* Adjustments to the repository's mail map of authors
* Updates to the CMake build system:
* Use `EXECUTE_PROCESS` instead of the deprecated `EXEC_PROGRAM`
* When requesting Geant4 components, CMake now returns an error if these components are not found (e.g. GDML)
& It is now possible to build Allpix Squared as a git submodule by changing the version detection slightly
* Fixed some spelling mistakes in the source code.