Skip to content

Commit

Permalink
Release (#1706)
Browse files Browse the repository at this point in the history
* fix: use a wrapper as parent of camera (#1704)

* chore: commit changeset

* chore: update site

* chore: commit changeset

* chore: update perspective matrix in ci

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

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 May 31, 2024
1 parent 538929e commit 911f9b9
Show file tree
Hide file tree
Showing 82 changed files with 957 additions and 1,127 deletions.
2 changes: 1 addition & 1 deletion __tests__/unit/camera/camera.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ describe('Camera', () => {
-0.0020002000965178013,
0,
1,
-1,
1,
-1.0002000331878662,
1,
),
Expand Down
7 changes: 7 additions & 0 deletions packages/g-canvas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-canvas

## 2.0.7

### Patch Changes

- Updated dependencies [756ba5d3]
- @antv/g-plugin-html-renderer@2.0.6

## 2.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvas",
"version": "2.0.6",
"version": "2.0.7",
"description": "A renderer implemented by Canvas 2D API",
"keywords": [
"antv",
Expand Down
9 changes: 9 additions & 0 deletions packages/g-canvaskit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @antv/g-canvaskit

## 1.0.7

### Patch Changes

- Updated dependencies [756ba5d3]
- Updated dependencies [756ba5d3]
- @antv/g-plugin-html-renderer@2.0.6
- @antv/g-plugin-canvaskit-renderer@2.0.6

## 1.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-canvaskit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvaskit",
"version": "1.0.6",
"version": "1.0.7",
"description": "A renderer implemented by CanvasKit",
"keywords": [
"antv",
Expand Down
7 changes: 7 additions & 0 deletions packages/g-mobile-webgl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-mobile-webgl

## 1.0.10

### Patch Changes

- Updated dependencies [756ba5d3]
- @antv/g-plugin-html-renderer@2.0.6

## 1.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-mobile-webgl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-mobile-webgl",
"version": "1.0.9",
"version": "1.0.10",
"description": "A renderer implemented by WebGL1/2 in mobile environment",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-canvaskit-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-canvaskit-renderer

## 2.0.6

### Patch Changes

- 756ba5d3: Update deps.

## 2.0.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-canvaskit-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-canvaskit-renderer",
"version": "2.0.5",
"version": "2.0.6",
"description": "A G plugin of renderer implementation with CanvasKit",
"keywords": [
"antv",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ export class CanvaskitRendererPlugin implements RenderingPlugin {
fill,
stroke,
lineWidth,
lineCap,
lineJoin,
lineCap = 'butt',
lineJoin = 'miter',
lineDash,
lineDashOffset,
miterLimit,
Expand Down Expand Up @@ -633,18 +633,21 @@ export class CanvaskitRendererPlugin implements RenderingPlugin {
}

strokePaint.setStrokeWidth(lineWidth);

const STROKE_CAP_MAP = {
butt: CanvasKit.StrokeCap.Butt,
round: CanvasKit.StrokeCap.Round,
square: CanvasKit.StrokeCap.Square,
};
strokePaint.setStrokeCap(STROKE_CAP_MAP[lineCap]);

const STROKE_JOIN_MAP = {
bevel: CanvasKit.StrokeJoin.Bevel,
round: CanvasKit.StrokeJoin.Round,
miter: CanvasKit.StrokeJoin.Miter,
};
strokePaint.setStrokeJoin(STROKE_JOIN_MAP[lineJoin]);

if (!isNil(miterLimit)) {
strokePaint.setStrokeMiter(miterLimit);
}
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-html-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-html-renderer

## 2.0.6

### Patch Changes

- 756ba5d3: Use a wrapper as parent of camera in html renderer.

## 2.0.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-html-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-html-renderer",
"version": "2.0.5",
"version": "2.0.6",
"description": "A G plugin for rendering HTML",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-rough-canvas-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-rough-canvas-renderer

## 2.0.8

### Patch Changes

- @antv/g-canvas@2.0.7

## 2.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-rough-canvas-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-rough-canvas-renderer",
"version": "2.0.7",
"version": "2.0.8",
"description": "A G plugin of renderer implementation with rough.js",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-zdog-canvas-renderer

## 2.0.7

### Patch Changes

- @antv/g-canvas@2.0.7

## 2.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-zdog-canvas-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-zdog-canvas-renderer",
"version": "2.0.6",
"version": "2.0.7",
"description": "A G plugin of renderer implementation with Zdog",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-web-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-web-components

## 2.0.11

### Patch Changes

- Updated dependencies [756ba5d3]
- @antv/g-webgl@2.0.10
- @antv/g-canvas@2.0.7

## 2.0.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-web-components",
"version": "2.0.10",
"version": "2.0.11",
"description": "A declarative usage for G implemented with WebComponents",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-webgl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-webgl

## 2.0.10

### Patch Changes

- 756ba5d3: Update deps.
- Updated dependencies [756ba5d3]
- @antv/g-plugin-html-renderer@2.0.6

## 2.0.9

### Patch Changes
Expand Down
3 changes: 2 additions & 1 deletion packages/g-webgl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-webgl",
"version": "2.0.9",
"version": "2.0.10",
"description": "A renderer implemented by WebGL1/2",
"keywords": [
"antv",
Expand Down Expand Up @@ -45,6 +45,7 @@
"@antv/g-plugin-image-loader": "workspace:*",
"@antv/util": "^3.3.5",
"@antv/g-device-api": "^1.6.10",
"gl-matrix": "^3.4.3",
"tslib": "^2.5.3"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/g-webgpu/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-webgpu

## 2.0.10

### Patch Changes

- Updated dependencies [756ba5d3]
- @antv/g-plugin-html-renderer@2.0.6

## 2.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-webgpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-webgpu",
"version": "2.0.9",
"version": "2.0.10",
"description": "A renderer implemented by WebGPU",
"keywords": [
"antv",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 911f9b9

Please sign in to comment.