v4.1.12
Bug Fixes
-
#49 — Published Blade views not used:
loadViewsFromnow checks the published path (resources/views/vendor/scify/laravel-cookie-guard) before falling back to the package's own views, sovendor:publishoverrides work correctly. -
#55 — "Reject All" does not revoke previously granted consent:
getConsentSettingsno longer falls through tocheckbox.checkedwhen called in reject mode. Previously, previously-accepted categories would remaintrueafter clicking "Reject All". -
#56 — Checkbox IDs not namespaced: Cookie category checkbox
idattributes are now prefixed withlcg-(e.g.lcg-analytics) to avoid conflicts with other elements on the host page. Consent cookie keys remain unprefixed for backwards compatibility with existing stored cookies.
Other
- Compiled JS output now includes
"use strict"inside the IIFE wrapper. - Tests added for all three bug fixes.