All notable changes to laravel-cookies-consent
will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
The v2 of the Laravel Cookies Consent plugin has been released! 🎉🥳😍
This version includes some important changes and improvements, such as:
- A new configuration file format. Now you can declare the cookies each cookie category uses in a more structured way.
- A new, clean, and intuitive UI for the cookies consent modal.
- An option to present the cookies consent dialog in a separate page instead of a modal.
- A stick cookies button that allows users to change their cookies preferences at any time. This button is optional and it's existence can be tweaked in the configuration file.
- A separate page for the cookies preferences, where users can read more about each cookie category and change their preferences.
- Changed the background color of the "Allow all cookies" button, in order to be compliant with the GDPR rules
- Fixed the padding of the button texts
Added Portuguese Language corrections, thanks to this PR by ViNiSeNnAtt
Added Portuguese Language, thanks to this commit by ViNiSeNnAtt
Improvements regarding the styles file, Composer lib updates
List of Updates:
- Fixed z-index issue (as reported in #10)
- Now the front-end assets (styles) file is not automatically published, to avoid causing overriding (reported
in #11) - Composer libraries update
- Improved Development guidelines in Readme file
Notable Changes:
Now, in order to publish the styles file to public/vendor/cookies_consent/css/style.css
it is required to manually
run the publishing command:
php artisan vendor:publish \
--provider="SciFY\LaravelCookiesConsent\LaravelCookiesConsentServiceProvider" \
--tag="cookies-consent-assets"
This release addresses this issue, regarding the cookie prefix when accepting "all" cookies.
This is the first stable release of the plugin! Feel free to download, try and customize it. If you find any issues, please report them to the issue page. Check out the CONTRIBUTING.md guide to contribute to this open-source project!
The plugin now uses Laravel's app()->langPath()
method, in order to publish the translation files.
Set the required PHP version to either 7.x
or 8.x
, in order to accommodate older Laravel installations.
- Now the cookie prefix is set entirely from the configuration file. The trailing character should be set there.
- Improved UI design in smaller (phone & tablet) screens.
- The plugin is now ready to be tested and used in 3rd party Laravel apps.
Improved the overall design and fixed the width of the cookies container
- Added the ability to set cookie duration
- Fixed container width on larger screens
- Added remaining languages
- Improved README.md instructions
This is the initial release of the plugin. SciFY Team will start testing the plugin in our own projects and proceed to the release of version 1.0.0, when deem applicable.