Skip to content

Releases: commercekings/module-consent-vanilla

Release list

0.1.0

Choose a tag to compare

@commercekings commercekings released this 19 Oct 17:25
  • Opening the preferences fires the window event ck-consent:preferences, so Consent can switch off a "yes"
    withdrawn with the email link on another device. Only an event: an older Consent ignores it.

  • A saved choice that accepts nothing ("Reject all" with no always-on category) counts as a choice, so its
    withdrawal reaches the server.

  • Requires Magento 2.4.4 or later (magento/framework ^103.0.4): Magento 2.4.0–2.4.3 do not run on PHP 8.1.

  • Hyvä: the banner without RequireJS on Hyvä themes, detected by Hyvä's hyva_default layout handle – a settings
    button, Hyvä cookie groups kept in sync with the banner, Magento's native cookie notice hidden. Banner and adapter
    logic is shared with the Luma entry points (adapter-core.js, banner-core.js); no dependency on Hyvä packages.

  • Declares "provide": {"commercekings/consent-source": "0.1.0"}: it is the consent banner that the bridge and
    Google tags require.

  • Show the configured privacy policy in both the first notice and preferences, with an explicit translated label and escaped link markup.

  • Apply Magento's configured cookie path and domain to the Vanilla banner while retaining Consent's configured lifetime.

  • Decode banner cookies through Magento's JSON serializer; malformed, scalar and invalid UTF-8 cookie values cannot grant consent.

  • Reject malformed cookie types and choices without a valid reference/time before granting consent.

  • Self-hosted Vanilla CookieConsent 3.1.0 adapter, cookie readers and generic English banner texts.

  • Prepare Composer metadata, Magento dependency bounds and source/distribution packaging for the first public release.

  • Adapt unit tests to PHPUnit 12 while retaining older data-provider annotations.

  • Sequence ConsentDefaults before Vanilla and align setup documentation with the required Composer dependency.

  • Add PHP syntax/metadata/archive CI checks and explicit compatibility notes.

No public release has been tagged or published yet.