Skip to content

Releases: lmc-eu/cookie-consent-manager

1.0.2

14 Dec 23:17
34fc685
Compare
Choose a tag to compare

Dependencies

  • Update all dev dependencies (ba55e29)
  • Update all dev dependencies (4a23611)
  • Update dependency stylelint-order to v5 (65db9eb)

Documentation

  • Fix links and formatting in readme (41209fa)
  • Change text color of success state to improve its contrast with background (b444af2)
  • lighthouse: Fix errors reported by Google Lighthouse in examples (90905fb)
  • Make it clear one need to take care of already existing cookies (82f2f9a)

Chores

  • Annotate the CommonJS export names for ESM import in Node (09aa8e6)
  • Do not lint build.js in examples (e5e171b)
  • Label bugfix pull requests with "bug" label (6f10f31)
  • renovate: Schedule dependency updates on weekly basis (b08c018)

1.0.1

06 Dec 17:26
422614d
Compare
Choose a tag to compare

Chores

  • Version bump for npm publish. No code change.

See release 1.0.0.

1.0.0

06 Dec 17:15
08a673d
Compare
Choose a tag to compare

Bug Fixes

  • Tell bundlers not to bundle crypto dependency (22ee445)

Code Refactoring

  • Move browser example into browser directory (f6893ee)

Dependencies

Documentation

  • Add readmes with basic instructions for examples (03a8e3c)
  • Extend examples for inline <script> usage (287c69d)
  • Introduce example for CommonJS require (8a30904)
  • Introduce module example using webpack (9e3876d)
  • Link CJS and ESM examples to readme (0c2f377)
  • Rename example directories for better orientation (51913bc)
  • Spiritify Bootstrap in examples (e6aeae2)

Chores

  • Add label for Renovate bot (f59f11f)
  • Add renovate.json to configure automated deps updates (adf893f)
  • Disable dependabot because of doing lot of noise (71ddd3d)
  • Prepare for stable release (a215c45)
  • renovate: Set separateMajorMinor to false for devDependencies (6020fe2)

0.8.2

02 Dec 13:51
9c62a9d
Compare
Choose a tag to compare

Bug Fixes

  • Actually push to dataLayer only of first accept #CCM-46 (507ae60)
  • Use proper level name stored to dataLayer (b133746)

0.8.1

02 Dec 11:29
bcbfe5e
Compare
Choose a tag to compare

Bug Fixes

  • Add missing 'ads' level to dataLayer (ec6ed5b)

Dependencies

  • Bump babel-jest from 27.4.1 to 27.4.2 (e3c499d)
  • Bump jest from 27.4.1 to 27.4.2 (832f4ce)
  • Bump jest from 27.4.2 to 27.4.3 (5320995)
  • Bump postcss from 8.4.1 to 8.4.4 (3211c80)
  • Bump sass from 1.43.5 to 1.44.0 (078daa9)

0.8.0

01 Dec 10:04
b17a410
Compare
Choose a tag to compare

BREAKING CHANGES

  • Remove unwanted theming options for secondary buttons (f36d299)
    • Remove: --lmcccm-base-font-size, --lmcccm-btn-secondary-bg, --lmcccm-btn-secondary-hover-bg, --lmcccm-btn-secondary-active-bg
  • Update buttons theming API according to the latest design (ba39ed9)
    • Remove: --lmcccm-btn-secondary-text, --lmcccm-btn-secondary-hover-text, --lmcccm-btn-secondary-active-text
    • Add: --lmcccm-btn-font-weight
    • Change Inter font URL to include width 600

Bug Fixes

  • Revert font family inheritance as it blocked font customization (efe992e)

Dependencies

  • Bump babel-jest from 27.3.1 to 27.4.1 (ce100ad)
  • Bump esbuild from 0.13.15 to 0.14.1 (3d9fa63)
  • Bump eslint from 8.2.0 to 8.3.0 (b2d83ae)
  • Bump jest from 27.3.1 to 27.4.1 (c4791d8)
  • Update Spirit Design Tokens (7687df7)

Documentation

  • Add custom theme demo to examples #CCM-21 (f0855ed)
  • Add description of extended configuration example (fd7e8ba)
  • Add table of contents to readme (e6cdca6)
  • Fix link to vanilla cookieconsent readme (2df83d3)
  • Grammar fixes (b6ecb31)
  • Improve docs design (92abca3)
  • Improve formatting (4d8962d)
  • Make clear that Inter font link is mandatory unless font family is customized (ea7837b)
  • Use switches instead of buttons to demonstrate theming (a008edc)

Features

  • Add theming options to adjust button borders (d1f38cc)
    • Add --lmcccm-btn-border-width, --lmcccm-btn-border-style, --lmcccm-btn-border-radius, --lmcccm-btn-primary-border, --lmcccm-btn-primary-hover-border, --lmcccm-btn-primary-active-border
  • Let base font size be inherited from surrounding text (c12341d)
  • Push to dataLayer only of first accept #CCM-46 (0b198a0)

Chores

  • Add ignored internal URL to link check config (32c3755)
  • Merge linting into test workflow (c99e621)

0.7.0

26 Nov 13:48
52d8134
Compare
Choose a tag to compare

Bug Fixes

  • Make font-family fallback actually work as documented (52e2656)

Chores

  • Cache yarn dependencies to increase GH Actions jobs speed (57becf7)
  • Fix condition to generate minor on both cases (4e2e180)
  • Test if package is still buildable (e7ce285)

Code Refactoring

  • Extract assemble config into variable (66f5e93)

Dependencies

  • Bump @babel/preset-env from 7.16.0 to 7.16.4 (6912d80)
  • Bump @lmc-eu/commitlint-config from 1.0.4 to 1.0.5 (d8c69f0)
  • Bump @lmc-eu/prettier-config from 1.1.1 to 1.2.0 (d51f2da)
  • Bump @lmc-eu/stylelint-config from 2.0.0 to 2.0.1 (a0bdba8)
  • Bump esbuild from 0.13.14 to 0.13.15 (b9c3993)
  • Bump postcss from 8.3.11 to 8.4.1 (7ccc52c)
  • Bump prettier from 2.4.1 to 2.5.0 (9de88e9)
  • Bump sass from 1.43.4 to 1.43.5 (5679690)

Documentation

  • Add example of localStorage clear (c19a414)

Features

Styles

  • Introduce codestyle linting usingESLint refs #CCM-6 (5b4756d)
  • Lint entire codebase not few directories (158eaa7)
  • Reformat code by prettier (b13af7b)
  • Reformat code using ESLint ruleset refs #CCM-6 (d9d96b9)

0.6.0

19 Nov 15:05
45317e1
Compare
Choose a tag to compare

BREAKING CHANGES

  • Require service name to be passed as the first parameter #CCM-35 (680165)

Chores

  • Add jest testing framework and unit testing workflow (39468d1)
  • Check for broken links in markdown (58a5a79)
  • Fix building when using crypto in nanoid (82f5943)

Dependencies

  • Bump @commitlint/cli from 14.1.0 to 15.0.0 (85474f8)
  • Bump @lmc-eu/commitlint-config from 1.0.3 to 1.0.4 (10cf00e)
  • Bump @lmc-eu/conventional-changelog-lmc-bitbucket (d894fb2)
  • Bump @lmc-eu/prettier-config from 1.1.0 to 1.1.1 (a3cd839)
  • Bump @lmc-eu/stylelint-config from 1.0.4 to 2.0.0 (a7fa50d)
  • Bump esbuild from 0.13.13 to 0.13.14 (a82527b)
  • Bump vanilla-cookieconsent from 2.6.1 to 2.6.2 (1729ddd)

Documentation

  • Add example of specifying custom company names #CCM-25 (131eb34)
  • Do not use patch part in URL to allow using bugfix versions automatically #CCM-29 (b484c4e)
  • Fix broken links in readme (cadeb72)
  • Fix wrong autodetectLang type in readme (278a3b1)
  • Introduce companyNames option in readme #CCM-25 (06637bc)
  • Update list of supported languages (84e99fd)

Features

Styles

  • Fix pseudo-element notation according to stylelint-config (f4a607f)

Tests

0.5.0

11 Nov 10:47
43369c7
Compare
Choose a tag to compare

Chores

  • Skip breaking changes until package is stable (7d8174d)

Documentation

  • Legacy import using CommonJS and problem with webpack (e1fa6a7)
  • Minor readme improvements (3743330)
  • Unify codestyle in examples (c6ebfa0)

Features

  • Introduce build for CommonJS and use more common extensions (8c2c553)
  • Introduce ES module entry point (fad5730)

0.4.1

11 Nov 10:47
3ffa363
Compare
Choose a tag to compare

Dependencies

  • Bump @commitlint/cli from 13.2.1 to 14.1.0 (2e91e31)
  • Bump @lmc-eu/browserslist-config from 1.0.0 to 1.0.1 (f9cd8b4)
  • Bump @lmc-eu/commitlint-config from 1.0.2 to 1.0.3 (67febaa)
  • Bump @lmc-eu/prettier-config from 1.0.3 to 1.1.0 (eb174bc)
  • Bump @lmc-eu/spirit-design-tokens from 0.2.0 to 0.4.2 (18a78ec)
  • Bump @lmc-eu/stylelint-config from 1.0.3 to 1.0.4 (bb04c6e)
  • Bump esbuild from 0.13.12 to 0.13.13 (0c23f7c)
  • Bump postcss-cli from 8.3.1 to 9.0.2 (4120c18)

Documentation

Chores

Styles

  • Adjust html indenting in .editorconfig (4dad63c)
  • Fix formatting according to updated prettier-config (a70979a)