Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
API Breaking Change in Minor Release: `Route.Handler` -> `Route.Name`? #994
Please use forum https://forum.labstack.com to ask questions!
In 3.2.2, the Route struct was changed to have a
No API breaking changed in minor releases.
API breaking changes in a minor release.
Steps to reproduce
Pin Echo to a SemVer range 3.2.x and see API breaking behavior within hours of a new release in which this change was pulled by our build servers.
This change happened in commit
@vishr I think this is more of a process thing than anything else. For example, the documentation for Listing Routes is now incorrect. Going forward, (and what I have done in the past) is to have a suite of tests aimed at verifying API compatibility of exposed structs and values. It is so easy to make a change that is completely innocuous, but actually breaks users (such as this one ;-)
Also, documenting changes would help. Is
Also, SemVer is hard ;-)
@splittingfield Here is the complete discussion https://forum.labstack.com/t/named-routes-for-use-in-templates/241
@skyflyer might be able to talk more about it.
I will check on documentation mismatch.