Giter Site home page Giter Site logo

Add Version (/version) Route about gotenberg HOT 5 CLOSED

Jaben avatar Jaben commented on May 28, 2024 1
Add Version (/version) Route

from gotenberg.

Comments (5)

stumpylog avatar stumpylog commented on May 28, 2024 1

I do think it could be useful going forward. My own rough plan currently is the next version supports Gotenberg 8 only, and to flag it as a breaking change for users of paperless, since that is about the only way I can really notify folks they will need to update.

But with a version route, it would be possible to (in the future) translate between things a little bit more while the users get updated to the newer versions.

from gotenberg.

gulien avatar gulien commented on May 28, 2024 1

Done in 2267c5b.

The route /version directly returns the version in text/plain. Please note that not all Gotenberg variants have a semver version. For instance, the demo instance will return {gotenberg_version}-live-demo-snapshot.

The gotenberg/gotenberg:edge tag should be available within ~1hour with this new feature.

from gotenberg.

gulien avatar gulien commented on May 28, 2024

Looks like itโ€™s a recurring demand from client maintainers (ping @stumpylog) ๐Ÿ˜… I still believe itโ€™s better to have a specific client version per Gotenberg version, or, a client configuration that enables compatibility with a particular Gotenberg version.

Anyway, as it seems helpful, Iโ€™ll implement it ๐Ÿ‘

from gotenberg.

Jaben avatar Jaben commented on May 28, 2024

Looks like itโ€™s a recurring demand from client maintainers (ping @stumpylog) ๐Ÿ˜… I still believe itโ€™s better to have a specific client version per Gotenberg version, or, a client configuration that enables compatibility with a particular Gotenberg version.

Anyway, as it seems helpful, Iโ€™ll implement it ๐Ÿ‘

Thank you! The version check will help with mismatched API problems that would otherwise be tough to track down.

from gotenberg.

Jaben avatar Jaben commented on May 28, 2024

Great -- thanks!

from gotenberg.

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.