Feincms3-cookiecontrol

Latest version: v1.6.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.0

- Stopped needlessly post-processing the script tags of embeds, thanks
yoshson.
- Tweaked texts and spacing of embeds.
- Completed the translations.
- Changed the modify button rendering logic: If a HTML element with
`class="f3cc-modify"` exists anywhere on the page (e.g. `<button type="button" class="f3cc-modify">Modify cookie settings</button>`) the
banner revealing functionality is bound to this element and the fixed button
in the bottom right side of the viewport isn't added at all.
- Introduced `{% embed %}` and `{% wrap %}` tags mirroring the embedding
functions.
- Added Google to the list of well-known providers.
- Removed the `*-color` suffix from `--f3cc-background` and
`--f3cc-foreground`.
- Made overriding the CSS variables less confusing. Setting the variables using
`:root {}` now works.
- Added the `--f3cc-button-foreground` CSS variable. It defaults to
`var(--f3cc-foreground)` for backwards compatibility.

0.99.0

- Started showing the banner again when encountering unknown cookie values.
- Included the required CSS in the JavaScript file.
- Moved the root `f3cc` div creation into the JavaScript code.
- Changed the modify button behavior: When `privacyPolicyURL` is given the
modify button is only shown if the current URL equals the privacy policy URL
(protocol, host and pathname have to match).
- Updated the translations.
- Added a view which generates a JavaScript file for embedding the cookie panel
on other sites, e.g. subdomains.
- Imported the docs from the feincms3 repository and updated them.
- Rewrote `getCookie()` to actually return the full cookie value.
- Added some infrastructure code to consciously embed content from third party
providers if users give their consent.
- Added `feincms3_cookiecontrol.embedding.embed` which wraps
`feincms3.embedding` with a privacy-conscious version.

0.9.0

- Completely reworked the panel into a banner-only solution with only two
buttons, "accept all" and "reject all". The deprecated `{% feincms3_cookiecontrol_panel %}` template tag has been removed. The database
model has been recreated from scratch. If you want to keep the old script
configuration you can copy paste the following SQL into the SQL console
(after removing `feincms3_cookiecontrol` from `MIGRATION_MODULES` if it's
still in there and running migrations of course!):

insert into feincms3_cookiecontrol_script (name, script) select name, inject_if from feincms3_cookiecontrol_cookiescript;
drop table feincms3_cookiecontrol_cookiescript cascade ;
drop table feincms3_cookiecontrol_cookiecategory cascade ;

- Added Django 4.1 to the CI matrix.
- Removed recommended cookies in preparation of the simplification of the panel
to only allow required and optional cookies, nothing else.
- Removed the `inject_else` field because it was always unused and nothing
should be injected if users do not consent.

0.2.1

- Fixed a problem with our use of `100vh` by adding some padding as a temporary
(ha!) workaround.

0.2

- Deprecated the `feincms3_cookiecontrol_panel` template tag.
- Changed the `{% feincms3_cookiecontrol modify_button=True %}` to `{% feincms3_cookiecontrol hide_modify_button=False %}`. This makes the default
case of only hiding the modify button under certain circumstances more
straightforward.

0.1.6

- Added support for setting subdomain cookies using `COOKIECONTROL = {"domain": "example.com"}`
- Added a new `{% feincms3_cookiecontrol modify_button=True %}` templatetag
which allows directly controlling whether the modify button is shown or not.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.