Giter VIP home page Giter VIP logo

Comments (4)

eli-darkly avatar eli-darkly commented on May 20, 2024 1

That method was meant to be package-private - it is an implementation detail - and changing package-private methods is not considered a breaking change. However, it was for some reason declared with protected scope instead. That was certainly a mistake; but in normal usage of the SDK no one would be subclassing User, so application code would never be referencing this method. Could you clarify whether this was in fact a breaking change for your code?

To reiterate, this was a mistake on our part; our policy, as indicated in all of our changelogs, is to adhere to semver even in the case of a method that had been exposed unintentionally. But since we cannot unrelease the 4.9.0 release and, as mentioned, it is hard to imagine this actually affecting application code, I think the best course would be to simply acknowledge the error and move on.

from java-server-sdk.

bwoskow-ld avatar bwoskow-ld commented on May 20, 2024

Hi @marcosscriven,

@eli-darkly beat me to it in responding to your message. I wanted to add a couple items:

  1. I agree with Eli that the best course of action at this point is to acknowledge the error and move on. 4.9.0 was released over two months ago and as such, reverting the breaking change would in turn be a breaking change for anyone already using this version or a newer version.
  2. On the topic of generally attempting to follow semantic versioning guidelines -- you can read our SDK versioning policy to learn more about how we version our SDKs. This document helps define how we handle some of the ambiguities in the semantic versioning guidelines.

Cheers,
Ben

from java-server-sdk.

marcosscriven avatar marcosscriven commented on May 20, 2024

Hi @bwoskow-ld and @eli-darkly

Thanks for the prompt and helpful responses. This did indeed break a single line of our code, but only at compile time so not a big issue.

It did also happen to break a few tests as the API key in config is now null checked.

Both easily fixed - it just means busy work for an otherwise fully automated process.

from java-server-sdk.

bwoskow-ld avatar bwoskow-ld commented on May 20, 2024

I'm glad it was easy to work around. Our apologies for the slight inconvenience!

from java-server-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.