-
Notifications
You must be signed in to change notification settings - Fork 224
Version Packages #2004
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
Merged
Merged
Version Packages #2004
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5b63367 to
e2fa4bf
Compare
8de4d8a to
8d0cf30
Compare
2e3f38b to
e4c7314
Compare
e4c7314 to
59216ff
Compare
wang1212
added a commit
that referenced
this pull request
Oct 13, 2025
* feat(benchmark): Add performance test suite and analysis panel (#1987) * fix: docs dead links (#1984) * fix: docs dead links * fix: add /en prefix to english docs * feat: upgrade chrome extension to manifest v3 and react to v18 - Upgrade manifest version from v2 to v3 with updated permissions format - Migrate background scripts to service worker - Update content_security_policy and web_accessible_resources format - Replace browser_action with action - Upgrade react and react-dom from v16 to v18 in g-devtool - Update devtool UI to support React 18 createRoot API - Maintain backward compatibility with legacy versions - Update minimum chrome version requirement to 88 * feat: add GitHub workflow for bug report reproduction check - Add new GitHub Actions workflow 'bug-report-reproduction-check' - Automatically analyze new bug reports for reproduction steps - Use Mistral AI to check for complete reproduction information - Add friendly comment when reproduction details are missing - Only trigger for issues labeled as 'bug' - Add necessary permissions for issues and models access * feat: add benchmark suite for rendering performance comparison - Add benchmark infrastructure with TestCase and TestRunner base classes - Implement test cases for basic shapes (circle, rect, path, etc.) across multiple renderers - Support g-canvas, g-canvas-v4 and zrender rendering engines - Add UI components for test execution and result visualization - Include i18n support with Chinese and English translations - Set up build configuration with Vite and TypeScript * feat(benchmark): add collapsible insight panel in PerformanceChart - Add state to track insight panel expansion - Implement collapsible UI with smooth animations - Improve styling and layout of insight panel - Add expand/collapse toggle functionality - Enhance user experience with better visual feedback * chore(benchmark): add performance test results for basic shapes Add benchmark results for basic shapes rendering comparison between different engines including g-canvas and zrender. The results include execution duration and memory usage metrics. * feat(benchmark): enhance i18n support for failure rate display - Add new translation key 'highestFailureRate' for displaying failure rate in both English and Chinese - Refactor failure rate display to use i18n template - Improve code formatting in PerformanceChart component - Fix whitespace and indentation issues in TestRunner * chore: remove other file * feat: Add native pan and zoom demo (#1994) * feat: add native pan and zoom demo Adds a new demo under `__tests__/demos/camera/` that showcases how to implement panning and zooming on the canvas using native DOM events. This is in response to the user request to add such a demo. An issue in the execution environment prevented the test suite from being run. A `commitlint` hook blocked all commands, including `pnpm test`. The changes are submitted without test verification due to this environmental constraint. * fix: use getContextService for container access in nativePanZoom demo --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: wang1212 <mrwang1212@126.com> * feat: add script to fetch and display npm download stats for monorepo packages * chore: update test config and TypeScript settings - Add JSDoc link to jest.unit.config.js - Fix module name mapper path in jest.unit.config.js - Expand coverage collection to more packages - Update coverage reporters - Move isolatedModules to tsconfig.json * fix: fix loop index in tapable (#2003) * fix: fix loop index in SyncWaterfallHook and AsyncSeriesWaterfallHook - Fix loop index in SyncWaterfallHook to start from 1 instead of 0 since the first callback is already called - Apply the same fix to AsyncSeriesWaterfallHook for consistency - Add comprehensive unit tests for all tapable hook types * chore: fix code style * chore: fix code lint issue * chore: add changeset * Add basic shape benchmark cases for g-canvas-local engine (#2030) * test: Add basic shape benchmark cases for g-canvas-local engine * test: Add basic shape benchmark cases for g-canvas-local engine * Update benchmark/src/benchmarks/g-canvas-local/engine.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * feat(text): add text-decoration support for text elements (#2035) * feat(text): add text-decoration support for text elements * docs: update text decoration info * docs: fix typos * perf: element event batch triggering (#2005) * perf: element event batch triggering * chore: update test snapshot * chore: use Array.from to convert iterator for compatibility * chore: add changeset * Update __tests__/demos/perf/custom-event.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * perf: remove rBush logic from element picking mechanism (#2031) * perf: remove rBush logic from element picking mechanism * chore: fix lint error * chore: add changeset * chore: update test case * fix: the element picking range includes the element border * chore(release): bump version (#2004) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * perf(g-plugin-canvas-renderer): improve wavy text decoration with quadratic curves * Update __tests__/demos/event/hit-test.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release, this PR will be updated.
Releases
@antv/g-lite@2.4.0
Minor Changes
Patch Changes
@antv/g-plugin-a11y@1.2.0
Minor Changes
Patch Changes
@antv/g-plugin-canvas-picker@2.2.0
Minor Changes
Patch Changes
@antv/g-plugin-canvas-renderer@2.4.0
Minor Changes
Patch Changes
@antv/g-plugin-canvaskit-renderer@2.2.0
Minor Changes
Patch Changes
@antv/g-plugin-device-renderer@2.4.0
Minor Changes
Patch Changes
@antv/g-plugin-html-renderer@2.2.0
Minor Changes
Patch Changes
@antv/g-plugin-image-loader@2.2.0
Minor Changes
Patch Changes
@antv/g-plugin-svg-renderer@2.3.0
Minor Changes
Patch Changes
@antv/g-plugin-yoga@2.1.0
Minor Changes
Patch Changes
@antv/g@6.1.29
Patch Changes
@antv/g-camera-api@2.0.42
Patch Changes
@antv/g-canvas@2.0.49
Patch Changes
@antv/g-canvaskit@1.0.48
Patch Changes
@antv/g-components@2.0.39
Patch Changes
@antv/g-dom-mutation-observer-api@2.0.39
Patch Changes
@antv/g-gesture@3.0.39
Patch Changes
@antv/g-image-exporter@1.0.39
Patch Changes
@antv/g-lottie-player@1.0.39
Patch Changes
@antv/g-mobile-canvas@1.0.46
Patch Changes
@antv/g-mobile-canvas-element@1.0.39
Patch Changes
@antv/g-mobile-svg@1.0.43
Patch Changes
@antv/g-mobile-webgl@1.0.53
Patch Changes
@antv/g-pattern@2.0.39
Patch Changes
@antv/g-plugin-3d@2.0.51
Patch Changes
@antv/g-plugin-annotation@1.0.39
Patch Changes
@antv/g-plugin-box2d@2.0.40
Patch Changes
@antv/g-plugin-canvas-path-generator@2.1.23
Patch Changes
@antv/g-plugin-control@2.0.39
Patch Changes
@antv/g-plugin-css-select@2.0.39
Patch Changes
@antv/g-plugin-dom-interaction@2.1.28
Patch Changes
@antv/g-plugin-dragndrop@2.0.39
Patch Changes
@antv/g-plugin-gesture@2.0.39
Patch Changes
@antv/g-plugin-matterjs@2.0.39
Patch Changes
@antv/g-plugin-mobile-interaction@1.0.39
Patch Changes
@antv/g-plugin-physx@2.0.39
Patch Changes
@antv/g-plugin-rough-canvas-renderer@2.0.49
Patch Changes
@antv/g-plugin-rough-svg-renderer@2.0.44
Patch Changes
@antv/g-plugin-svg-picker@2.0.43
Patch Changes
@antv/g-plugin-zdog-canvas-renderer@2.0.48
Patch Changes
@antv/g-plugin-zdog-svg-renderer@2.0.43
Patch Changes
@antv/g-svg@2.0.43
Patch Changes
@antv/g-web-animations-api@2.1.29
Patch Changes
@antv/g-web-components@2.0.55
Patch Changes
@antv/g-webgl@2.0.53
Patch Changes
@antv/g-webgpu@2.0.53
Patch Changes
@antv/react-g@2.0.45
Patch Changes