[ 
https://issues.apache.org/jira/browse/TINKERPOP-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668272#comment-15668272
 ] 

ASF GitHub Bot commented on TINKERPOP-1443:
-------------------------------------------

Github user dkuppitz commented on the issue:

    https://github.com/apache/tinkerpop/pull/494
  
    > the `ImmutablePath` method changes are internal changes
    
    I think that's the point. It would have been an internal change if the 
methods were internal, but they're public. We can assume that people never used 
it directly, but we won't know. Maybe someone out there added a TinkerPop 
dependency in his project, because he liked the `ImmutablePath` implementation, 
but nothing else (you know, like "let's add Apache Commons, they have a nice 
method in `StringUtils`").
    
    Hence, if we need to touch public method in a public class: deprecate them 
and remove/change them in the next major release.


> Use an API checker during build
> -------------------------------
>
>                 Key: TINKERPOP-1443
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1443
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: build-release
>    Affects Versions: 3.2.2
>            Reporter: Lukas Krejci
>
> Tinkerpop 3.2.2 changed the signature of the method 
> {{GraphTraversal.hasLabel}} from {{(String...)}} to {{(String, String...)}}. 
> While this is certainly an improvement, it is both source and binary 
> incompatible change.
> I.e. even if every usage of {{hasLabel}} had at least one parameter in the 
> user code, none of those calls will work until all the user code is 
> recompiled using Tinkerpop 3.2.2.
> I don't know the versioning policy of Tinkerpop but changes like the above in 
> a micro/patch release are generally unexpected.
> Please consider API checkers like http://revapi.org to warn about such 
> incompatible API changes...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to