Skip to content

Conversation

anajavi
Copy link
Collaborator

@anajavi anajavi commented Nov 29, 2024

Add highcharts v12 as peer dependency

One breaking change on highcharts side: modules run themselves instead of providing function to run.
For example:

import 'highcharts/modules/accessibility';

The change does not need changes to the library, so I think we can release this as is. So maybe a release after merge?

@anajavi anajavi requested a review from whawker November 29, 2024 15:01
@whawker
Copy link
Owner

whawker commented Nov 29, 2024

Might need to update the warning output in utils/warnings.js.

Maybe it just outputs that "this line is not required in High charts 12 and above"?

@anajavi
Copy link
Collaborator Author

anajavi commented Nov 29, 2024

Might need to update the warning output in utils/warnings.js.

Maybe it just outputs that "this line is not required in High charts 12 and above"?

I prepended the warning with '// For highcharts below version 12:' in 97b68aa
Is that alright?

@whawker
Copy link
Owner

whawker commented Dec 2, 2024

Whoops, sorry thought I'd replied. Yep that change is great

@anajavi
Copy link
Collaborator Author

anajavi commented Dec 3, 2024

Whoops, sorry thought I'd replied. Yep that change is great

Should we merge and release?

Copy link
Owner

@whawker whawker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@anajavi anajavi merged commit d713eea into master Dec 4, 2024
1 check passed
@anajavi anajavi deleted the feat/support/highcharts12 branch December 4, 2024 10:32
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