Cookies Changelog.

Link 1.1.16 · 2024.02.12

added - 2024.02.12

  • Added ServicesTrait for the plugin service component registration
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

changed - 2024.02.12

  • Updated docs to use node 20 & a new sitemap plugin
  • PHPstan code cleanup
  • ECS code cleanup

fixed - 2024.02.12

  • Fixed an issue where the samesite option defaulted to a bool when it should have defaulted to the string Lax

Link 1.1.15 · 2021.06.18

added - 2021.06.18

  • Build docs via GitHub Actions CI

changed - 2021.06.18

  • Switched documentation system to VitePress

fixed - 2021.06.18

  • Remove blank, unused Settings page

Link 1.1.14 · 2021.04.15

changed - 2021.04.15

  • Move settings from the composer.json “extra” to the plugin main class

fixed - 2021.04.15

  • Removed duplicate example for Setting Secure Cookies in the docs (https://github.com/nystudio107/craft-cookies/issues/23)

Link 1.1.13 · 2021.03.31

added - 2021.03.31

  • Added Dockerfile & Makefile for building docs

fixed - 2021.03.31

  • No longer hardcode secure to be true for regular cookies via PR from jedimonkey (https://github.com/nystudio107/craft-cookies/issues/11)

Link 1.1.12 · 2020.02.13

changed - 2020.02.13

  • Implemented sameSite for cookies, thank to a PR from Kenny Quan

Link 1.1.11 · 2018.12.06

changed - 2018.12.06

  • Fixed an issue where getSecure() would return nothing due to an improper parameter passed to unserialize()

Link 1.1.10 · 2018.07.22

changed - 2018.07.22

  • If the passed in domain is empty, use the defaultCookieDomain config setting
  • Don't unserialize any classes in secure cookie data
  • Code cleanup

Link 1.1.9 · 2018.02.01

changed - 2018.02.01

  • Renamed the composer package name to craft-cookies
  • Check to ensure a cookie exists before accessing it in getSecure()

Link 1.1.8 · 2018.01.23

changed - 2018.01.23

  • Fixed an issue with removing cookies
  • Added try/catch so errors are logged instead of exceptions thrown

Link 1.1.7 · 2017.12.06

changed - 2017.12.06

  • Updated to require craftcms/cms ^3.0.0-RC1
  • Switched to Craft::$app->view->registerTwigExtension to register the Twig extension

Link 1.1.6 · 2017.08.05

changed - 2017.08.05

  • Craft 3 beta 23 compatibility

Link 1.1.5 · 2017.07.09

changed - 2017.07.09

  • Craft 3 beta 20 compatibility

Link 1.1.4 · 2017.03.24

changed - 2017.03.24

  • hasSettings -> hasCpSettings for Craft 3 beta 8 compatibility

Link 1.1.3 · 2017.03.12

added - 2017.03.12

  • Added craft/cms as a composer dependency
  • Added code inspection typehinting for the plugin & services

changed - 2017.03.12

  • Code refactor/cleanup

Link 1.1.2 · 2017.02.17

changed - 2017.02.17

  • Code cleanup
  • Added a new colored icon

Link 1.1.1 · 2017.02.10

changed - 2017.02.10

  • Cleaned up composer.json

Link 1.1.0 · 2017.02.01

added - 2017.02.01

  • Ported the plugin to Craft 3