Cookies
Version 1.1.16
February 12, 2024
Added
- Added
ServicesTrait
for the plugin service component registration - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- Updated docs to use node 20 & a new sitemap plugin
- PHPstan code cleanup
- ECS code cleanup
Fixed
- Fixed an issue where the
samesite
option defaulted to abool
when it should have defaulted to the stringLax
Version 1.1.15
June 18, 2021
Added
- Build docs via GitHub Actions CI
Changed
- Switched documentation system to VitePress
Fixed
- Remove blank, unused Settings page
Version 1.1.14
April 15, 2021
Changed
- Move settings from the
composer.json
“extra” to the plugin main class
Fixed
- Removed duplicate example for Setting Secure Cookies in the docs (https://github.com/nystudio107/craft-cookies/issues/23)
Version 1.1.13
March 31, 2021
Added
- Added Dockerfile & Makefile for building docs
Fixed
- No longer hardcode secure to be
true
for regular cookies via PR from jedimonkey (https://github.com/nystudio107/craft-cookies/issues/11)
Version 1.1.12
February 13, 2020
Changed
- Implemented
sameSite
for cookies, thank to a PR from Kenny Quan
Version 1.1.11
December 6, 2018
Changed
- Fixed an issue where
getSecure()
would return nothing due to an improper parameter passed tounserialize()
Version 1.1.10
July 22, 2018
Changed
- If the passed in domain is empty, use the
defaultCookieDomain
config setting - Don't unserialize any classes in secure cookie data
- Code cleanup
Version 1.1.9
February 1, 2018
Changed
- Renamed the composer package name to
craft-cookies
- Check to ensure a cookie exists before accessing it in
getSecure()
Version 1.1.8
January 23, 2018
Changed
- Fixed an issue with removing cookies
- Added try/catch so errors are logged instead of exceptions thrown
Version 1.1.7
December 6, 2017
Changed
- Updated to require craftcms/cms
^3.0.0-RC1
- Switched to
Craft::$app->view->registerTwigExtension
to register the Twig extension
Version 1.1.6
August 5, 2017
Changed
- Craft 3 beta 23 compatibility
Version 1.1.5
July 9, 2017
Changed
- Craft 3 beta 20 compatibility
Version 1.1.4
March 24, 2017
Changed
hasSettings
->hasCpSettings
for Craft 3 beta 8 compatibility
Version 1.1.3
March 12, 2017
Added
- Added
craft/cms
as a composer dependency - Added code inspection typehinting for the plugin & services
Changed
- Code refactor/cleanup
Version 1.1.2
February 17, 2017
Changed
- Code cleanup
- Added a new colored icon
Version 1.1.1
February 10, 2017
Changed
- Cleaned up
composer.json
Version 1.1.0
February 1, 2017
Added
- Ported the plugin to Craft 3