From 66a108af8417809c4cc1bf309e0fd4fb7df342f7 Mon Sep 17 00:00:00 2001 From: Wan Qi Chen <495709+wa0x6e@users.noreply.github.com> Date: Fri, 17 Mar 2023 00:50:37 +0400 Subject: [PATCH] release: releasing 4.2.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 6 +++++- src/version.ts | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5755692..0e0711ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## v4.2.0 [2023-03-17] + +## Features + +- [feat] dataset values should accept string type +- [feat] extract DomainSubLabel into a plugin +- [feat] allow multiple instances of same plugin to co-exist +- [feat] refactor all CSS classnames, for a more consistent naming +- [feat] add defaultValue option to set a default value for missing values in dataset + +## Bugfixes + +- [fix] fix remaining wrong templates name, which should be migrated to snakeCase +- [fix] fix CalendarLabel missing coordinates on repaint +- [fix] fix missing dark theme style for Legend plugin + +### BREAKING CHANGES + +- All CSS classname have been refactor, plase update your CSS if required +- `domain.subLabel` option has been extracted to `CalendarLabel` plugin + ## v4.1.0 [2023-02-28] ## Features diff --git a/package-lock.json b/package-lock.json index aec5691a..b07208fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cal-heatmap", - "version": "4.1.0", + "version": "4.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cal-heatmap", - "version": "4.1.0", + "version": "4.2.0", "license": "MIT", "dependencies": { "@observablehq/plot": "^0.6.0", diff --git a/package.json b/package.json index ad5f455b..264c6e86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cal-heatmap", - "version": "4.1.0", + "version": "4.2.0", "description": "Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data", "keywords": [ "calendar", @@ -27,6 +27,10 @@ "./plugins/LegendLite": { "import": "./dist/plugins/LegendLite.esm.js", "require": "./dist/plugins/LegendLite.js" + }, + "./plugins/CalendarLabel": { + "import": "./dist/plugins/CalendarLabel.esm.js", + "require": "./dist/plugins/CalendarLabel.js" } }, "directories": { diff --git a/src/version.ts b/src/version.ts index e7392269..624d03f3 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ -const VERSION = '4.0.0'; +const VERSION = '4.2.0'; export default VERSION;