2.6.0 (2024-04-10)
- Update bugfix versions of dependencies (6e58251)
- Extend README to contain cookieTable example configuration (a416a4a)
- Minor readme clarifications (0ebb3ec)
- Update another link to orestbida library documentation to point to its branch v2.9 (452d7ae)
- Update links to orestbida library documentation to point to its branch v2.9 (17084ae)
- Add ability to set cookie table (b7b2b4d)
- Add Bosnian (bs) language (096b6bd)
- Add Estonian (et) translation (06eba57)
- Add Latvian (lv) translation (e389ed6)
- Add Lithuanian (lt) translation (112b232)
- Add Macedonian (mk) translation (b3c8990)
- Export all types of vanilla cookie consent (7bb36d2)
- DRY when importing language configs (a49d8f9)
- Extract language loading to separate function (6e6e21c)
- Optimize imports (25a636e)
- Refactor block assembly (6bd7ac4)
- Always define types before use and do not warn for unused vars in exported types (05d7ce6)
- Fix enum definition which breaks eslint (8842da9), closes #issuecomment-1599432772
- Fix errors detected by @lmc-eu/eslint-config-typescript rules (cb4da09)
- Fix various eslint warnings and errors (0082e41)
- Optimize imports and minor codestyle improvements (b467d03)
- Replace concatenation with string templates (27a87ed)
- Use object property shorthand (c3de7fd)
2.5.0 (2024-01-11)
- Rebrand to Alma Career also in documentation and meta information (a9f9a1c)
- Add Croatian (hr) translation (2ee50f3)
- Add Slovenian (sl) translation (aee08f7)
- Extend types to allow cookie tables settings (33313ac)
- Update translations and unify Cookie policy document naming (0ef63d0)
- deps: Update dependency @lmc-eu/spirit-design-tokens to v1 (8ab4715)
- Fix ts-jest config deprecations (135288d)
2.4.1 (2023-12-27)
- Add notice about necessity to implement cookie deletion by each product itself (45feb44)
- Replace LMC company name with Alma Career (9c2788a)
- Update hu translation (2ede16e)
- Update links to privacy policy (88b634e)
- Upgrade @lmc-eu/eslint-config-base to 3.0.1 (0d6de3b)
- deps-dev: Bump postcss from 8.4.19 to 8.4.31 (1fdc8c9)
- deps: Bump @babel/traverse from 7.16.0 to 7.23.2 (059ee92)
- deps: Bump semver from 5.7.1 to 5.7.2 (0189bab)
- deps: Bump word-wrap from 1.2.3 to 1.2.5 (5a94e5f)
- deps: Update to Jest 29 (5acdade)
- Try to build this package also on Node.js v20 (706ab9a)
2.4.0 (2023-06-13)
- Fix imports not being properly recognized by IDEs (18bfb83)
- Make part of settings modal text overridable (7eccc48)
- Remove @adamkudrna and @crispeen from codeowners (7f8b9bc)
2.3.3 (2023-05-22)
- Cannot use 'in' operator to search for 'uid' in undefined (1deb32e)
2.3.2 (2022-12-22)
- Update button design tokens according to the latest design (e23431a)
- Improve file name of the CSS theme map (ed30742)
2.3.1 (2022-12-15)
- Change design token linked to button typography (ca8a2ab)
- Update Can-I-Use DB used by Browserslist (ad07300)
2.3.0 (2022-12-08)
- Fix typo in Slovak translation (6d52c18)
- Fix typo in changelog message (eca903b)
- Remove integrity attributes because of integrity fails (19fce10)
- Add missing peer dependencies (b4ddc72)
- Fix typo in semver range (refs #260) (4aacfd9)
- Freeze
vanilla-cookieconsent
to 2.8.0 or allow major release (2388b8a) - Set target branch for additional updates (258723f)
- Test build on multiple node versions (80782a2)
- Update
nanoid
package to v3 branch only (d13a836)
- Simplify constants imports (0c8f45e)
- Fix haste module collision on local machine by ignoring (70d42c8)
2.2.1 (2022-06-29)
- Add missing SecondaryButtonMode export (e2d5f6b)
- Update all dev dependencies (b96f653, 9176c98, a79c078, 0c9337b, 88f6706, 2e93c24, d55c0b8, addb38e)
- Update dependency @lmc-eu/spirit-design-tokens to ^0.17.0 (f78a255, 2d7d6e9, 23b1bfa)
- Add SecondaryButtonMode to typescript example (5c517f2)
2.2.0 (2022-04-28)
- Prevent content from being unreachable on short viewports (3a843e7)
- Force dependency update of vulnerable minimist (9d75378)
- Update all dev dependencies (55afece, 79893f5, 8b06890, c879760, e616579)
- Update dependency @lmc-eu/spirit-design-tokens to ^0.9.0 (8d45d29)
- Improve text flow in table (3728df7)
- Conform to updated stylelint rules (15e3fef)
- Decapitalize '{object}' as per eslint recommendation (bf49a10)
- Remap tokens (f350cf6)
2.1.2 (2022-03-23)
- Do not export const enums when using
isolatedModules
(6992c94)
- Introduce action for test builds (b5bd866)
- Using this library as typescript module (02cdd2c)
- Switch from
currentcolor
tocurrentColor
(72dd624)
2.1.1 (2022-03-08)
- Make all properties of TranslationOverride type optional (2bb8bdd)
- Update all dev dependencies (14c942f)
2.1.0 (2022-03-07)
- Disconnect settings modal close button from button styles (71d2463)
- Export enums as const for correct transpile into usable object (24d394a)
- Export missing types in main module (7c27935)
- Incompatible type definition of languages (8fabfb3)
- Provide type for vanilla cookie consent options (67d78ba)
- Unify access to language variables (4f28840)
- Update all dev dependencies (17ba9ba, c5a0ba0, c2f7ebc)
- Update dependency @lmc-eu/spirit-design-tokens to ^0.7.0 (ae8410b)
- Allow overriding consent description intro #CCM-63 (1f6c31a)
- Allow overriding default translation for consent modal title #CCM-62 (32cd2ec)
- Force content to spread over the whole row (90161f0)
- Link background color of disabled
Toggle
to corresponding design token (841b320) - Split consent description in two paragraphs #CCM-63 (ae2575f)
2.0.0 (2022-02-11)
See upgrade guide for upgrade guidance to version 2.0.
- Callbacks for handling settings modal #CCM-48 (04a4da5)
- Style settings modal according to graphic design #CCM-56 (75d1194)
- Remove default dark theme #CCM-56 (8f33481)
- Pin dependencies (9d1e67b)
- Update all dev dependencies (e52565a, a4c7d40, 8d9bee7, 78f88b6, 7a08f42)
- Update dependency nanoid to v3.1.31 [SECURITY] (32b2fb9)
- Update dependency stylelint to v14 (b1699d0)
- Update dependency vanilla-cookieconsent to 2.8.0 #CCM-58 (b214dc0)
- Update Spirit Design Tokens (af696cb)
- Add button to open cookie settings modal #CCM-57 (8acb0cd)
- Add new onFirstAction and onChange callbacks #CCM-48 (fb6590e)
- Update examples with new callbacks #CCM-48 (b38c59e)
- Adjust changelog lists formatting to new LMC preset (5c69666)
- Avoid inconsistent states in language selection example (532fcd8)
- Clearly state the plugin is mainly for LMC products (885c04e)
- Extend configuration example page to showcase onChange event (e2ba3c1)
- Extend readme to reflect changes in version 2.0 (ec6329b)
- List allowed categories on callbacks example page (a417b8d)
- Organise CSS custom properties table (98eed8e)
- Prefer
DOMContentLoaded
overload
event to render cookie consent modal earlier (edbd9bc) - Remove yarn.lock from examples (f5cf132)
- Rework callback examples #CCM-57 (e2a1347)
- Simplify changing of component language by using
updateLanguage()
method (0acb434) - upgrade:
- Use version aliases for external resources to keep them up-to-date (75d1194)
- Add Czech translations for settings modal #CCM-54 (3560405)
- Add displayMode (default
force
) to choose between blocking pop-up and banner #CCM-61 (6fdca25) - Add settings modal translations for all remaining languages #CCM-55 (3e67294)
- Add temporary placeholder for other translations of settings modal (bf99467)
- Make contents of
<strong>
actually appear strong (e9a6759) - Simplify translations and make settings link strong #CCM-60 (78cd4c7)
- Submit consent to API also on settings change #CCM-59 (ffe4963)
- Submit consent to API and dataLayer also on settings change #CCM-59 (1daca26)
- Tweak box mode of consent modal according to graphic design #CCM-47 (18adcf3)
- Update czech translation #CCM-54 (8e7e2b3)
- Configure package url for bug tracker (5c03f7d)
- Do not exclude stylelint from automated updates anymore (dd53241)
- stylelint:
- Watch and build SCSS during development (340fd91)
1.3.0 (2022-01-05)
- Fix spacing too big after core library upgrade (7f7fd5d)
- Add
cookie_necessary_only_expiration
to configuration example (68230d6)
- commitlint: Remove ignore sections cause it is not used (b421b19)
- Define codeowners using company e-mail rather than nickname (9f5c973)
- changelog: Add missing dependency on @lmc-eu/conventional-changelog-lmc-github (90cadbb)
- changelog: Switch from bitbucket preset to Github preset (6bf904a)
- Rename commitlint config to be dot notated (c9aadcb)
1.2.1 (2021-12-21)
- Add missing cookie_name type in vanilla-cookieconsent declaration (81396b3)
- Fix links to previous version in changelog (783a997)
1.2.0 (2021-12-21)
- Enable new swap_buttons feature to proper button order by default #CCM-51 (cf2d3c4)
- Use new getUserPreferences to retrieve actual user preferences #CCM-51 (d873a22)
- Use new onFirstAction and simplify conditions #CCM-51 (96958d5)
1.1.2 (2021-12-19)
- types: Make options to be optional (73af5a3)
- Improve jest tests performance (a994b3c)
1.1.1 (2021-12-16)
- Apply link text decoration also for secondary button (de5d7f8)
1.1.0 (2021-12-16)
- Add script for code coverage by tests (86220c8)
- typescript: Remove unused babel because we use tyescript #CCM-40 (45b9e6c)
- typescript: Run type check on ci pipeline #CCM-40 (652d367)
- languages: Introduce types for language configuration (4b20feb)
- typescript: Introduce support for Typescript language #CCM-40 (3b34deb)
- typescript: Migrate all source files to Typescript (c74e5a8)
- typescript: Separate types for cookie consent manager (cf0e933)
- Use category instead of level in type names (d348f59)
- Pin dependencies (5bd9f67)
- Update dependency @lmc-eu/spirit-design-tokens to ^0.5.0 (1778c57)
- Upgrade @lmc-eu/esling-config-base to 1.1.0 (9e3a217)
- Add more theming options for links and buttons (
--lmcccm-link-text-decoration
,--lmcccm-link-hover-text-decoration
,--lmcccm-btn-text-transform
) (8ee958b) - Attempt to overlap UI of other third-party plugins (693fe02)
- Use additional insights of eslint's base config as recommended (2bd3398)
- Fix module naming collision by ignoring
./dist
directory (a933611)
1.0.2 (2021-12-14)
- 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)
- Update all dev dependencies (ba55e29)
- Update all dev dependencies (4a23611)
- Update dependency stylelint-order to v5 (65db9eb)
- Change text color of success state to improve its contrast with background (b444af2)
- Fix links and formatting in readme (41209fa)
- lighthouse: Fix errors reported by Google Lighthouse in examples (90905fb)
- Make it clear one need to take care of already existing cookies (82f2f9a)
1.0.1 (2021-12-06)
- Note: Version bump for npm publish. No code change. (422614d)
1.0.0 (2021-12-06)
- Tell bundlers not to bundle
crypto
dependency (22ee445)
- 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)
- Move browser example into browser directory (f6893ee)
- Ignore stylelint updates (2a25de1)
- Pin dependencies (5c9feb7)
- Update all dev dependencies (b7bb2de)
- Update Spirit Design Tokens (fc2a281)
- 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)
0.8.2 (2021-12-02)
- Actually push to dataLayer only of first accept #CCM-46 (507ae60)
- Use proper level name stored to dataLayer (b133746)
0.8.1 (2021-12-02)
- Add missing 'ads' level to dataLayer (ec6ed5b)
- 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 (2021-12-01)
- 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
- Remove:
- 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
- Remove:
- Revert font family inheritance as it blocked font customization (efe992e)
- 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)
- 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)
- 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
- Add
- Let base font size be inherited from surrounding text (c12341d)
- Push to dataLayer only of first accept #CCM-46 (0b198a0)
0.7.0 (2021-11-26)
- Make
font-family
fallback actually work as documented (52e2656)
- 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)
- Extract assemble config into variable (66f5e93)
- 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)
- Add example of localStorage clear (c19a414)
- Autodetect language based on the value of
<html lang=...>
#CCM-43 (e389636) - Submit consent to API #CCM-39 (85c9c02)
- Submit to API also current language and cookie expiration #CCM-41 (be946f3)
- 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 (2021-11-19)
- Require service name to be passed as the first parameter #CCM-35 (680165)
- Add jest testing framework and unit testing workflow (39468d1)
- Check for broken links in markdown (58a5a79)
- Fix building when using crypto in nanoid (82f5943)
- 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)
- 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)
- Add translations for de, hu, ru and uk languages #CCM-18 (6e31d97)
- Generate and store consent UUID on accept #CCM-35 (519182d)
- Introduce
companyNames
option as i18n parameter #CCM-25 (e271230) - Unify company name amongst all translations #CCM-18 (928118d)
- Update polish translation #CCM-31 (3b6609b)
- Fix pseudo-element notation according to stylelint-config (f4a607f)
0.5.0 (2021-11-11)
- Skip breaking changes until package is stable (7d8174d)
- Legacy import using CommonJS and problem with webpack (e1fa6a7)
- Minor readme improvements (3743330)
- Unify codestyle in examples (c6ebfa0)
- Introduce build for CommonJS and use more common extensions (8c2c553)
- Introduce ES module entry point (fad5730)
0.4.1 (2021-11-09)
- Fix path change in spirit-design-token@0.4.1 (46f3b47)
- Upgrade node.js version to v16 in pipelines (e51afc9)
- Use
npm set script
instead of node script (7f788f1)
- 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)
- Adjust html indenting in .editorconfig (4dad63c)
- Fix formatting according to updated prettier-config (a70979a)
0.4.0 (2021-11-05)
- Introduce dependabot configuration for automated deps updates (0cf893d)
- Remove prepare script before publishing package (ac4b6a9)
- Rename pr-labeler config file to use yaml extension everywhere (796bf2c)
- Use .yarnrc instead of .npmrc because we are using yarn (66b2d5e)
- Bump @lmc-eu/conventional-changelog-lmc-bitbucket (2e17ebd)
0.3.1 (2021-11-04)
- Automatically replace package version in readme file to current (97454e1)
- Disable commit message hook with CI env (3b0e0b9)
- Disable prepare script with commitlint on CI publish (4886281)
- Introduce contributors array to display package authors (e2c3c4f)
- Introduce keywords to display on package page (d8a3568)
- Introduce PR labelling (4f8e67d)
- Introduce release action which is triggered manually (97c00f0)
- Omit version prefix from replacing jsdelivr urls in readme (704332b)
- Run publish only on tagged refs without any prefix (534caf3)
- Set git tag version to plain semver string without prefix (6f7c069)
0.3.0 (2021-11-02)
- Create release on local machine and publish by ci pipeline #CCM-8 (4ed90f9)
- Introduce publish package pipeline #CCM-8 (ac0a5aa)
- Rearrange and document internal defaults (5b6c8e6)
- Bump all dependencies (9b1b90c)
0.2.0 (2021-11-01)
- Incomplete options passed by user overrides all defaults (68f8dcb)
- Add repository URL to make it shown also on npmjs.com (66947d6)
- Block fixup commit message using github action (1a43014)
- Generate changelog using conventional changelog (dddacfc)
- Introduce commit linting (d8238c3)
- Introduce simple dev server for local development #CCM-5 (84c3245)
- Make package publishlable (effcd7a)
- Rename
dev
script to more commonstart
(bb6bd54) - Run all check with single npm script (fee171a)
- Use usernames instead of names for codeowners (5cd5eba)
- Unify variable casing to camelCase (3f1367e)
- Add development and contributing section #CCM-20 (4bc165d)
- Extend and rearrange README #CCM-20 (2260342)
- Fix another typo in cdn path (185d9f8)
- Fix typo in cdn path (33ea2ec)
- Introduce badges to make readme look more cool (8e08301)
- Mark config arguments optional in jsdoc (10e48b2)
- Remove autoload script, extend default example #CCM-20 (a85c7b3)
- Rename docs to examples #CCM-20 (32a0c39)
- Add callbacks for all onAccept scenarios #CCM-24 (23314b5)
- Add custom onAccept callback to extend the default one #CCM-19 (8ed95ba)
- Add translations for cs, en, sk and pl language #CCM-10 (1743866)
- Configure consent levels #CCM-12 (703cf98)
- Configure plugin defaults (bd6309f)
- Make language autodetection easily configurable #CCM-26 (4404a9a)
- Provide cookieConsent instance to callbacks #CCM-24 (9232b09)
- Push info to dataLayer on accept (4203092)
- Rename default language settings to defaultLang to make it more understandable #CCM-26 (6635813)
- Return CookieConsent instance from the init function (b217059)
- Save distribution files for instant usage and examples (d9964f3)
0.1.0 (2021-10-19)
- Build package using ESbuild (19ff586)
- Introduce prettier and reformat files using default lmc config (8c433a2)
- Lint css using github action (2b7f4dd)
- Build and rename distribution files (bdb0f89)
- Bump sass to 1.43.2 (63e57e3)
- Documentation of usage and configuration (6db08fa)