Skip to content

Conversation

@wang1212
Copy link
Member

@wang1212 wang1212 commented Nov 25, 2025

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

The overly fine-grained splitting of sub-packages has increased maintenance costs. Therefore, we address this issue by consolidating the necessary plugin sub-packages into the g / g-lite packages.

Merge into @antv/g:

  • @antv/g-camera-api
  • @antv/g-web-animations-api
  • @antv/g-image-exporter
  • @antv/g-pattern
  • @antv/g-components

Merge into @antv/g-lite:

  • @antv/g-dom-mutation-observer-api
  • @antv/g-plugin-image-loader
  • @antv/g-plugin-html-renderer
  • @antv/g-plugin-dom-interaction
  • @antv/g-plugin-mobile-interaction

Merge into @antv/g-canvas:

  • @antv/g-plugin-canvas-path-generator
  • @antv/g-plugin-canvas-picker
  • @antv/g-plugin-canvas-renderer

Merge into @antv/g-svg:

  • @antv/g-plugin-svg-picker
  • @antv/g-plugin-svg-renderer

Merge into @antv/g-canvaskit:

  • @antv/g-plugin-canvaskit-renderer

Merge into @antv/g-mobile-canvas:

  • @antv/g-mobile-canvas-element

Deleted packages (that are no longer maintained and have almost no downloads):

  • @antv/g-layout-blocklike
  • @antv/g-css-typed-om-api
  • @antv/g-css-layout-api
  • @antv/g-gesture => @antv/g-plugin-gesture

📝 Changelog

Language Changelog
🇺🇸 English refactor: sub-package governance
🇨🇳 Chinese refactor: 子包治理

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@changeset-bot
Copy link

changeset-bot bot commented Nov 25, 2025

🦋 Changeset detected

Latest commit: a64b046

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@antv/g-plugin-rough-canvas-renderer Minor
@antv/g-plugin-zdog-canvas-renderer Minor
@antv/g-plugin-rough-svg-renderer Minor
@antv/g-plugin-zdog-svg-renderer Minor
@antv/g-plugin-device-renderer Minor
@antv/g-plugin-annotation Minor
@antv/g-plugin-css-select Minor
@antv/g-plugin-dragndrop Minor
@antv/g-plugin-matterjs Minor
@antv/g-plugin-control Minor
@antv/g-plugin-gesture Minor
@antv/g-web-components Minor
@antv/g-lottie-player Minor
@antv/g-mobile-canvas Minor
@antv/g-mobile-webgl Minor
@antv/g-plugin-box2d Minor
@antv/g-plugin-physx Minor
@antv/g-plugin-a11y Minor
@antv/g-plugin-yoga Minor
@antv/g-mobile-svg Minor
@antv/g-canvaskit Minor
@antv/g-plugin-3d Minor
@antv/g-canvas Minor
@antv/g-webgpu Minor
@antv/g-webgl Minor
@antv/react-g Minor
@antv/g-lite Minor
@antv/g-math Minor
@antv/g-svg Minor
@antv/g Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wang1212 wang1212 force-pushed the refactor/sub-package-governance branch from 9af2f65 to aa37c23 Compare December 10, 2025 03:29
Base automatically changed from release to master December 10, 2025 08:41
@wang1212 wang1212 changed the base branch from master to release December 10, 2025 08:58
@wang1212 wang1212 force-pushed the refactor/sub-package-governance branch from 50abbe3 to af6d64b Compare December 10, 2025 09:31
Base automatically changed from release to master December 12, 2025 03:28
@wang1212 wang1212 force-pushed the refactor/sub-package-governance branch from 741a084 to 097ecf0 Compare December 12, 2025 03:47
@wang1212 wang1212 marked this pull request as ready for review December 19, 2025 12:28
@wang1212 wang1212 changed the base branch from master to release December 19, 2025 13:31
@wang1212 wang1212 merged commit bff80a8 into release Dec 19, 2025
4 checks passed
@wang1212 wang1212 deleted the refactor/sub-package-governance branch December 19, 2025 13:34
wang1212 added a commit that referenced this pull request Dec 22, 2025
* refactor: sub-package governance (#2094)

* refactor: sub-package governance

* refactor: type error

* refactor: merge @antv/g-plugin-canvas-path-generator into @antv/g-canvas

* chore: remove legacy code

* chore: fix build error

* refactor: merge @antv/g-plugin-canvas-picker into @antv/g-canvas

* refactor: merge @antv/g-plugin-image-loader into @antv/g-lite

* refactor: merge @antv/g-plugin-html-renderer into @antv/g-lite

* refactor: merge @antv/g-plugin-dom-interaction into @antv/g-lite

* refactor: merge @antv/g-plugin-canvas-renderer into @antv/g-canvas

* refactor: merge @antv/g-plugin-svg-picker into @antv/g-svg

* refactor: merge @antv/g-plugin-svg-renderer into @antv/g-svg

* refactor: merge @antv/g-plugin-mobile-interaction into @antv/g-lite

* refactor: remove package @antv/g-layout-blocklike

* refactor: remove package @antv/g-css-typed-om-api

* refactor: remove package @antv/g-css-layout-api

* refactor: merge @antv/g-plugin-canvaskit-renderer into @antv/g-canvaskit

* refactor: merge @antv/g-image-exporter into @antv/g

* refactor: merge @antv/g-mobile-canvas-element into @antv/g-mobile-canvas

* refactor: remove package @antv/g-gesture

* refactor: merge @antv/g-pattern into @antv/g

* refactor: merge @antv/g-components into @antv/g

* chore: update docs

* chore: add changeset

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

Co-authored-by: github-actions[bot] <41898282+github-actions[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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants