Skip to content

Commit

Permalink
Merge pull request #623 from vizzuhq/release-0.16
Browse files Browse the repository at this point in the history
Set version to 0.16.0
  • Loading branch information
veghdev authored Nov 28, 2024
2 parents 30b7178 + 1a4dd74 commit 5dd2cd0
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-vizzu-dev-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- name: Build and Publish
run: |
IMAGE="vizzu-dev-desktop"
IMAGE_NAME="vizzu/$IMAGE:0.15"
IMAGE_NAME="vizzu/$IMAGE:0.16"
docker build -t $IMAGE_NAME -f tools/ci/docker/$IMAGE .
docker push $IMAGE_NAME
2 changes: 1 addition & 1 deletion .github/workflows/docker-vizzu-dev-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- name: Build and Publish
run: |
IMAGE="vizzu-dev-wasm"
IMAGE_NAME="vizzu/$IMAGE:0.15"
IMAGE_NAME="vizzu/$IMAGE:0.16"
docker build -t $IMAGE_NAME -f tools/ci/docker/$IMAGE .
docker push $IMAGE_NAME
37 changes: 21 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,45 @@

## [Unreleased]

## [0.16.0] - 2024-11-28

### Fixed

- Fix align on fake-split charts
- Drilldown on split chart is fade.
- Fix aggregate on split chart.
- Do not interpolate hiding/showing legend
- Fix aggregator interface for 'set' channel parameter:
- Remove rare fantom empty marker space on scrollable legend.
- Same legend with different series are not interpolated.
- Different legend with same series are interpolated.
- Invisible axis labels are not draw.
- Fix chaotic axis labels on sorted chart with multiple dimension.
- Fix dimension axis guides on sorted chart.
- Fix NaN handling on axes and size measures other aggregators than sum.
- Do not draw dimension axis labels when the middle of the text is off the plot.

### Changed

- Mekko charts: The main axis handled as dimension.
- Change aggregator interface for 'set' channel parameter:
- From now not accepted the same dimension on the same channel.
- From now, it is prohibited to set multiple measure on one channel.
- From now, it is prohibited to set only aggregator without series name.
- Fix series parsing when aggregator comes first.
- Fix disappearing dimension when aggregated dimension was already set.
- Fix legend with multiple dimension duplicated markers:
- Fix disappearing dimension when aggregated dimension was already set.
- Change legend with multiple dimension duplicated markers:
- Markers of color are never merged.
- Markers of size are always merged.
- Markers of lightness are only merged when labelLevel == 0.
- When merge happens, the marker shows the middle value of lightness.
- Remove rare fantom empty marker space on scrollable legend.
- Same legend with different series are not interpolated.
- Different legend with same series are interpolated.
- Invisible axis labels are not draw.
- Fix chaotic axis labels on sorted chart with multiple dimension.
- Fix Mekko charts: The main axis handled as dimension.
- LabelLevel can be used to handle measure axis as dimension axis.
- Enable dimension axis ticks and interlacing.
- Enable measure axis guides.
- Fix dimension axis guides on sorted chart.
- Fix NaN handling on axes and size measures other aggregators than sum.
- Add meaning to crossing interlacing.
- Do not draw dimension axis labels when the middle of the text is off the plot.

### Added

- Add spacing property for plot axis style structure.
- LabelLevel can be used to handle measure axis as dimension axis.
- Enable dimension axis ticks and interlacing.
- Enable measure axis guides.
- Add meaning to crossing interlacing.

## [0.15.0] - 2024-10-28

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ docker run -i -t -v .:/workspace vizzu/vizzu-dev-desktop bash
or you can use a specific version of the prebuilt image:

```sh
docker run -i -t -v .:/workspace vizzu/vizzu-dev-desktop:0.15 bash
docker run -i -t -v .:/workspace vizzu/vizzu-dev-desktop:0.16 bash
```

Run the following commands to build and run the `WASM` version's development
Expand All @@ -84,7 +84,7 @@ docker run -i -t -v .:/workspace vizzu/vizzu-dev-wasm bash
or you can use a specific version of the prebuilt image:

```sh
docker run -i -t -v .:/workspace vizzu/vizzu-dev-wasm:0.15 bash
docker run -i -t -v .:/workspace vizzu/vizzu-dev-wasm:0.16 bash
```

### Building the project
Expand Down
2 changes: 1 addition & 1 deletion src/chart/main/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

#include "base/app/version.h"

const App::Version Vizzu::Main::version(0, 15, 0);
const App::Version Vizzu::Main::version(0, 16, 0);

const char *const Vizzu::Main::siteUrl = "https://vizzu.io/";
9 changes: 9 additions & 0 deletions src/dataframe/old/datatable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ void SeriesIndex::setAggr(const std::string &aggr)
aggregator = Refl::get_enum<dataframe::aggregator_type>(aggr);
}

std::string SeriesIndex::toJSON() const
{
std::string res;
Conv::JSONObj obj{res};
obj("name", name);
if (aggregator) obj("aggregator", Conv::toString(*aggregator));
return res;
}

DataCube::iterator_t DataCube::begin() const
{
iterator_t res{this,
Expand Down
6 changes: 1 addition & 5 deletions src/dataframe/old/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@ class SeriesIndex

[[nodiscard]] bool isDimension() const { return !aggregator; }

[[nodiscard]] consteval static auto members()
{
return std::tuple{&SeriesIndex::name,
&SeriesIndex::aggregator};
}
[[nodiscard]] std::string toJSON() const;
};

using SeriesList = Type::UniqueList<SeriesIndex>;
Expand Down
26 changes: 13 additions & 13 deletions tools/ci/gcp/cloudbuild/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ steps:
id: pull_wasm
waitFor:
- '-'
args: ['pull', 'vizzu/vizzu-dev-wasm:0.15']
args: ['pull', 'vizzu/vizzu-dev-wasm:0.16']

- name: 'gcr.io/cloud-builders/docker'
id: pull_desktop
waitFor:
- '-'
args: ['pull', 'vizzu/vizzu-dev-desktop:0.15']
args: ['pull', 'vizzu/vizzu-dev-desktop:0.16']

- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: init
waitFor:
- pull_wasm
Expand All @@ -24,7 +24,7 @@ steps:
./tools/ci/run/init-py.sh
dir: /workspace

- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: check_src
waitFor:
- init
Expand All @@ -41,7 +41,7 @@ steps:
npm run lint:src
fi
dir: /workspace
- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: check_docs
waitFor:
- init
Expand All @@ -58,7 +58,7 @@ steps:
npm run lint:docs
fi
dir: /workspace
- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: check_tools
waitFor:
- init
Expand All @@ -77,7 +77,7 @@ steps:
fi
dir: /workspace

- name: vizzu/vizzu-dev-desktop:0.15
- name: vizzu/vizzu-dev-desktop:0.16
id: build_desktop_clangformat
waitFor:
- pull_desktop
Expand All @@ -97,7 +97,7 @@ steps:
fi
dir: /workspace

- name: vizzu/vizzu-dev-desktop:0.15
- name: vizzu/vizzu-dev-desktop:0.16
id: build_desktop_clangtidy
waitFor:
- build_desktop_clangformat
Expand All @@ -113,7 +113,7 @@ steps:
./tools/ci/run/pkg-build-desktop-clangtidy.sh
fi
dir: /workspace
- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: build_wasm
waitFor:
- build_desktop_clangformat
Expand All @@ -134,7 +134,7 @@ steps:
./tools/ci/run/pkg-build-js.sh
dir: /workspace

- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: lib_sha
waitFor:
- build_wasm
Expand All @@ -157,7 +157,7 @@ steps:
fi
dir: /workspace

- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: test
waitFor:
- lib_sha
Expand All @@ -172,7 +172,7 @@ steps:
fi
dir: /workspace

- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: docs
waitFor:
- test
Expand Down Expand Up @@ -215,7 +215,7 @@ steps:
- VIZZUHQ_GITHUB_USER
- VIZZUHQ_GITHUB_EMAIL

- name: vizzu/vizzu-dev-wasm:0.15
- name: vizzu/vizzu-dev-wasm:0.16
id: publish
waitFor:
- docs
Expand Down

0 comments on commit 5dd2cd0

Please sign in to comment.