# CookieConsent v3.1.0 — cookieconsent v3.1.0 - Product: CookieConsent (https://whatsnew.fyi/product/cookieconsent) - Vendor: Orest Bida - Date: 2025-02-04 - Version: v3.1.0 - Original notes: https://github.com/orestbida/cookieconsent/releases/tag/v3.1.0 - Permalink: https://whatsnew.fyi/product/cookieconsent/releases/v3.1.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Store language code of the consent in the cookie - **fixed** — Fix service reject issue and setCookieData() method deleting lastConsentTimestamp field - **fixed** — Fix eraseCookies domain bug ##### Features * feat: store language code of the consent in the cookie by @OndraM in https://github.com/orestbida/cookieconsent/pull/761 ##### Bug fixes * fix: service reject issue & setCookieData() method deletes lastConsentTimestamp field by @peaemaye in https://github.com/orestbida/cookieconsent/pull/701 * fix: eraseCookies domain bug and expand tests by @imnasnainaec in https://github.com/orestbida/cookieconsent/pull/719 ##### Documentation * docs update setCookieData examples with correct function by @alanbiju79 in https://github.com/orestbida/cookieconsent/pull/686 * docs: add missing bar 'top' position option by @OndraM in https://github.com/orestbida/cookieconsent/pull/758 * docs: Add example for Google Tag Manager's consent mode by @silenzium in https://github.com/orestbida/cookieconsent/pull/751 * docs: update docs to match code and fix a few typos by @imnasnainaec in https://github.com/orestbida/cookieconsent/pull/716 ##### New Contributors * @alanbiju79 made their first contribution in https://github.com/orestbida/cookieconsent/pull/686 * @peaemaye made their first contribution in https://github.com/orestbida/cookieconsent/pull/701 * @silenzium made their first contribution in https://github.com/orestbida/cookieconsent/pull/751 * @imnasnainaec made their first contribution in https://github.com/orestbida/cookieconsent/pull/716 **Full Changelog**: https://github.com/orestbida/cookieconsent/compare/v3.0.1...v3.1.0