cms icon indicating copy to clipboard operation
cms copied to clipboard

Upgrade d3

Open timkelty opened this issue 2 years ago • 4 comments

timkelty avatar May 04 '22 18:05 timkelty

Is there a chance that this will get accepted and a more recent version of d3 will be included with Craft? I have a plugin idea that requires d3 ^6.6.1, which conflicts with the current version that ships with Craft (4.13.0). To get it to work, I have to render on a page outside of the Craft CP, whereas I would love to be able to get it to work in a CP page. Alternatively, is there a way of forcing a newer version of d3 to load on a specific CP page?

steverowling avatar Aug 17 '22 07:08 steverowling

@steverowling It would be a breaking change so will happen for Craft 5 instead.

brandonkelly avatar Aug 17 '22 20:08 brandonkelly

@timkelty May be the fault of my merge commit but I’m getting d3 is not defined JS errors on this branch.

brandonkelly avatar Aug 19 '22 21:08 brandonkelly

@brandonkelly not seeing any errors in my console 🤔

FWIW - d3 shouldn't be defined (globally at least) since we're just including as a proper module in this branch.

timkelty avatar Sep 08 '22 09:09 timkelty

Closed in favor of #14124

timkelty avatar Jan 12 '24 16:01 timkelty