> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/smc/3.12/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/smc/3.12/releases/3.4.2.md).

# Session Management Controller 3.4.2

This release of the Session Management Controller (SMC) provides the following
features and bug fixes:
- More default labels added in SMC and Service Monitor
- erGW update to the 3.4.2 version
- Correct unit of the idle timeout in AVPs
- The `network-init` container is now terminating on error

## Features

### More default labels added in SMC and Service Monitor

We added a new version label to Service Monitor: `app.kubernetes.io/version: 3.4.2`.
There's also a new `spec.selector.matchLabels` label in Service Monitor. It is
used to list services from which Prometheus collects metrics.
More default version labels were also added to the SMC deployment:

```
    helm.sh/chart: smc-3.4.2
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: 3.4.2
    app.kubernetes.io/name: smc
    app.kubernetes.io/instance: smc
```

### Update erGW to the 3.4.2 version

In this release, we updated erGW to the 3.4.2 version, which provides the
following improvements:

- Fixed control of memory usage. We provided the logic that forces a full sweep
for the calling process in the system, which reduces memory consumption.
- Fixed an issue with active context creation and termination.
We reworked the proxy and now it correctly handles the deletion of messages
after timeout.

## Fixes

### Correct unit of the idle timeout in AVPs

Previously, there was a missing `unit` field in attribute-value pairs (AVPs),
which caused the default unit of idle timeout in User Plane Gateway (UPG) to be
an hour. Now, the `unit` field is added and the idle timeout unit is a millisecond.

### The `network-init` container is now terminating on error

Previously, the `network-init` container did not terminate when facing an error.
Instead, the Pod kept starting with a broken network configuration.
Now the `network-init` container fails when detecting any error.
