# Tenzir Node v4.22.1

## 🚀 Features

### Add a few new aggregation functions for TQL2

Oct 21, 2024 · [@dominiklohmann](https://github.com/dominiklohmann) · [#4679](https://github.com/tenzir/tenzir/pull/4679)

We added three new, TQL2-exclusive aggregation functions: `first`, `last`, and `mode`. The functions return the first, last, and most common non-null value per group, respectively.

## 🐞 Bug Fixes

### Implement `and` and `or` for `null_type`

Oct 23, 2024 · [@raxyte](https://github.com/raxyte) · [#4689](https://github.com/tenzir/tenzir/pull/4689)

The boolean operators `and`/`or` now work correctly for the type `null`. Previously, `null and false` evaluated to `null`, and a warning was emitted. Now, it evaluates to `false` without a warning.

### Ensure cache directory is writable for multiple users

Oct 22, 2024 · [@dominiklohmann](https://github.com/dominiklohmann) · [#4694](https://github.com/tenzir/tenzir/pull/4694)

Using the `tenzir` process from multiple users on the same host sometimes failed because the cache directory was not writable for all users. This no longer happens.

### Return instantly in `/serve` if pipeline fails early

Oct 22, 2024 · [@dominiklohmann](https://github.com/dominiklohmann) · [#4688](https://github.com/tenzir/tenzir/pull/4688)

The `/serve` endpoint now returns instantly when its pipeline fails before the endpoint is used for the first time. In the Tenzir Platform this causes the load more button in the Explorer to correctly stop showing for pipelines that fail shortly after starting.

[ Download on GitHub ](https://github.com/tenzir/tenzir/releases/tag/v4.22.1)

[Get the release artifacts and source code.](https://github.com/tenzir/tenzir/releases/tag/v4.22.1)