Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #633

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7360db4
copyright update
veghdev Feb 4, 2025
6651496
ubuntu update
veghdev Feb 4, 2025
abe9c24
github action update
veghdev Feb 4, 2025
77a4e47
cloudbuild update
veghdev Feb 4, 2025
211ad33
nodejs and python update
veghdev Feb 4, 2025
39f6679
gcc, clang, emsdk update 1
veghdev Feb 4, 2025
ebc3744
fix action
veghdev Feb 4, 2025
3cef2de
fix python install
veghdev Feb 4, 2025
057ba02
emsdk update
veghdev Feb 4, 2025
340660f
Merge branch 'main' into update3
veghdev Feb 5, 2025
c24835b
clang-format
schaumb Feb 5, 2025
44adb29
new clang-tidys
schaumb Feb 5, 2025
a0a19cd
fix python cersion check
veghdev Feb 6, 2025
287eb29
update email and python deps
veghdev Feb 6, 2025
7c40592
format docs py
veghdev Feb 6, 2025
17f1c61
fix tools pylint
veghdev Feb 6, 2025
2a4e376
fix clang format
veghdev Feb 6, 2025
3753045
clang-format tests
schaumb Feb 6, 2025
7d3c419
update docker github action
veghdev Feb 6, 2025
f5e13a5
rename docker
veghdev Feb 6, 2025
aa15fe2
fix clang-tidy on test.
schaumb Feb 6, 2025
a0b03de
another problem in clang-tidy build...
schaumb Feb 6, 2025
dd42833
remove old clang codes
schaumb Feb 6, 2025
60cfef1
update npm dependencies
veghdev Feb 6, 2025
233349c
fix eslint config, docker update
veghdev Feb 6, 2025
9079e42
change docker upgrade to workflow_dispatch
veghdev Feb 6, 2025
77c8a5d
update contributing
veghdev Feb 6, 2025
e126e95
replace env changed hashes
veghdev Feb 10, 2025
14e4a1f
run tests with 1 browser
veghdev Feb 10, 2025
80c43a9
run tests with 2 browser
veghdev Feb 10, 2025
f75c42b
run tests with 5 browser
veghdev Feb 10, 2025
4e1e702
fix format
veghdev Feb 10, 2025
d4c0bee
run tests with 4 browser
veghdev Feb 10, 2025
a48b06b
run tests with 3 browsers
veghdev Feb 10, 2025
38e1ff3
fix gen reference
veghdev Feb 11, 2025
079beaf
fix doc ref links
veghdev Feb 11, 2025
c656a32
fix doc nested list
veghdev Feb 11, 2025
4f35231
fix reference index
veghdev Feb 11, 2025
6917f37
update py deps
veghdev Feb 13, 2025
3925550
fix docs tutorial aggreageting data titles
veghdev Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ IndentExternBlock: NoIndent
KeepEmptyLinesAtTheStartOfBlocks: true
SpacesInContainerLiterals: false
SpaceAfterTemplateKeyword: true
AllowShortLambdasOnASingleLine: None
AllowShortLambdasOnASingleLine: Empty
AlignAfterOpenBracket: DontAlign

IncludeCategories:
Expand Down
33 changes: 0 additions & 33 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Trigger Cloud Build
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/docker-vizzu-dev-desktop.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
name: Docker publish vizzu-dev-desktop

on:
pull_request:
branches-ignore:
- main
paths:
- '**/vizzu-dev-desktop'
- '**/docker-vizzu-dev-desktop.yml'
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -24,6 +19,6 @@ jobs:
- name: Build and Publish
run: |
IMAGE="vizzu-dev-desktop"
IMAGE_NAME="vizzu/$IMAGE:0.16"
IMAGE_NAME="vizzu/$IMAGE:0.17pre"
docker build -t $IMAGE_NAME -f tools/ci/docker/$IMAGE .
docker push $IMAGE_NAME
13 changes: 4 additions & 9 deletions .github/workflows/docker-vizzu-dev-wasm.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
name: Docker publish vizzu-dev-wasm

on:
pull_request:
branches-ignore:
- main
paths:
- '**/vizzu-dev-wasm'
- '**/docker-vizzu-dev-wasm.yml'
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -24,6 +19,6 @@ jobs:
- name: Build and Publish
run: |
IMAGE="vizzu-dev-wasm"
IMAGE_NAME="vizzu/$IMAGE:0.16"
IMAGE_NAME="vizzu/$IMAGE:0.17pre"
docker build -t $IMAGE_NAME -f tools/ci/docker/$IMAGE .
docker push $IMAGE_NAME
2 changes: 1 addition & 1 deletion .github/workflows/slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
notify_merged_pr:
name: Notify on merged PR
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.event.pull_request.merged == true }}
steps:
- uses: abinoda/slack-action@master
Expand Down
50 changes: 25 additions & 25 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ community include:
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
and learning from the experience
- Attempting collaboration before conflict
- Sharing your knowledge and ask questions
- Giving credit when the credit is deserved
Expand All @@ -40,17 +40,17 @@ Examples of unacceptable behavior include:

- Violence, threats of violence, or inciting others to commit self-harm
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
advances
- Trolling, intentionally spreading misinformation, insulting/derogatory
comments, and personal or political attacks
comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
address, without explicit permission
- Represent someone else’s work or words as your own
- Abuse of the reporting process to intentionally harass or exclude others
- Advocating for, or encouraging, any of the above behavior
- Other conduct which could reasonably be considered inappropriate in a
professional setting
professional setting

## Enforcement Responsibilities

Expand Down Expand Up @@ -87,29 +87,29 @@ Project maintainers will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

- Correction Community Impact: Use of inappropriate language or other behavior
deemed unprofessional or unwelcome in the community. Consequence: A private,
written warning from Project maintainers, providing clarity around the nature
of the violation and an explanation of why the behavior was inappropriate. A
public apology may be requested.
deemed unprofessional or unwelcome in the community. Consequence: A private,
written warning from Project maintainers, providing clarity around the
nature of the violation and an explanation of why the behavior was
inappropriate. A public apology may be requested.
- Warning Community Impact: A violation through a single incident or series of
actions. Consequence: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external
channels like social media. Violating these terms may lead to a temporary or
permanent ban.
actions. Consequence: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external
channels like social media. Violating these terms may lead to a temporary or
permanent ban.
- Temporary Ban Community Impact: A serious violation of community standards,
including sustained inappropriate behavior. Consequence: A temporary ban from
any sort of interaction or public communication with the community for a
specified period of time. No public or private interaction with the people
involved, including unsolicited interaction with those enforcing the Code of
Conduct, is allowed during this period. Violating these terms may lead to a
permanent ban.
including sustained inappropriate behavior. Consequence: A temporary ban
from any sort of interaction or public communication with the community for
a specified period of time. No public or private interaction with the people
involved, including unsolicited interaction with those enforcing the Code of
Conduct, is allowed during this period. Violating these terms may lead to a
permanent ban.
- Permanent Ban Community Impact: Demonstrating a pattern of violation of
community standards, including sustained inappropriate behavior, harassment of
an individual, or aggression toward or disparagement of classes of
individuals. Consequence: A permanent ban from any sort of public interaction
within the community.
community standards, including sustained inappropriate behavior, harassment
of an individual, or aggression toward or disparagement of classes of
individuals. Consequence: A permanent ban from any sort of public
interaction within the community.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
Expand Down
41 changes: 25 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ mind, that's awesome and we are very interested in hearing about it.
### Development environment

The following steps demonstrate how to set up the development environment on an
`Ubuntu` `22.04` operating system. However, the process can be adapted for other
`Ubuntu` `24.04` operating system. However, the process can be adapted for other
operating systems as well.

To contribute to the `JavaScript` part of the project, it is recommended to use
`Node.js` `18`.
`Node.js` `22`.

Run the following command to install the `JavaScript` development dependencies:

Expand All @@ -41,7 +41,7 @@ the command `npm run lock:js`.

However, for the documentation we are also using `Python`. If you plan to
contribute to this part of the project, you will need `Python`, preferably
version `3.10`.
version `3.13`.

Run the following command to install the `Python` development dependencies:

Expand All @@ -59,6 +59,14 @@ To contribute to the `C++` part of the project, it is recommended to use
`Docker`, but based on the `Dockerfiles` below, you can also configure the
necessary dependencies on your local machine.

**Note:** If you need to change the environment you need to manually update the
docker images:

```sh
gh workflow run "Docker publish vizzu-dev-desktop" --ref <branch>
gh workflow run "Docker publish vizzu-dev-wasm" --ref <branch>
```

Run the following commands to build and run the `Desktop` version's development
environment

Expand Down Expand Up @@ -131,9 +139,10 @@ Run the following script in the running `vizzu-dev-wasm` container to build the
**Note:** To debug WASM version under Chrome:

- set Chrome/DevTools/Settings/Experiments/'WebAssembly Debugging: Enable DWARF
support' to true
- set \[repo\]/project/cmake/emcc.txt: CMAKE_EXE_LINKER_FLAGS_DEBUG
--source-map-base to the URL where the browser can find cvizzu.wasm.map file.
support' to true
- set [repo]/project/cmake/emcc.txt: CMAKE_EXE_LINKER_FLAGS_DEBUG
--source-map-base to the URL where the browser can find cvizzu.wasm.map
file.

#### Building npm package

Expand Down Expand Up @@ -250,17 +259,17 @@ sometimes unstable changes.

- build from the `HEAD` commit of the main branch:

https://vizzu-lib-main.storage.googleapis.com/lib/vizzu.js
https://vizzu-lib-main.storage.googleapis.com/lib/vizzu.js

and the minified, boundled version:
and the minified, boundled version:

https://vizzu-lib-main.storage.googleapis.com/lib/vizzu.min.js
https://vizzu-lib-main.storage.googleapis.com/lib/vizzu.min.js

- all builds of the past 30 days:

https://vizzu-lib-main-sha.storage.googleapis.com/lib-HASH/vizzu.js
https://vizzu-lib-main-sha.storage.googleapis.com/lib-HASH/vizzu.js

where `HASH` is the first 7 character of the commit's git hash.
where `HASH` is the first 7 character of the commit's git hash.

### Documentation

Expand Down Expand Up @@ -297,12 +306,12 @@ To release `Vizzu`, follow the steps below:
- You should increase the version number in `src/chart/main/version.cpp`.

- If the major or minor version has changed, increase the version in
`.github/workflows/docker-vizzu-dev-desktop.yml`,
`.github/workflows/docker-vizzu-dev-wasm.yml`,
`tools/ci/gcp/cloudbuild/cloudbuild.yaml` and `CONTRIBUTING.md`.
`.github/workflows/docker-vizzu-dev-desktop.yml`,
`.github/workflows/docker-vizzu-dev-wasm.yml`,
`tools/ci/gcp/cloudbuild/cloudbuild.yaml` and `CONTRIBUTING.md`.

- Set the release and release date in `CHANGELOG.md`, under the `Unreleased`
title.
title.

- Create the release notes from `CHANGELOG.md` and publish the new release on
[Releases](https://github.com/vizzuhq/vizzu-lib/releases).
[Releases](https://github.com/vizzuhq/vizzu-lib/releases).
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Vizzu
Copyright 2021-2024 Vizzu Inc.
Copyright 2021-2025 Vizzu Inc.

This product includes software developed at Vizzu Inc.
32 changes: 16 additions & 16 deletions PROJECTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ send a pull request.
Official:

- Bindings
- \[[ipyvizzu](https://github.com/vizzuhq/ipyvizzu)\] **Jupyter Notebook**
integration for Vizzu
- \[[ipyvizzu](https://github.com/vizzuhq/ipyvizzu)\] **Jupyter Notebook**
integration for Vizzu
- Extensions
- \[[vizzu-story-js](https://github.com/vizzuhq/vizzu-story-js)\]
**Presentation** control extension for Vizzu data stories
- \[[vizzu-ext-js-scrollytelling](https://github.com/vizzuhq/vizzu-ext-js-scrollytelling)\]
**ScrollyTelling** extension for articles with Vizzu
- \[[vizzu-story-js](https://github.com/vizzuhq/vizzu-story-js)\]
**Presentation** control extension for Vizzu data stories
- \[[vizzu-ext-js-scrollytelling](https://github.com/vizzuhq/vizzu-ext-js-scrollytelling)\]
**ScrollyTelling** extension for articles with Vizzu
- Templates
- \[[vizzu-webpack-demo](https://github.com/vizzuhq/vizzu-webpack-demo)\]
Howto and example for using Vizzu with **Webpack**
- \[[vizzu-react-example](https://github.com/vizzuhq/vizzu-react-example)\]
Howto and example for using Vizzu with **React**
- \[[vizzu-vite-demo](https://github.com/vizzuhq/vizzu-vite-demo)\] Howto and
example for using Vizzu with **Vite**
- \[[vizzu-pyscript-example](https://github.com/vizzuhq/vizzu-pyscript-example)\]
Howto and example for using Vizzu in **PyScript**
- \[[vizzu-webpack-demo](https://github.com/vizzuhq/vizzu-webpack-demo)\]
Howto and example for using Vizzu with **Webpack**
- \[[vizzu-react-example](https://github.com/vizzuhq/vizzu-react-example)\]
Howto and example for using Vizzu with **React**
- \[[vizzu-vite-demo](https://github.com/vizzuhq/vizzu-vite-demo)\] Howto and
example for using Vizzu with **Vite**
- \[[vizzu-pyscript-example](https://github.com/vizzuhq/vizzu-pyscript-example)\]
Howto and example for using Vizzu in **PyScript**

Unofficial:

- \[[christopher-caldwell/vizzu-vite-demo](https://github.com/christopher-caldwell/vizzu-vite-demo)\]
Starter template on running Vizzu with **Vite**
Starter template on running Vizzu with **Vite**
- \[[triptych/hello-vizzu](https://observablehq.com/@triptych/hello-vizzu)\]
**Observable** Vizzu example
**Observable** Vizzu example
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Or use it from CDN:
</script>
</head>
</html>

```

## Usage
Expand All @@ -68,7 +67,6 @@ Create a placeholder element that will contain the rendered chart:
</div>
</body>
</html>

```

Create a simple bar chart:
Expand Down Expand Up @@ -138,14 +136,17 @@ We welcome contributions to the project, visit our contributing
## Contact

- Join our Slack:
[vizzu-community.slack.com](https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg)
- Drop us a line at [email protected]
[vizzu-community.slack.com](https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg)


- Drop us a line at [email protected]

- Follow us on Twitter:
[https://twitter.com/VizzuHQ](https://twitter.com/VizzuHQ)
[https://twitter.com/VizzuHQ](https://twitter.com/VizzuHQ)

## License

Copyright © 2021-2024 [Vizzu Inc.](https://vizzuhq.com)
Copyright © 2021-2025 [Vizzu Inc.](https://vizzuhq.com)

Released under the
[Apache 2.0 License](https://lib.vizzuhq.com/latest/LICENSE/).
Loading