Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Semver: Can a function be removed without a major version bump?

When using semantic versioning, can a function be removed from a project without a major version bump if that function isn't intended to be part of the public API?

Ref: http://semver.org/

like image 738
henrywright Avatar asked Nov 29 '25 16:11

henrywright


1 Answers

Major version increment comes when you make incompatible API changes. If your function do not affect the API, then you shouldn't go for it.

like image 116
Sachith.Wanni Avatar answered Dec 04 '25 01:12

Sachith.Wanni