---
title: "New in version 5"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/dmind/cookieman:new-in-version-5@5.0"
source: "NewInVersion5/Index.rst"
rendered: "2026-11-25T17:56:19+00:00"
---

# New in version 5 {#new-in-version-5}

## Breaking changes {#new-in-version-5-breaking}

### The consent cookie defaults to `sameSite = Strict` {#the-consent-cookie-defaults-to-samesite-strict}

Before version 5.0.0 the default was `Lax`. `Strict` improves the first-party
signals of the cookie.

To keep the previous behaviour, set [cookie.sameSite](https://docs.typo3.org/permalink/dmind/cookieman:cookie-samesite@5.0):

```typoscript
plugin.tx_cookieman.settings.cookie.sameSite = Lax
```

### The consent cookie is `secure` on https {#the-consent-cookie-is-secure-on-https}

Cookieman reads the protocol of the page and sets the `secure` attribute on https
pages only. Browsers discard a `secure` cookie that an http page sets: the cookie is
then never stored and the popup comes back on every page.

Set [cookie.secure](https://docs.typo3.org/permalink/dmind/cookieman:cookie-secure@5.0) to `0` if you share the cookie between subdomains and one
of them is still http:

```typoscript
plugin.tx_cookieman.settings.cookie.secure = 0
```

See [Configuration of the cookie used by the extension itself](https://docs.typo3.org/permalink/dmind/cookieman:extension-cookie-settings@5.0).

## Features {#new-in-version-5-features}

### TypoScript constants for the cookie settings {#typoscript-constants-for-the-cookie-settings}

The `cookie{}` block in the setup now reads TypoScript constants, as the `links{}`
block does. You can set the lifetime, the domain, `sameSite` and `secure` in the
constants editor: [cookie.cookieLifetimeDays](https://docs.typo3.org/permalink/dmind/cookieman:cookie-cookielifetimedays@5.0), [cookie.domain](https://docs.typo3.org/permalink/dmind/cookieman:cookie-domain@5.0),
[cookie.sameSite](https://docs.typo3.org/permalink/dmind/cookieman:cookie-samesite@5.0) and [cookie.secure](https://docs.typo3.org/permalink/dmind/cookieman:cookie-secure@5.0).

See [TypoScript constants](https://docs.typo3.org/permalink/dmind/cookieman:typoscript-constants@5.0).

### Show the popup again after a configuration change {#show-the-popup-again-after-a-configuration-change}

Change [consentConfigurationVersion](https://docs.typo3.org/permalink/dmind/cookieman:consentconfigurationversion@5.0) every time you change your cookie
configuration:

```typoscript
plugin.tx_cookieman.settings.consentConfigurationVersion = 2
```

Cookieman writes the version into the consent cookie and shows the popup again to all
users whose cookie holds a different version. Until such a user saves again, the old
consent does not count and cookieman injects no tracking objects. The selections of
the user stay in the checkboxes.

See [Show the consent popup again after a configuration change](https://docs.typo3.org/permalink/dmind/cookieman:show-the-popup-again@5.0).

> [!NOTE]
> Consent that cookieman before 5.0.0 saved holds no version. Cookieman adds the
> current version to such a cookie without a change for the user ("silent upgrade").
> Thus the upgrade to 5.0.0 asks nobody again.
