Skip to content

Commit

Permalink
Release (#1432)
Browse files Browse the repository at this point in the history
* fix: split a path containing multiple segments into subpaths (#1430)

* fix: split a path containing multiple segments into subpaths #1429

* chore: commit changeset

* fix: enable FXAA postprocessing pass to apply anti-alias #884

* fix: retrieve runtime from context instead of global

* chore: commit changeset

* chore(release): bump version (#1431)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 26, 2023
1 parent 5b50530 commit 9529a7e
Show file tree
Hide file tree
Showing 170 changed files with 1,458 additions and 619 deletions.
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/circle.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/cube.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const weatherDataset = require('../../data/weather.json');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const weatherDataset = require('../../data/weather.json');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const weatherDataset = require('../../data/weather.json');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/image.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/line.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/marker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/path.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/rect.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/__node__tests__/webgl/snapshots/text.png
Loading
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 __tests__/integration/__node__tests__/webgl/sphere.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
1 change: 1 addition & 0 deletions __tests__/integration/__node__tests__/webgl/text.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { createPNGFromRawdata, sleep, diff } = require('../../util');
// create a renderer, unregister plugin relative to DOM
const renderer = new Renderer({
targets: ['webgl1'],
enableFXAA: false,
});
const domInteractionPlugin = renderer.getPlugin('dom-interaction');
renderer.unregisterPlugin(domInteractionPlugin);
Expand Down
4 changes: 2 additions & 2 deletions __tests__/unit/css/parser/path.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ describe('Property Path', () => {

expect(left).toStrictEqual([
['M', 0, 0],
['C', 50, 0, 68.75, 0, 100, 0],
['C', 50, 0, 100, 0, 100, 0],
]);
expect(right).toStrictEqual([
['M', 0, 0],
['C', 100, 0, 137.5, 0, 200, 0],
['C', 100, 0, 200, 0, 200, 0],
]);

mergePaths(path1, path2);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"jest-environment-jsdom": "^26.6.2"
},
"devDependencies": {
"@antv/util": "^3.3.1",
"@antv/util": "^3.3.4",
"@commitlint/cli": "^8.3.6",
"@commitlint/config-angular": "^9.1.2",
"@changesets/cli": "^2.26.2",
Expand Down
10 changes: 10 additions & 0 deletions packages/g-camera-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @antv/g-camera-api

## 1.2.7

### Patch Changes

- 70aa0b32: Retrieve runtime from context instead of global.
- 789bd4c9: Split a path containing multiple segments into subpaths.
- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-lite@1.2.7

## 1.2.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/g-camera-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-camera-api",
"version": "1.2.6",
"version": "1.2.7",
"description": "A simple implementation of Camera API.",
"keywords": [
"antv",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@antv/g-lite": "workspace:*",
"@antv/util": "^3.3.1",
"@antv/util": "^3.3.4",
"gl-matrix": "^3.4.3",
"tslib": "^2.5.3"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/g-canvas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @antv/g-canvas

## 1.11.7

### Patch Changes

- 70aa0b32: Retrieve runtime from context instead of global.
- 789bd4c9: Split a path containing multiple segments into subpaths.
- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-plugin-canvas-path-generator@1.3.7
- @antv/g-plugin-canvas-renderer@1.9.7
- @antv/g-plugin-canvas-picker@1.10.7
- @antv/g-plugin-html-renderer@1.9.7
- @antv/g-plugin-image-loader@1.3.7
- @antv/g-lite@1.2.7
- @antv/g-plugin-dom-interaction@1.9.7

## 1.11.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/g-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvas",
"version": "1.11.6",
"version": "1.11.7",
"description": "A renderer implemented by Canvas 2D API",
"keywords": [
"antv",
Expand Down Expand Up @@ -48,7 +48,7 @@
"@antv/g-plugin-dom-interaction": "workspace:*",
"@antv/g-plugin-html-renderer": "workspace:*",
"@antv/g-plugin-image-loader": "workspace:*",
"@antv/util": "^3.3.1",
"@antv/util": "^3.3.4",
"tslib": "^2.5.3"
},
"devDependencies": {
Expand Down
16 changes: 16 additions & 0 deletions packages/g-canvaskit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @antv/g-canvaskit

## 0.10.7

### Patch Changes

- 70aa0b32: Retrieve runtime from context instead of global.
- 789bd4c9: Split a path containing multiple segments into subpaths.
- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-plugin-canvas-path-generator@1.3.7
- @antv/g-plugin-canvaskit-renderer@1.3.7
- @antv/g-plugin-canvas-picker@1.10.7
- @antv/g-plugin-html-renderer@1.9.7
- @antv/g-plugin-image-loader@1.3.7
- @antv/g-lite@1.2.7
- @antv/g-plugin-dom-interaction@1.9.7

## 0.10.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/g-canvaskit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvaskit",
"version": "0.10.6",
"version": "0.10.7",
"description": "A renderer implemented by CanvasKit",
"keywords": [
"antv",
Expand Down Expand Up @@ -48,7 +48,7 @@
"@antv/g-plugin-dom-interaction": "workspace:*",
"@antv/g-plugin-html-renderer": "workspace:*",
"@antv/g-plugin-image-loader": "workspace:*",
"@antv/util": "^3.3.1",
"@antv/util": "^3.3.4",
"canvaskit-wasm": "^0.34.0",
"tslib": "^2.5.3"
},
Expand Down
10 changes: 10 additions & 0 deletions packages/g-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @antv/g-components

## 1.9.7

### Patch Changes

- 70aa0b32: Retrieve runtime from context instead of global.
- 789bd4c9: Split a path containing multiple segments into subpaths.
- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-lite@1.2.7

## 1.9.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/g-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-components",
"version": "1.9.6",
"version": "1.9.7",
"description": "Components for g",
"keywords": [
"antv",
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@antv/g-lite": "workspace:*",
"@antv/util": "^3.3.1",
"@antv/util": "^3.3.4",
"gl-matrix": "^3.4.3",
"tslib": "^2.5.3"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/g-dom-mutation-observer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-dom-mutation-observer-api

## 1.2.7

### Patch Changes

- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-lite@1.2.7

## 1.2.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-dom-mutation-observer-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-dom-mutation-observer-api",
"version": "1.2.6",
"version": "1.2.7",
"description": "A simple implementation of DOM MutationObserver API.",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-gesture/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-gesture

## 2.2.7

### Patch Changes

- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-lite@1.2.7

## 2.2.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-gesture/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-gesture",
"version": "2.2.6",
"version": "2.2.7",
"description": "G Gesture",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-image-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-image-exporter

## 0.7.7

### Patch Changes

- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-lite@1.2.7

## 0.7.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-image-exporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-image-exporter",
"version": "0.7.6",
"version": "0.7.7",
"description": "A image exporter for G using DOM API",
"keywords": [
"antv",
Expand Down
10 changes: 10 additions & 0 deletions packages/g-lite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @antv/g-lite

## 1.2.7

### Patch Changes

- 70aa0b32: Retrieve runtime from context instead of global.
- 789bd4c9: Split a path containing multiple segments into subpaths.
- Updated dependencies [70aa0b32]
- Updated dependencies [789bd4c9]
- @antv/g-math@2.0.2

## 1.2.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/g-lite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-lite",
"version": "1.2.6",
"version": "1.2.7",
"description": "A core module for rendering engine implements DOM API.",
"keywords": [
"antv",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@antv/g-math": "workspace:*",
"@antv/util": "^3.3.1",
"@antv/util": "^3.3.4",
"d3-color": "^1.4.0",
"eventemitter3": "^5.0.1",
"gl-matrix": "^3.4.3",
Expand Down
Loading

0 comments on commit 9529a7e

Please sign in to comment.