Giter Site home page Giter Site logo

Comments (9)

jimaek avatar jimaek commented on May 24, 2024

@bebraw What do you think?
@tomByrer jsdelivr is not redundant, we plan making api.jsdelivr.com a one stop API for all public CDNs out there.
http://api.jsdelivr.com/v1/jsdelivr
http://api.jsdelivr.com/v1/osscdn
...

Thanks for the feedback :)

from api.

tomByrer avatar tomByrer commented on May 24, 2024

Oh, awesome. Thought of doing the same with a JavaScript... let me dig up bookmarks.
edited above.

from api.

tomByrer avatar tomByrer commented on May 24, 2024
http://api.jsdelivr.com/v1/jsdelivr
http://api.jsdelivr.com/v1/osscdn

Are these v1 of the master API, or v1 of jsdelivr's API & v1 of of osscdn's API?

from api.

jimaek avatar jimaek commented on May 24, 2024

v1 of the master API. I dont think it makes sense to version each API separately. Anyway, @bebraw is the one to decide since its his project :)

from api.

bebraw avatar bebraw commented on May 24, 2024

Let's keep it simple for now. Ie. implement all the features we can think of now for v1 and if something comes up, worry about semver then. Introducing it right now wouldn't provide much value as the API doesn't have any users.

I would suggest we leave this issue open, though. But for now I would like to focus on actual use cases for the API and make v1 as nice as possible. I think maintaining multiple versions could easily become a nightmare so we had better do our homework now before things get too much out of hand.

from api.

tomByrer avatar tomByrer commented on May 24, 2024

maintaining multiple versions

Oh sorry, I assumed you were NOT going to maintain old versions, but bump the version when you make API changes / critical debugs. So:

http://api.jsdelivr.com/v1.0.0/jsdelivr  //release
http://api.jsdelivr.com/v1.0.1/jsdelivr  //first minor bug fix
http://api.jsdelivr.com/v1.1.0/jsdelivr  //API changed

Or do you mean you are not going to host old versions?

from api.

bebraw avatar bebraw commented on May 24, 2024

If we want to keep it very simple, we'll make non-destructive changes (ie. new fields and such are ok) on v1. If the schema structure changes in a drastic manner breaking backwards compatibility, we'll bump the number (ie. v2, v3, ...). I don't know if it needs to be more complicated than that.

And yeah, hosting the old versions would be ideal. But let's not overengineer this yet. :)

from api.

tomByrer avatar tomByrer commented on May 24, 2024

Understood, cheers!

from api.

bebraw avatar bebraw commented on May 24, 2024

I'm closing this as we came up with a convention to use.

To recap, non-destructive changes will be implemented for old versions. In case bigger changes are made, that warrants a whole new version (like the upcoming v2).

from api.

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.