devstark-com / vue-google-charts

Reactive Vue.js wrapper for Google Charts lib
446 stars 73 forks source link

Breaking changes on a MINOR version bump. #179

Closed MrDrummer closed 2 years ago

MrDrummer commented 2 years ago

We use this package on a Vue 2 based website.

We use Renovate to automatically bump minor and patch versions.

The 0.4.0 update does not work as a drop-in replacement for 0.3.0. We found this out the hard way.

The release notes specify breaking changes. This should have been a 1.0.0 release.

Major.Minor.Patch

vsalahkar commented 2 years ago

Made the update described in the README.mdimport { GChart } from 'vue-google-charts/legacy'

Screenshot 2022-05-17 at 12 01 52

And it breaks 🥲

Any input on this?

Thanks in advance!

thabarbados commented 2 years ago

Sorry guys. We have re-released the version as 1.0.0.

vsalahkar commented 2 years ago

Does it work for Vue 2 projects now @thabarbados?

thabarbados commented 2 years ago

@vsalahkar yes, sure. You need to import import { GChart } from "vue-google-charts/legacy". Info about this is in the docs. You can check how it works here

vsalahkar commented 2 years ago

Hey, I'm sorry but it doesn't work on my Nuxt 2 project 🫠

Screenshot 2022-06-10 at 16 01 42
jobithmb commented 1 year ago

@vsalahkar Were you able to figure out a solution for this issue ?

Veronika-dev commented 1 year ago

@jobithmb Hi, I fixed it with it import { GChart } from 'vue-google-charts/legacy/index.cjs'

Hope it helps

jobithmb commented 1 year ago

@jobithmb Hi, I fixed it with it import { GChart } from 'vue-google-charts/legacy/index.cjs'

Hope it helps

Thankyou @Veronika-dev It worked for me too. But I would like to know little more about the fix.