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

Release 5.6.0 #8469

Merged
merged 71 commits into from Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
2f3c359
feat: Allow config to set default scale.zero per marktype (#8354)
yhoonkim Aug 16, 2022
57a6be4
docs: update selection toggle to conform with point selection behavio…
arvind Aug 17, 2022
2a7f1b3
ci: update contribution information (#8367)
lsh Aug 18, 2022
5ae526f
fix: first interaction workflow yml (#8369)
lsh Aug 18, 2022
29e223e
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.33.0 to…
dependabot[bot] Aug 22, 2022
c25bb9f
chore(deps-dev): bump eslint-plugin-jest from 26.8.2 to 26.8.7 (#8373)
dependabot[bot] Aug 22, 2022
3ada8ae
chore(deps-dev): bump rollup from 2.78.0 to 2.78.1 (#8372)
dependabot[bot] Aug 22, 2022
01e1fd6
chore(deps-dev): bump @typescript-eslint/parser from 5.33.0 to 5.33.1…
dependabot[bot] Aug 22, 2022
bd8d819
chore(release): bump package.json version to v5.6.0 (#8378)
hydrosquall Aug 23, 2022
8d05ce5
chore(deps-dev): bump terser from 5.14.2 to 5.15.0 (#8386)
dependabot[bot] Aug 29, 2022
b3bb331
chore(deps-dev): bump typescript from 4.7.4 to 4.8.2 (#8385)
dependabot[bot] Aug 29, 2022
883b5e3
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.33.1 to…
dependabot[bot] Aug 29, 2022
886feb5
chore(deps-dev): bump @babel/core from 7.18.10 to 7.18.13 (#8382)
dependabot[bot] Aug 29, 2022
93d1246
chore(deps-dev): bump eslint from 8.22.0 to 8.23.0 (#8381)
dependabot[bot] Aug 29, 2022
192a1a4
chore(deps-dev): bump @typescript-eslint/parser from 5.33.1 to 5.35.1…
dependabot[bot] Aug 29, 2022
e019e83
chore(deps-dev): bump eslint-plugin-jest from 26.8.7 to 27.0.1 (#8387)
dependabot[bot] Aug 29, 2022
60f7258
fix: Set package.json version to 5.5.0 (re-sync with stable) (#8388)
hydrosquall Aug 30, 2022
5c7804a
docs: remove redundant word (#8392)
danielmalaton Aug 31, 2022
a437d80
chore(deps-dev): bump rollup from 2.78.1 to 2.79.0 (#8399)
dependabot[bot] Sep 5, 2022
53c3500
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.35.1 to…
dependabot[bot] Sep 5, 2022
6186197
chore(deps-dev): bump @typescript-eslint/parser from 5.35.1 to 5.36.1…
dependabot[bot] Sep 5, 2022
7e2f5ee
chore(deps-dev): bump @babel/core from 7.18.13 to 7.19.0 (#8406)
dependabot[bot] Sep 12, 2022
a5e08d3
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.36.1 to…
dependabot[bot] Sep 12, 2022
d2064d7
chore(deps-dev): bump typescript from 4.8.2 to 4.8.3 (#8404)
dependabot[bot] Sep 12, 2022
9ef607e
chore(deps-dev): bump eslint from 8.23.0 to 8.23.1 (#8401)
dependabot[bot] Sep 12, 2022
0e689cb
chore(deps-dev): bump eslint-plugin-jest from 27.0.1 to 27.0.4 (#8400)
dependabot[bot] Sep 12, 2022
2d2afd4
chore(deps-dev): bump @babel/preset-env from 7.18.10 to 7.19.0 (#8403)
dependabot[bot] Sep 12, 2022
fb1dddf
chore(deps-dev): bump @typescript-eslint/parser from 5.36.1 to 5.36.2…
dependabot[bot] Sep 12, 2022
c2f7b74
chore(deps-dev): bump @rollup/plugin-node-resolve from 13.3.0 to 14.0…
dependabot[bot] Sep 12, 2022
62bee7e
fix(#8327): Boxplot set null quantitative to 0 (#8409)
yhoonkim Sep 13, 2022
07f338c
docs: fix typo in 1:1 mapping caveat in scale documentation (#8410)
mistidoi Sep 15, 2022
54f732e
chore(deps-dev): bump auto from 10.37.4 to 10.37.6 (#8420)
dependabot[bot] Sep 19, 2022
82a66e6
chore(deps-dev): bump @typescript-eslint/parser from 5.36.2 to 5.37.0…
dependabot[bot] Sep 19, 2022
02899c6
chore(deps-dev): bump @babel/core from 7.19.0 to 7.19.1 (#8417)
dependabot[bot] Sep 19, 2022
d53aefc
chore(deps-dev): bump @auto-it/conventional-commits from 10.37.4 to 1…
dependabot[bot] Sep 19, 2022
51dcb69
chore(deps-dev): bump @rollup/plugin-node-resolve from 14.0.1 to 14.1…
dependabot[bot] Sep 19, 2022
9958205
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.36.2 to…
dependabot[bot] Sep 19, 2022
0ea8665
chore(deps-dev): bump @babel/preset-env from 7.19.0 to 7.19.1 (#8416)
dependabot[bot] Sep 19, 2022
ae00be8
chore(deps-dev): bump @auto-it/first-time-contributor from 10.37.4 to…
dependabot[bot] Sep 19, 2022
ee3e944
chore(deps): bump commonmarker from 0.23.5 to 0.23.6 in /site (#8422)
dependabot[bot] Sep 22, 2022
51287cd
chore: upgrade deps (#8424)
domoritz Sep 22, 2022
2cffa88
docs: fix typo in "Dot Plot with Jittering" example (#8426)
sl-solution Sep 23, 2022
d4a0f4d
chore: fix typo
domoritz Sep 23, 2022
2315c92
chore(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1 (#8430)
dependabot[bot] Sep 26, 2022
d3dc45e
chore(deps-dev): bump eslint from 8.23.1 to 8.24.0 (#8429)
dependabot[bot] Sep 26, 2022
202b724
chore(deps-dev): bump ts-jest from 29.0.1 to 29.0.2 (#8428)
dependabot[bot] Sep 26, 2022
28257f3
docs: typo error (#8391)
danielmalaton Sep 26, 2022
fbea8ad
feat: remove flatmap polyfill (#8434)
domoritz Oct 1, 2022
5585bd7
chore(deps-dev): bump vega-datasets from 2.4.0 to 2.5.1 (#8444)
dependabot[bot] Oct 3, 2022
3496678
chore(deps-dev): bump @babel/preset-env from 7.19.1 to 7.19.3 (#8443)
dependabot[bot] Oct 3, 2022
b69486d
chore(deps-dev): bump ts-json-schema-generator from 1.1.1 to 1.1.2 (#…
dependabot[bot] Oct 3, 2022
618a7b7
chore(deps-dev): bump @typescript-eslint/parser from 5.38.0 to 5.38.1…
dependabot[bot] Oct 3, 2022
124b1ea
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.38.0 to…
dependabot[bot] Oct 3, 2022
fc3e3de
chore(deps-dev): bump typescript from 4.8.3 to 4.8.4 (#8436)
dependabot[bot] Oct 3, 2022
53afb59
chore(deps): bump yargs from 17.5.1 to 17.6.0 (#8439)
dependabot[bot] Oct 3, 2022
5d8f43c
chore(deps-dev): bump @babel/core from 7.19.1 to 7.19.3 (#8437)
dependabot[bot] Oct 3, 2022
4903736
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.38.1 to…
dependabot[bot] Oct 10, 2022
beb8d75
chore(deps-dev): bump eslint from 8.24.0 to 8.25.0 (#8459)
dependabot[bot] Oct 10, 2022
76661b9
chore(deps-dev): bump vega-datasets from 2.5.1 to 2.5.3 (#8458)
dependabot[bot] Oct 10, 2022
f366985
chore(deps-dev): bump eslint-plugin-jest from 27.0.4 to 27.1.1 (#8457)
dependabot[bot] Oct 10, 2022
d91ed06
chore(deps-dev): bump terser from 5.15.0 to 5.15.1 (#8464)
dependabot[bot] Oct 10, 2022
c8fec52
chore(deps-dev): bump ts-jest from 29.0.2 to 29.0.3 (#8445)
dependabot[bot] Oct 10, 2022
c97e30a
chore(deps-dev): bump @typescript-eslint/parser from 5.38.1 to 5.39.0…
dependabot[bot] Oct 10, 2022
e60cc6b
chore(deps-dev): bump @rollup/plugin-alias from 3.1.9 to 4.0.0 (#8462)
dependabot[bot] Oct 10, 2022
ac50b06
chore(deps-dev): bump @rollup/plugin-commonjs from 22.0.2 to 23.0.0 (…
dependabot[bot] Oct 10, 2022
d4591fb
fix(#6708): change domain order for union with (#8451)
ZacharyBys Oct 10, 2022
84501ab
fix: try to see if `fix:` without scope triggers shipit for #8451 (#8…
kanitw Oct 10, 2022
686b9d7
fix: update contributing.md (#8470)
kanitw Oct 10, 2022
93b4585
chore(deps-dev): bump @rollup/plugin-babel from 5.3.1 to 6.0.0 (#8455)
dependabot[bot] Oct 10, 2022
43d3dee
fix: Remove x2/y2 channels for overlaying line and point (#8472)
yhoonkim Oct 12, 2022
217e860
fix: Init the better orient for the ranged bar (#8475)
yhoonkim Oct 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Expand Up @@ -5,7 +5,6 @@ Please:
- Use imperative mood and present tense.
- Mention relevant issues in the description (e.g., `Fixes #1` / `Fixes part of #1`).
- [ ] Lint and test (Run `yarn test`).
- [ ] If you send a pull request from a fork, make sure that GitHub actions run successfully. Make sure to add a [`GH_PAT` secret](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets) for a [personal access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) with public repository permissions.
- [ ] Review your changes before sending the PR (to ensure code quality).
- For new features:
- [ ] Add new unit tests.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-toc.yml
Expand Up @@ -2,7 +2,7 @@ name: Check

on:
workflow_dispatch:
pull_request:
push:
paths:
- 'site/**'
- 'scripts/**'
Expand All @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.ref }}

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Expand Up @@ -2,7 +2,7 @@ name: Check

on:
workflow_dispatch:
pull_request:
push:

jobs:
check:
Expand All @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.ref }}

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/first-interaction.yml
@@ -0,0 +1,14 @@
name: 'First Interaction'

on:
pull_request:

jobs:
first-interaction:
name: First Interaction
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: 'Welcome to Vega. Since this is your first contribution, please make sure to read the [contributing guide](https://github.com/vega/vega-lite/blob/next/CONTRIBUTING.md).'
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -65,7 +65,7 @@ jobs:
run: yarn jest test/ --collectCoverage=true

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
uses: codecov/codecov-action@v3.1.1

test-cli:
name: CLI
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Expand Up @@ -2,6 +2,8 @@

Welcome to the Vega community. Everyone is welcome to contribute. We value all forms of contributions including code reviews, patches, examples, community participation, tutorial, and blog posts. In this document, we outline the guidelines for contributing to the various aspects of the project.

If you send a pull request from a fork, make sure that GitHub actions run successfully. Make sure to add a [`GH_PAT` secret](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets) for a [personal access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) with public repository permissions.

If you find a bug in the code or a mistake in the [documentation](https://vega.github.io/vega-lite/docs/) or want a new feature, you can help us by creating an issue to [our repository](https://github.com/vega/vega-lite), or even submit a pull request (PR).

- For small fixes, please feel free to submit a pull request. Don't worry about creating an issue first.
Expand Down Expand Up @@ -194,7 +196,7 @@ During development, it can be convenient to rebuild automatically or to run test

### Deployment

Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `publish.yml`. All changes should be based off the default `next` branch, and are published automatically.
Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `publish-to-npm.yml`. All changes should be based off the default `next` branch, and are published automatically.

- PRs made into the default branch are auto-deployed to the `next` pre-release tag on NPM. The result can be installed with `npm install vega-lite/@next`.
- When merging into `next`, please use the `squash and merge` strategy.
Expand Down
19 changes: 17 additions & 2 deletions build/vega-lite-schema.json
Expand Up @@ -4536,6 +4536,17 @@
],
"description": "The extent of the whiskers. Available options include:\n- `\"min-max\"`: min and max are the lower and upper whiskers respectively.\n- A number representing multiple of the interquartile range. This number will be multiplied by the IQR to determine whisker boundary, which spans from the smallest data to the largest data within the range _[Q1 - k * IQR, Q3 + k * IQR]_ where _Q1_ and _Q3_ are the first and third quartiles while _IQR_ is the interquartile range (_Q3-Q1_).\n\n__Default value:__ `1.5`."
},
"invalid": {
"description": "Defines how Vega-Lite should handle marks for invalid values (`null` and `NaN`).\n- If set to `\"filter\"` (default), all data items with null values will be skipped (for line, trail, and area marks) or filtered (for other marks).\n- If `null`, all data items are included. In this case, invalid values will be interpreted as zeroes.",
"enum": [
"filter",
null
],
"type": [
"string",
"null"
]
},
"median": {
"anyOf": [
{
Expand Down Expand Up @@ -18788,7 +18799,7 @@
"description": "With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain.\n\nOne of:\n- `\"global\"` -- only one brush exists for the entire SPLOM. When the user begins to drag, any previous brushes are cleared, and a new one is constructed.\n- `\"union\"` -- each cell contains its own brush, and points are highlighted if they lie within _any_ of these individual brushes.\n- `\"intersect\"` -- each cell contains its own brush, and points are highlighted only if they fall within _all_ of these individual brushes.\n\n__Default value:__ `global`.\n\n__See also:__ [`resolve` examples](https://vega.github.io/vega-lite/docs/selection.html#resolve) in the documentation."
},
"toggle": {
"description": "Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into multi selections.\n\nOne of:\n- `true` -- the default behavior, which corresponds to `\"event.shiftKey\"`. As a result, data values are toggled when the user interacts with the shift-key pressed.\n- `false` -- disables toggling behaviour; as the user interacts, data values are only inserted into the multi selection and never removed.\n- A [Vega expression](https://vega.github.io/vega/docs/expressions/) which is re-evaluated as the user interacts. If the expression evaluates to `true`, the data value is toggled into or out of the multi selection. If the expression evaluates to `false`, the multi selection is first clear, and the data value is then inserted. For example, setting the value to the Vega expression `\"true\"` will toggle data values without the user pressing the shift-key.\n\n__Default value:__ `true`\n\n__See also:__ [`toggle` examples](https://vega.github.io/vega-lite/docs/selection.html#toggle) in the documentation.",
"description": "Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into point selections.\n\nOne of:\n- `true` -- the default behavior, which corresponds to `\"event.shiftKey\"`. As a result, data values are toggled when the user interacts with the shift-key pressed.\n- `false` -- disables toggling behaviour; the selection will only ever contain a single data value corresponding to the most recent interaction.\n- A [Vega expression](https://vega.github.io/vega/docs/expressions/) which is re-evaluated as the user interacts. If the expression evaluates to `true`, the data value is toggled into or out of the point selection. If the expression evaluates to `false`, the point selection is first cleared, and the data value is then inserted. For example, setting the value to the Vega expression `\"true\"` will toggle data values without the user pressing the shift-key.\n\n__Default value:__ `true`\n\n__See also:__ [`toggle` examples](https://vega.github.io/vega-lite/docs/selection.html#toggle) in the documentation.",
"type": [
"string",
"boolean"
Expand Down Expand Up @@ -18856,7 +18867,7 @@
"description": "With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain.\n\nOne of:\n- `\"global\"` -- only one brush exists for the entire SPLOM. When the user begins to drag, any previous brushes are cleared, and a new one is constructed.\n- `\"union\"` -- each cell contains its own brush, and points are highlighted if they lie within _any_ of these individual brushes.\n- `\"intersect\"` -- each cell contains its own brush, and points are highlighted only if they fall within _all_ of these individual brushes.\n\n__Default value:__ `global`.\n\n__See also:__ [`resolve` examples](https://vega.github.io/vega-lite/docs/selection.html#resolve) in the documentation."
},
"toggle": {
"description": "Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into multi selections.\n\nOne of:\n- `true` -- the default behavior, which corresponds to `\"event.shiftKey\"`. As a result, data values are toggled when the user interacts with the shift-key pressed.\n- `false` -- disables toggling behaviour; as the user interacts, data values are only inserted into the multi selection and never removed.\n- A [Vega expression](https://vega.github.io/vega/docs/expressions/) which is re-evaluated as the user interacts. If the expression evaluates to `true`, the data value is toggled into or out of the multi selection. If the expression evaluates to `false`, the multi selection is first clear, and the data value is then inserted. For example, setting the value to the Vega expression `\"true\"` will toggle data values without the user pressing the shift-key.\n\n__Default value:__ `true`\n\n__See also:__ [`toggle` examples](https://vega.github.io/vega-lite/docs/selection.html#toggle) in the documentation.",
"description": "Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into point selections.\n\nOne of:\n- `true` -- the default behavior, which corresponds to `\"event.shiftKey\"`. As a result, data values are toggled when the user interacts with the shift-key pressed.\n- `false` -- disables toggling behaviour; the selection will only ever contain a single data value corresponding to the most recent interaction.\n- A [Vega expression](https://vega.github.io/vega/docs/expressions/) which is re-evaluated as the user interacts. If the expression evaluates to `true`, the data value is toggled into or out of the point selection. If the expression evaluates to `false`, the point selection is first cleared, and the data value is then inserted. For example, setting the value to the Vega expression `\"true\"` will toggle data values without the user pressing the shift-key.\n\n__Default value:__ `true`\n\n__See also:__ [`toggle` examples](https://vega.github.io/vega-lite/docs/selection.html#toggle) in the documentation.",
"type": [
"string",
"boolean"
Expand Down Expand Up @@ -21608,6 +21619,10 @@
}
],
"description": "Reverse x-scale by default (useful for right-to-left charts)."
},
"zero": {
"description": "Default `scale.zero` for [`continuous`](https://vega.github.io/vega-lite/docs/scale.html#continuous) scales except for (1) x/y-scales of non-ranged bar or area charts and (2) size scales.\n\n__Default value:__ `true`",
"type": "boolean"
}
},
"type": "object"
Expand Down
Binary file added examples/compiled/arc_color_mappings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/compiled/arc_color_mappings.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.