scooter icon indicating copy to clipboard operation
scooter copied to clipboard

Minor version upgrade is a breaking change

Open jmaslin opened this issue 8 years ago • 16 comments

The recent update 4.0.1 added a dependency for Hapi >=17.7.0 and updated the plugin format.

This is a breaking change for projects that are not on Hapi 17 yet because the changes are not backwards compatible.

jmaslin avatar Nov 29 '18 03:11 jmaslin

It seems the 4.0 release was wrong, the breaking change should have happened there. It is not tagged in the git tree and I can't find a commit matching what I see in the tgz. What happened there @danielb2 ?

Marsup avatar Nov 29 '18 06:11 Marsup

I updated peer dependencies using the format we've been using: https://github.com/hapijs/scooter/pull/37

Did I miss plugin requirements with that release?

The 4.0.1 release has requirements for 17.7 ( https://github.com/hapijs/scooter/issues/39 )

danielb2 avatar Nov 29 '18 22:11 danielb2

Well, now you point at #37, the last comment on it also mentions there's something wrong with it. 4.0.0 is a 3.something, just look at the content of the tgz.

Marsup avatar Nov 29 '18 23:11 Marsup

Hm. I'm not sure what happened and it's been 2+ years since that release. How about a 4.0.2 release to fix the issue @jmaslin is seeing now, and a 5.0 release for the breaking change ?

danielb2 avatar Nov 29 '18 23:11 danielb2

@hueniverse are you using that 4.0.1 somewhere? We could unpublish 4.0.1 and roll out a 5.0 indeed.

Marsup avatar Nov 30 '18 09:11 Marsup

I don't use this plugin.

hueniverse avatar Nov 30 '18 18:11 hueniverse

@Marsup OK, then we can unpublish 4.0.1 after publishing this one

danielb2 avatar Nov 30 '18 23:11 danielb2

@marsup

danielb2 avatar Dec 05 '18 22:12 danielb2

What are you expecting from me?

Marsup avatar Dec 06 '18 07:12 Marsup

@danielb2 you are the lead maintainer. What help do you need to resolve this?

hueniverse avatar Dec 15 '18 01:12 hueniverse

Sorry for the delay. Since it's not possible to unpublish (only deprecate), @jmaslin should use 4.0.0 unless he is on hapi 17. The other option is to email [email protected] and ask them to unpublish 4.0.1

The reason there was a discrepancy of the latest version was because somehow I had published a version 5.0.0 already. It's not clear why it's not in github or why it didn't get published there.

As such, for the changes made in 4.0.1, those should be in 5.0.1

CC: @hueniverse

danielb2 avatar Dec 15 '18 01:12 danielb2

see https://github.com/hapijs/scooter/pull/43

danielb2 avatar Dec 15 '18 01:12 danielb2

You can always depreciate 4.0.1 and publish a 4.0.2 that's identical to 4.0.0.

Marsup avatar Dec 15 '18 07:12 Marsup

That's the best approach. Publish 4.0.2 with a copy of 4.0.0 and then 5.0.1 with the 4.0.1 change.

hueniverse avatar Dec 15 '18 07:12 hueniverse

done

danielb2 avatar Dec 15 '18 16:12 danielb2

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

lock[bot] avatar Jan 09 '20 00:01 lock[bot]