Skip to content

v4.1.12

Choose a tag to compare

@PavlosIsaris PavlosIsaris released this 16 Mar 07:14
· 127 commits to main since this release

Bug Fixes

  • #49 — Published Blade views not used: loadViewsFrom now checks the published path (resources/views/vendor/scify/laravel-cookie-guard) before falling back to the package's own views, so vendor:publish overrides work correctly.

  • #55 — "Reject All" does not revoke previously granted consent: getConsentSettings no longer falls through to checkbox.checked when called in reject mode. Previously, previously-accepted categories would remain true after clicking "Reject All".

  • #56 — Checkbox IDs not namespaced: Cookie category checkbox id attributes are now prefixed with lcg- (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.