From 17295212aecd20dd18f7e7b39920c3eacf50d6d7 Mon Sep 17 00:00:00 2001 From: David Vegh Date: Wed, 20 Dec 2023 14:06:31 +0100 Subject: [PATCH 1/6] Set version to 0.9.3 --- CHANGELOG.md | 2 ++ src/chart/main/version.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b1ea232f..b6730db8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.9.3] - 2023-12-20 + ### Fixed - Corrected listing of Type-fest dependency from development to normal. diff --git a/src/chart/main/version.cpp b/src/chart/main/version.cpp index 2539ccbe9..12c76ec28 100644 --- a/src/chart/main/version.cpp +++ b/src/chart/main/version.cpp @@ -1,5 +1,5 @@ #include "version.h" -const App::Version Vizzu::Main::version(0, 9, 2); +const App::Version Vizzu::Main::version(0, 9, 3); const char *const Vizzu::Main::siteUrl = "https://vizzuhq.com/"; From 4b221906efc3e3fff3f6d483837100850273ff25 Mon Sep 17 00:00:00 2001 From: David Vegh Date: Wed, 20 Dec 2023 15:09:01 +0100 Subject: [PATCH 2/6] fixed test hash Updated Puppeteer in the previous pr (caused warning there) --- test/e2e/test_cases/test_cases.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/test_cases/test_cases.json b/test/e2e/test_cases/test_cases.json index 5ab17ddb7..c1a449f4d 100644 --- a/test/e2e/test_cases/test_cases.json +++ b/test/e2e/test_cases/test_cases.json @@ -299,7 +299,7 @@ "refs": ["b61766f"] }, "operations/orientation_tutorial_data/line_orientation": { - "refs": ["6e4f82e"] + "refs": ["e90c2a0"] }, "operations/orientation_tutorial_data/rectangle_orientation": { "refs": ["5af7144"] From bf7d02ed80420c688b1cc1bcc4c87c355a9f57ed Mon Sep 17 00:00:00 2001 From: David Vegh Date: Wed, 20 Dec 2023 15:16:45 +0100 Subject: [PATCH 3/6] e2e test turn on --Werror sameref --- tools/ci/run/test-gsutil.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/run/test-gsutil.sh b/tools/ci/run/test-gsutil.sh index bb87110a4..453c8510d 100755 --- a/tools/ci/run/test-gsutil.sh +++ b/tools/ci/run/test-gsutil.sh @@ -1,7 +1,7 @@ #!/bin/bash SHORT_SHA="$1" -npm test -- --vizzu /dist/vizzu.min.js --hashes ALL --maxFailedImages 100 || TEST_FAILED=true +npm test -- --vizzu /dist/vizzu.min.js --Werror sameref --hashes ALL --maxFailedImages 100 || TEST_FAILED=true tar -czvf test/e2e/test_report.tgz test/e2e/test_report/ || TGZ_FAILED=true gsutil cp "test/e2e/test_report.tgz" "gs://vizzu-lib-main-sha/lib-$SHORT_SHA/test_report.tgz" || GSUTIL_FAILED=true if [ "$TEST_FAILED" == "true" ] || [ "$TGZ_FAILED" == "true" ] || [ "$GSUTIL_FAILED" == "true" ]; then From 083bc66846c0866819b519d5a84a6e185453ca9a Mon Sep 17 00:00:00 2001 From: David Vegh Date: Wed, 20 Dec 2023 15:47:46 +0100 Subject: [PATCH 4/6] Remove CHANGELOG from the npm package --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 365961320..82837bded 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "./*.json": "./*.json" }, "files": [ - "CHANGELOG.md", "LICENSE", "package.json", "README.md", From 29d8deda1702acee7576e1a12ca628fd54573c36 Mon Sep 17 00:00:00 2001 From: David Vegh Date: Wed, 20 Dec 2023 16:31:48 +0100 Subject: [PATCH 5/6] fixed changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6730db8f..fcf4110d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Fixed +- Orientation and channel min/max cannot be null, only auto - Corrected listing of Type-fest dependency from development to normal. - Added missing `cvizzu.d.ts` and `cvizzu.types.d.ts` to the npm package. - Logo positioning issue in charts when only the logo is rendered and the chart is resized. @@ -25,7 +26,6 @@ - Fixed redraw on browser zoom (bug since 0.9.0). - Fixed clearing of the canvas before rendering when devicePixelRatio is not 1. - TypeScript definition fixed, measures can contain null values. -- Orientation and channel min/max cannot be null, only auto ### Added From e8b09e22208b29cb1606670a458a1081fbd0bb60 Mon Sep 17 00:00:00 2001 From: David Vegh Date: Wed, 20 Dec 2023 16:44:29 +0100 Subject: [PATCH 6/6] added showcases scripts --- package.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 82837bded..36c7256ee 100644 --- a/package.json +++ b/package.json @@ -57,14 +57,16 @@ "format:tools": "npm-run-all format-tools:*", "format-tools:js": "npx prettier -c tools/ci tools/docs .eslintrc.cjs .puppeteerrc.cjs .github", "format-tools:py": "./tools/ci/run/format-black-py.sh --diff --check tools", + "format-showcases": "npx prettier -c vizzu-lib-doc/docs vizzu-lib-doc/.github", "lint": "npm-run-all lint:*", "lint:src": "npm-run-all lint-src:*", - "lint-src:js": "npx eslint --ext .js,.cjs,.mjs,.ts --config .eslintrc.cjs src test", + "lint-src:js": "npx eslint --config .eslintrc.cjs src test", "lint:docs": "npm-run-all lint-docs:*", - "lint-docs:js": "npx eslint --ext .js,.cjs,.mjs --config .eslintrc.cjs docs", + "lint-docs:js": "npx eslint --config .eslintrc.cjs docs", "lint:tools": "npm-run-all lint-tools:*", - "lint-tools:js": "npx eslint --ext .js,.cjs,.mjs --config .eslintrc.cjs tools/ci tools/docs .eslintrc.cjs", + "lint-tools:js": "npx eslint --config .eslintrc.cjs tools/ci tools/docs .eslintrc.cjs", "lint-tools:py": "./tools/ci/run/lint-pylint-py.sh tools", + "lint-showcases": "npx eslint --config .eslintrc.cjs vizzu-lib-doc/docs", "type": "npm-run-all type:*", "type:src": "npm-run-all type-src:*", "type-src:js": "npx check-dts ./test/dts/vizzu.d.ts", @@ -94,13 +96,15 @@ "fix-format:tools": "npm-run-all fix-format-tools:*", "fix-format-tools:js": "npx prettier -w tools/ci tools/docs .eslintrc.cjs .puppeteerrc.cjs .github", "fix-format-tools:py": "./tools/ci/run/format-black-py.sh tools", + "fix-format-showcases": "npx prettier -w vizzu-lib-doc/docs vizzu-lib-doc/.github", "fix-lint": "npm-run-all fix-lint:*", "fix-lint:src": "npm-run-all fix-lint-src:*", - "fix-lint-src:js": "npx eslint --fix --ext .js,.cjs,.mjs --config .eslintrc.cjs src test", + "fix-lint-src:js": "npx eslint --fix --config .eslintrc.cjs src test", "fix-lint:docs": "npm-run-all fix-lint-docs:*", - "fix-lint-docs:js": "npx eslint --fix --ext .js,.cjs,.mjs --config .eslintrc.cjs docs", + "fix-lint-docs:js": "npx eslint --fix --config .eslintrc.cjs docs", "fix-lint:tools": "npm-run-all fix-lint-tools:*", - "fix-lint-tools:js": "npx eslint --fix --ext .js,.cjs,.mjs --config .eslintrc.cjs tools/ci tools/docs .eslintrc.cjs", + "fix-lint-tools:js": "npx eslint --fix --config .eslintrc.cjs tools/ci tools/docs .eslintrc.cjs", + "fix-lint-showcases": "npx eslint --fix --config .eslintrc.cjs vizzu-lib-doc/docs", "gen-thumbnail": "./tools/ci/run/docs-gen-thumbnail.sh", "gen-thumbnail-gsutil": "./tools/ci/run/docs-gen-thumbnail-gsutil.sh", "build-docs": "./tools/ci/run/docs-build.sh",